Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: webrtc/modules/video_coding/BUILD.gn

Issue 2717113002: Refactor + enable GN check on video_coding_utility (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "rtp_frame_reference_finder.cc", 64 "rtp_frame_reference_finder.cc",
65 "rtp_frame_reference_finder.h", 65 "rtp_frame_reference_finder.h",
66 "rtt_filter.cc", 66 "rtt_filter.cc",
67 "rtt_filter.h", 67 "rtt_filter.h",
68 "session_info.cc", 68 "session_info.cc",
69 "session_info.h", 69 "session_info.h",
70 "timestamp_map.cc", 70 "timestamp_map.cc",
71 "timestamp_map.h", 71 "timestamp_map.h",
72 "timing.cc", 72 "timing.cc",
73 "timing.h", 73 "timing.h",
74 "utility/qp_parser.cc",
brandtr 2017/03/08 10:37:14 Move to ..?
kjellander_webrtc 2017/03/08 11:16:18 Done.
75 "utility/qp_parser.h",
74 "video_codec_initializer.cc", 76 "video_codec_initializer.cc",
75 "video_coding_impl.cc", 77 "video_coding_impl.cc",
76 "video_coding_impl.h", 78 "video_coding_impl.h",
77 "video_receiver.cc", 79 "video_receiver.cc",
78 "video_sender.cc", 80 "video_sender.cc",
79 ] 81 ]
80 82
81 # TODO(jschuh): Bug 1348: fix this warning. 83 # TODO(jschuh): Bug 1348: fix this warning.
82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 84 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
83 85
(...skipping 14 matching lines...) Expand all
98 "../../base:rtc_numerics", 100 "../../base:rtc_numerics",
99 "../../base:rtc_task_queue", 101 "../../base:rtc_task_queue",
100 "../../common_video", 102 "../../common_video",
101 "../../system_wrappers", 103 "../../system_wrappers",
102 "../rtp_rtcp:rtp_rtcp", 104 "../rtp_rtcp:rtp_rtcp",
103 "../utility:utility", 105 "../utility:utility",
104 ] 106 ]
105 } 107 }
106 108
107 rtc_static_library("video_coding_utility") { 109 rtc_static_library("video_coding_utility") {
108 # TODO(ehmaldonado): Remove (bugs.webrtc.org/6828)
109 # Errors on cyclic dependency with :video_coding if enabled.
110 check_includes = false
111
112 sources = [ 110 sources = [
113 "utility/default_video_bitrate_allocator.cc", 111 "utility/default_video_bitrate_allocator.cc",
114 "utility/default_video_bitrate_allocator.h", 112 "utility/default_video_bitrate_allocator.h",
115 "utility/frame_dropper.cc", 113 "utility/frame_dropper.cc",
116 "utility/frame_dropper.h", 114 "utility/frame_dropper.h",
117 "utility/ivf_file_writer.cc", 115 "utility/ivf_file_writer.cc",
118 "utility/ivf_file_writer.h", 116 "utility/ivf_file_writer.h",
119 "utility/moving_average.cc", 117 "utility/moving_average.cc",
120 "utility/moving_average.h", 118 "utility/moving_average.h",
121 "utility/qp_parser.cc",
122 "utility/qp_parser.h",
123 "utility/quality_scaler.cc", 119 "utility/quality_scaler.cc",
124 "utility/quality_scaler.h", 120 "utility/quality_scaler.h",
125 "utility/simulcast_rate_allocator.cc",
126 "utility/simulcast_rate_allocator.h",
127 "utility/vp8_header_parser.cc", 121 "utility/vp8_header_parser.cc",
128 "utility/vp8_header_parser.h", 122 "utility/vp8_header_parser.h",
129 ] 123 ]
130 124
131 if (!build_with_chromium && is_clang) { 125 if (!build_with_chromium && is_clang) {
132 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 126 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
133 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
134 } 128 }
135 129
136 deps = [ 130 deps = [
137 "../..:webrtc_common", 131 "../..:webrtc_common",
138 "../../base:rtc_base_approved", 132 "../../base:rtc_base_approved",
139 "../../base:rtc_numerics", 133 "../../base:rtc_numerics",
134 "../../base:rtc_task_queue",
140 "../../common_video", 135 "../../common_video",
136 "../../modules/rtp_rtcp:rtp_rtcp",
141 "../../system_wrappers", 137 "../../system_wrappers",
142 ] 138 ]
143 } 139 }
144 140
145 rtc_static_library("webrtc_h264") { 141 rtc_static_library("webrtc_h264") {
146 # TODO(ehmaldonado): Remove (bugs.webrtc.org/6828) 142 # TODO(ehmaldonado): Remove (bugs.webrtc.org/6828)
147 # Errors on cyclic dependency if enabled: 143 # Errors on cyclic dependency if enabled:
148 # //webrtc/call:call -> 144 # //webrtc/call:call ->
149 # //webrtc/video:video -> 145 # //webrtc/video:video ->
150 # //webrtc/modules/video_coding:video_coding -> 146 # //webrtc/modules/video_coding:video_coding ->
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "codecs/vp8/realtime_temporal_layers.cc", 214 "codecs/vp8/realtime_temporal_layers.cc",
219 "codecs/vp8/reference_picture_selection.cc", 215 "codecs/vp8/reference_picture_selection.cc",
220 "codecs/vp8/reference_picture_selection.h", 216 "codecs/vp8/reference_picture_selection.h",
221 "codecs/vp8/screenshare_layers.cc", 217 "codecs/vp8/screenshare_layers.cc",
222 "codecs/vp8/screenshare_layers.h", 218 "codecs/vp8/screenshare_layers.h",
223 "codecs/vp8/simulcast_encoder_adapter.cc", 219 "codecs/vp8/simulcast_encoder_adapter.cc",
224 "codecs/vp8/simulcast_encoder_adapter.h", 220 "codecs/vp8/simulcast_encoder_adapter.h",
225 "codecs/vp8/temporal_layers.h", 221 "codecs/vp8/temporal_layers.h",
226 "codecs/vp8/vp8_impl.cc", 222 "codecs/vp8/vp8_impl.cc",
227 "codecs/vp8/vp8_impl.h", 223 "codecs/vp8/vp8_impl.h",
224 "utility/simulcast_rate_allocator.cc",
brandtr 2017/03/08 10:37:14 Move to codecs/vp8?
kjellander_webrtc 2017/03/08 11:16:18 Done.
225 "utility/simulcast_rate_allocator.h",
228 ] 226 ]
229 227
230 # TODO(jschuh): Bug 1348: fix this warning. 228 # TODO(jschuh): Bug 1348: fix this warning.
231 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 229 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
232 230
233 if (!build_with_chromium && is_clang) { 231 if (!build_with_chromium && is_clang) {
234 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 232 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
235 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 233 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
236 } 234 }
237 235
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 ] 323 ]
326 324
327 if (!build_with_chromium && is_clang) { 325 if (!build_with_chromium && is_clang) {
328 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 326 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
329 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 327 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
330 } 328 }
331 329
332 deps = [ 330 deps = [
333 ":video_coding", 331 ":video_coding",
334 ":video_coding_utility", 332 ":video_coding_utility",
333 ":webrtc_vp8",
335 "../..:webrtc_common", 334 "../..:webrtc_common",
336 "../../base:rtc_base_approved", 335 "../../base:rtc_base_approved",
337 "../../common_video:common_video", 336 "../../common_video:common_video",
338 "../../system_wrappers:system_wrappers", 337 "../../system_wrappers:system_wrappers",
339 "../../test:test_support", 338 "../../test:test_support",
340 "../../test:video_test_support", 339 "../../test:video_test_support",
341 ] 340 ]
342 } 341 }
343 342
344 rtc_source_set("video_coding_videoprocessor_integration_test") { 343 rtc_source_set("video_coding_videoprocessor_integration_test") {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 } 560 }
562 561
563 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 562 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
564 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 563 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
565 if (!build_with_chromium && is_clang) { 564 if (!build_with_chromium && is_clang) {
566 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 565 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
567 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 566 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
568 } 567 }
569 } 568 }
570 } 569 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698