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

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

Issue 2780943003: Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)
Patch Set: Fix lint warnings Created 3 years, 8 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "utility/vp8_header_parser.h", 122 "utility/vp8_header_parser.h",
123 ] 123 ]
124 124
125 if (!build_with_chromium && is_clang) { 125 if (!build_with_chromium && is_clang) {
126 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 126 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 127 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
128 } 128 }
129 129
130 deps = [ 130 deps = [
131 "../..:webrtc_common", 131 "../..:webrtc_common",
132 "../../api:video_decoder_api",
133 "../../api:video_encoder_api",
132 "../../base:rtc_base_approved", 134 "../../base:rtc_base_approved",
133 "../../base:rtc_numerics", 135 "../../base:rtc_numerics",
134 "../../base:rtc_task_queue", 136 "../../base:rtc_task_queue",
135 "../../common_video", 137 "../../common_video",
136 "../../modules/rtp_rtcp:rtp_rtcp", 138 "../../modules/rtp_rtcp:rtp_rtcp",
137 "../../system_wrappers", 139 "../../system_wrappers",
138 ] 140 ]
139 } 141 }
140 142
141 rtc_static_library("webrtc_h264") { 143 rtc_static_library("webrtc_h264") {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 219 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
218 220
219 if (!build_with_chromium && is_clang) { 221 if (!build_with_chromium && is_clang) {
220 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 222 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
221 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 223 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
222 } 224 }
223 225
224 deps = [ 226 deps = [
225 ":video_coding_utility", 227 ":video_coding_utility",
226 "../..:webrtc_common", 228 "../..:webrtc_common",
229 "../../api:video_encoder_api",
227 "../../base:rtc_base_approved", 230 "../../base:rtc_base_approved",
228 "../../common_video", 231 "../../common_video",
229 "../../system_wrappers", 232 "../../system_wrappers",
230 ] 233 ]
231 if (rtc_build_libvpx) { 234 if (rtc_build_libvpx) {
232 deps += [ rtc_libvpx_dir ] 235 deps += [ rtc_libvpx_dir ]
233 } 236 }
234 } 237 }
235 238
236 rtc_static_library("webrtc_vp9") { 239 rtc_static_library("webrtc_vp9") {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 if (!build_with_chromium && is_clang) { 318 if (!build_with_chromium && is_clang) {
316 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 319 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
317 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 320 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
318 } 321 }
319 322
320 deps = [ 323 deps = [
321 ":video_coding", 324 ":video_coding",
322 ":video_coding_utility", 325 ":video_coding_utility",
323 ":webrtc_vp8", 326 ":webrtc_vp8",
324 "../..:webrtc_common", 327 "../..:webrtc_common",
328 "../../api:video_encoder_api",
329 "../../api:video_decoder_api",
325 "../../base:rtc_base_approved", 330 "../../base:rtc_base_approved",
326 "../../common_video:common_video", 331 "../../common_video:common_video",
327 "../../system_wrappers:system_wrappers", 332 "../../system_wrappers:system_wrappers",
328 "../../test:test_support", 333 "../../test:test_support",
329 "../../test:video_test_common", 334 "../../test:video_test_common",
330 "../../test:video_test_support", 335 "../../test:video_test_support",
331 ] 336 ]
332 } 337 }
333 338
334 rtc_source_set("video_coding_videoprocessor_integration_test") { 339 rtc_source_set("video_coding_videoprocessor_integration_test") {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ] 525 sources += [ "codecs/h264/h264_encoder_impl_unittest.cc" ]
521 } 526 }
522 deps = [ 527 deps = [
523 ":video_codecs_test_framework", 528 ":video_codecs_test_framework",
524 ":video_coding", 529 ":video_coding",
525 ":video_coding_utility", 530 ":video_coding_utility",
526 ":webrtc_h264", 531 ":webrtc_h264",
527 ":webrtc_vp8", 532 ":webrtc_vp8",
528 ":webrtc_vp9", 533 ":webrtc_vp9",
529 "../..:webrtc_common", 534 "../..:webrtc_common",
535 "../../api:video_encoder_api",
530 "../../api:video_frame_api", 536 "../../api:video_frame_api",
531 "../../base:rtc_base", 537 "../../base:rtc_base",
532 "../../base:rtc_base_approved", 538 "../../base:rtc_base_approved",
533 "../../base:rtc_task_queue", 539 "../../base:rtc_task_queue",
534 "../../common_video:common_video", 540 "../../common_video:common_video",
535 "../../system_wrappers:metrics_default", 541 "../../system_wrappers:metrics_default",
536 "../../system_wrappers:system_wrappers", 542 "../../system_wrappers:system_wrappers",
537 "../../test:field_trial", 543 "../../test:field_trial",
538 "../../test:test_support", 544 "../../test:test_support",
539 "../../test:video_test_common", 545 "../../test:video_test_common",
(...skipping 12 matching lines...) Expand all
552 } 558 }
553 559
554 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 560 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
555 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 561 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
556 if (!build_with_chromium && is_clang) { 562 if (!build_with_chromium && is_clang) {
557 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 563 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
558 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 564 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
559 } 565 }
560 } 566 }
561 } 567 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698