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

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

Issue 2717113002: Refactor + enable GN check on video_coding_utility (Closed)
Patch Set: Rebased 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 "media_optimization.h", 52 "media_optimization.h",
53 "nack_fec_tables.h", 53 "nack_fec_tables.h",
54 "nack_module.cc", 54 "nack_module.cc",
55 "nack_module.h", 55 "nack_module.h",
56 "packet.cc", 56 "packet.cc",
57 "packet.h", 57 "packet.h",
58 "packet_buffer.cc", 58 "packet_buffer.cc",
59 "packet_buffer.h", 59 "packet_buffer.h",
60 "protection_bitrate_calculator.cc", 60 "protection_bitrate_calculator.cc",
61 "protection_bitrate_calculator.h", 61 "protection_bitrate_calculator.h",
62 "qp_parser.cc",
63 "qp_parser.h",
62 "receiver.cc", 64 "receiver.cc",
63 "receiver.h", 65 "receiver.h",
64 "rtp_frame_reference_finder.cc", 66 "rtp_frame_reference_finder.cc",
65 "rtp_frame_reference_finder.h", 67 "rtp_frame_reference_finder.h",
66 "rtt_filter.cc", 68 "rtt_filter.cc",
67 "rtt_filter.h", 69 "rtt_filter.h",
68 "session_info.cc", 70 "session_info.cc",
69 "session_info.h", 71 "session_info.h",
70 "timestamp_map.cc", 72 "timestamp_map.cc",
71 "timestamp_map.h", 73 "timestamp_map.h",
(...skipping 26 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 sources = [ 142 sources = [
147 "codecs/h264/h264.cc", 143 "codecs/h264/h264.cc",
148 "codecs/h264/include/h264.h", 144 "codecs/h264/include/h264.h",
149 ] 145 ]
150 146
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 "codecs/vp8/default_temporal_layers.h", 202 "codecs/vp8/default_temporal_layers.h",
207 "codecs/vp8/include/vp8.h", 203 "codecs/vp8/include/vp8.h",
208 "codecs/vp8/include/vp8_common_types.h", 204 "codecs/vp8/include/vp8_common_types.h",
209 "codecs/vp8/realtime_temporal_layers.cc", 205 "codecs/vp8/realtime_temporal_layers.cc",
210 "codecs/vp8/reference_picture_selection.cc", 206 "codecs/vp8/reference_picture_selection.cc",
211 "codecs/vp8/reference_picture_selection.h", 207 "codecs/vp8/reference_picture_selection.h",
212 "codecs/vp8/screenshare_layers.cc", 208 "codecs/vp8/screenshare_layers.cc",
213 "codecs/vp8/screenshare_layers.h", 209 "codecs/vp8/screenshare_layers.h",
214 "codecs/vp8/simulcast_encoder_adapter.cc", 210 "codecs/vp8/simulcast_encoder_adapter.cc",
215 "codecs/vp8/simulcast_encoder_adapter.h", 211 "codecs/vp8/simulcast_encoder_adapter.h",
212 "codecs/vp8/simulcast_rate_allocator.cc",
213 "codecs/vp8/simulcast_rate_allocator.h",
216 "codecs/vp8/temporal_layers.h", 214 "codecs/vp8/temporal_layers.h",
217 "codecs/vp8/vp8_impl.cc", 215 "codecs/vp8/vp8_impl.cc",
218 "codecs/vp8/vp8_impl.h", 216 "codecs/vp8/vp8_impl.h",
219 ] 217 ]
220 218
221 # TODO(jschuh): Bug 1348: fix this warning. 219 # TODO(jschuh): Bug 1348: fix this warning.
222 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 220 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
223 221
224 if (!build_with_chromium && is_clang) { 222 if (!build_with_chromium && is_clang) {
225 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 223 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 ] 316 ]
319 317
320 if (!build_with_chromium && is_clang) { 318 if (!build_with_chromium && is_clang) {
321 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 319 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
322 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 320 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
323 } 321 }
324 322
325 deps = [ 323 deps = [
326 ":video_coding", 324 ":video_coding",
327 ":video_coding_utility", 325 ":video_coding_utility",
326 ":webrtc_vp8",
328 "../..:webrtc_common", 327 "../..:webrtc_common",
329 "../../base:rtc_base_approved", 328 "../../base:rtc_base_approved",
330 "../../common_video:common_video", 329 "../../common_video:common_video",
331 "../../system_wrappers:system_wrappers", 330 "../../system_wrappers:system_wrappers",
332 "../../test:test_support", 331 "../../test:test_support",
333 "../../test:video_test_common", 332 "../../test:video_test_common",
334 "../../test:video_test_support", 333 "../../test:video_test_support",
335 ] 334 ]
336 } 335 }
337 336
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 } 557 }
559 558
560 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 559 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
561 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 560 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
562 if (!build_with_chromium && is_clang) { 561 if (!build_with_chromium && is_clang) {
563 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 562 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
564 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 563 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
565 } 564 }
566 } 565 }
567 } 566 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698