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

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

Issue 2838873002: Creating webrtc/modules:module_api (Closed)
Patch Set: fixing gn coding standards Created 3 years, 7 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 87 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
88 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 88 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
89 } 89 }
90 90
91 deps = [ 91 deps = [
92 ":video_coding_utility", 92 ":video_coding_utility",
93 ":webrtc_h264", 93 ":webrtc_h264",
94 ":webrtc_i420", 94 ":webrtc_i420",
95 ":webrtc_vp8", 95 ":webrtc_vp8",
96 ":webrtc_vp9", 96 ":webrtc_vp9",
97 "..:module_api",
97 "../..:video_stream_api", 98 "../..:video_stream_api",
98 "../..:webrtc_common", 99 "../..:webrtc_common",
99 "../../base:rtc_base", 100 "../../base:rtc_base",
100 "../../base:rtc_base_approved", 101 "../../base:rtc_base_approved",
101 "../../base:rtc_numerics", 102 "../../base:rtc_numerics",
102 "../../base:rtc_task_queue", 103 "../../base:rtc_task_queue",
103 "../../common_video", 104 "../../common_video",
104 "../../system_wrappers", 105 "../../system_wrappers",
105 "../rtp_rtcp:rtp_rtcp", 106 "../rtp_rtcp:rtp_rtcp",
106 "../utility:utility", 107 "../utility:utility",
(...skipping 15 matching lines...) Expand all
122 "utility/vp8_header_parser.cc", 123 "utility/vp8_header_parser.cc",
123 "utility/vp8_header_parser.h", 124 "utility/vp8_header_parser.h",
124 ] 125 ]
125 126
126 if (!build_with_chromium && is_clang) { 127 if (!build_with_chromium && is_clang) {
127 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 129 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
129 } 130 }
130 131
131 deps = [ 132 deps = [
133 "..:module_api",
132 "../..:webrtc_common", 134 "../..:webrtc_common",
133 "../../api/video_codecs:video_codecs_api", 135 "../../api/video_codecs:video_codecs_api",
134 "../../base:rtc_base_approved", 136 "../../base:rtc_base_approved",
135 "../../base:rtc_numerics", 137 "../../base:rtc_numerics",
136 "../../base:rtc_task_queue", 138 "../../base:rtc_task_queue",
137 "../../common_video", 139 "../../common_video",
138 "../../modules/rtp_rtcp:rtp_rtcp", 140 "../../modules/rtp_rtcp:rtp_rtcp",
139 "../../system_wrappers", 141 "../../system_wrappers",
140 ] 142 ]
141 } 143 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 # TODO(jschuh): Bug 1348: fix this warning. 220 # TODO(jschuh): Bug 1348: fix this warning.
219 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 221 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
220 222
221 if (!build_with_chromium && is_clang) { 223 if (!build_with_chromium && is_clang) {
222 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 224 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
223 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 225 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
224 } 226 }
225 227
226 deps = [ 228 deps = [
227 ":video_coding_utility", 229 ":video_coding_utility",
230 "..:module_api",
228 "../..:webrtc_common", 231 "../..:webrtc_common",
229 "../../api/video_codecs:video_codecs_api", 232 "../../api/video_codecs:video_codecs_api",
230 "../../base:rtc_base_approved", 233 "../../base:rtc_base_approved",
231 "../../common_video", 234 "../../common_video",
232 "../../system_wrappers", 235 "../../system_wrappers",
233 ] 236 ]
234 if (rtc_build_libvpx) { 237 if (rtc_build_libvpx) {
235 deps += [ rtc_libvpx_dir ] 238 deps += [ rtc_libvpx_dir ]
236 } 239 }
237 } 240 }
(...skipping 15 matching lines...) Expand all
253 ] 256 ]
254 } 257 }
255 258
256 if (!build_with_chromium && is_clang) { 259 if (!build_with_chromium && is_clang) {
257 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 260 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
258 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 261 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
259 } 262 }
260 263
261 deps = [ 264 deps = [
262 ":video_coding_utility", 265 ":video_coding_utility",
266 "..:module_api",
263 "../../base:rtc_base_approved", 267 "../../base:rtc_base_approved",
264 "../../common_video", 268 "../../common_video",
265 "../../system_wrappers", 269 "../../system_wrappers",
266 ] 270 ]
267 if (rtc_build_libvpx) { 271 if (rtc_build_libvpx) {
268 deps += [ rtc_libvpx_dir ] 272 deps += [ rtc_libvpx_dir ]
269 } 273 }
270 } 274 }
271 275
272 if (rtc_include_tests) { 276 if (rtc_include_tests) {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 if (rtc_use_h264) { 540 if (rtc_use_h264) {
537 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] 541 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ]
538 } 542 }
539 deps = [ 543 deps = [
540 ":video_codecs_test_framework", 544 ":video_codecs_test_framework",
541 ":video_coding", 545 ":video_coding",
542 ":video_coding_utility", 546 ":video_coding_utility",
543 ":webrtc_h264", 547 ":webrtc_h264",
544 ":webrtc_vp8", 548 ":webrtc_vp8",
545 ":webrtc_vp9", 549 ":webrtc_vp9",
550 "..:module_api",
546 "../..:webrtc_common", 551 "../..:webrtc_common",
547 "../../api:video_frame_api", 552 "../../api:video_frame_api",
548 "../../api/video_codecs:video_codecs_api", 553 "../../api/video_codecs:video_codecs_api",
549 "../../base:rtc_base", 554 "../../base:rtc_base",
550 "../../base:rtc_base_approved", 555 "../../base:rtc_base_approved",
551 "../../base:rtc_task_queue", 556 "../../base:rtc_task_queue",
552 "../../common_video:common_video", 557 "../../common_video:common_video",
553 "../../system_wrappers:metrics_default", 558 "../../system_wrappers:metrics_default",
554 "../../system_wrappers:system_wrappers", 559 "../../system_wrappers:system_wrappers",
555 "../../test:field_trial", 560 "../../test:field_trial",
(...skipping 14 matching lines...) Expand all
570 } 575 }
571 576
572 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 577 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
573 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 578 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
574 if (!build_with_chromium && is_clang) { 579 if (!build_with_chromium && is_clang) {
575 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 580 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
576 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 581 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
577 } 582 }
578 } 583 }
579 } 584 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698