OLD | NEW |
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 2016 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 if (is_ios) { | 10 if (is_ios) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "objc/Framework/Classes/Common/RTCUIApplicationStatusObserver.m", | 56 "objc/Framework/Classes/Common/RTCUIApplicationStatusObserver.m", |
57 "objc/Framework/Classes/Common/helpers.h", | 57 "objc/Framework/Classes/Common/helpers.h", |
58 "objc/Framework/Classes/Common/helpers.mm", | 58 "objc/Framework/Classes/Common/helpers.mm", |
59 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", | 59 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", |
60 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", | 60 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", |
61 "objc/Framework/Headers/WebRTC/RTCLogging.h", | 61 "objc/Framework/Headers/WebRTC/RTCLogging.h", |
62 "objc/Framework/Headers/WebRTC/RTCMacros.h", | 62 "objc/Framework/Headers/WebRTC/RTCMacros.h", |
63 ] | 63 ] |
64 | 64 |
65 deps = [ | 65 deps = [ |
66 "../base:rtc_base", | 66 "../rtc_base:rtc_base", |
67 ] | 67 ] |
68 configs += [ "..:common_objc" ] | 68 configs += [ "..:common_objc" ] |
69 | 69 |
70 public_configs = [ ":objc_common_config" ] | 70 public_configs = [ ":objc_common_config" ] |
71 | 71 |
72 if (is_ios) { | 72 if (is_ios) { |
73 sources += [ | 73 sources += [ |
74 "objc/Framework/Classes/Common/UIDevice+RTCDevice.mm", | 74 "objc/Framework/Classes/Common/UIDevice+RTCDevice.mm", |
75 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", | 75 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
76 ] | 76 ] |
(...skipping 14 matching lines...) Expand all Loading... |
91 "objc/Framework/Classes/Audio/RTCAudioSession+Private.h", | 91 "objc/Framework/Classes/Audio/RTCAudioSession+Private.h", |
92 "objc/Framework/Classes/Audio/RTCAudioSession.mm", | 92 "objc/Framework/Classes/Audio/RTCAudioSession.mm", |
93 "objc/Framework/Classes/Audio/RTCAudioSessionConfiguration.m", | 93 "objc/Framework/Classes/Audio/RTCAudioSessionConfiguration.m", |
94 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", | 94 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", |
95 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", | 95 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", |
96 ] | 96 ] |
97 configs += [ "..:common_objc" ] | 97 configs += [ "..:common_objc" ] |
98 | 98 |
99 deps = [ | 99 deps = [ |
100 ":objc_common", | 100 ":objc_common", |
101 "../base:rtc_base_approved", | 101 "../rtc_base:rtc_base_approved", |
102 ] | 102 ] |
103 | 103 |
104 if (is_clang) { | 104 if (is_clang) { |
105 # Suppress warnings from the Chromium Clang plugin | 105 # Suppress warnings from the Chromium Clang plugin |
106 # (bugs.webrtc.org/163). | 106 # (bugs.webrtc.org/163). |
107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 # Keep videotracksource related code in a separate target so that we can | 111 # Keep videotracksource related code in a separate target so that we can |
112 # build PeerConnectionFactory without audio/video support when that's called | 112 # build PeerConnectionFactory without audio/video support when that's called |
113 # for. | 113 # for. |
114 rtc_static_library("objc_videotracksource") { | 114 rtc_static_library("objc_videotracksource") { |
115 sources = [ | 115 sources = [ |
116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", | 116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", |
117 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", | 117 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", |
118 "objc/Framework/Classes/Video/RTCI420Buffer.mm", | 118 "objc/Framework/Classes/Video/RTCI420Buffer.mm", |
119 "objc/Framework/Classes/Video/objc_frame_buffer.h", | 119 "objc/Framework/Classes/Video/objc_frame_buffer.h", |
120 "objc/Framework/Classes/Video/objc_frame_buffer.mm", | 120 "objc/Framework/Classes/Video/objc_frame_buffer.mm", |
121 "objc/Framework/Classes/Video/objcvideotracksource.h", | 121 "objc/Framework/Classes/Video/objcvideotracksource.h", |
122 "objc/Framework/Classes/Video/objcvideotracksource.mm", | 122 "objc/Framework/Classes/Video/objcvideotracksource.mm", |
123 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 123 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
124 ] | 124 ] |
125 | 125 |
126 deps = [ | 126 deps = [ |
127 ":objc_common", | 127 ":objc_common", |
128 "../api:libjingle_peerconnection_api", | 128 "../api:libjingle_peerconnection_api", |
129 "../api:video_frame_api", | 129 "../api:video_frame_api", |
130 "../base:rtc_base", | |
131 "../common_video", | 130 "../common_video", |
132 "../media:rtc_media_base", | 131 "../media:rtc_media_base", |
| 132 "../rtc_base:rtc_base", |
133 ] | 133 ] |
134 | 134 |
135 configs += [ "..:common_objc" ] | 135 configs += [ "..:common_objc" ] |
136 if (!build_with_chromium && is_clang) { | 136 if (!build_with_chromium && is_clang) { |
137 # Suppress warnings from the Chromium Clang plugin | 137 # Suppress warnings from the Chromium Clang plugin |
138 # (bugs.webrtc.org/163). | 138 # (bugs.webrtc.org/163). |
139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
140 } | 140 } |
141 } | 141 } |
142 | 142 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 "CoreMedia.framework", | 174 "CoreMedia.framework", |
175 "CoreVideo.framework", | 175 "CoreVideo.framework", |
176 "OpenGL.framework", | 176 "OpenGL.framework", |
177 ] | 177 ] |
178 } | 178 } |
179 | 179 |
180 deps = [ | 180 deps = [ |
181 ":objc_common", | 181 ":objc_common", |
182 ":objc_videotracksource", | 182 ":objc_videotracksource", |
183 "../api:libjingle_peerconnection_api", | 183 "../api:libjingle_peerconnection_api", |
184 "../base:rtc_base", | |
185 "../common_video", | 184 "../common_video", |
186 "../media:rtc_media_base", | 185 "../media:rtc_media_base", |
| 186 "../rtc_base:rtc_base", |
187 ] | 187 ] |
188 | 188 |
189 configs += [ "..:common_objc" ] | 189 configs += [ "..:common_objc" ] |
190 if (!build_with_chromium && is_clang) { | 190 if (!build_with_chromium && is_clang) { |
191 # Suppress warnings from the Chromium Clang plugin | 191 # Suppress warnings from the Chromium Clang plugin |
192 # (bugs.webrtc.org/163). | 192 # (bugs.webrtc.org/163). |
193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
194 } | 194 } |
195 } | 195 } |
196 | 196 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 ] | 240 ] |
241 } | 241 } |
242 libs = [ | 242 libs = [ |
243 "CoreVideo.framework", | 243 "CoreVideo.framework", |
244 "Metal.framework", | 244 "Metal.framework", |
245 "MetalKit.framework", | 245 "MetalKit.framework", |
246 ] | 246 ] |
247 deps = [ | 247 deps = [ |
248 ":objc_video", | 248 ":objc_video", |
249 "../api:video_frame_api", | 249 "../api:video_frame_api", |
250 "../base:rtc_base_approved", | 250 "../rtc_base:rtc_base_approved", |
251 ] | 251 ] |
252 configs += [ "..:common_objc" ] | 252 configs += [ "..:common_objc" ] |
253 public_configs = [ ":objc_common_config" ] | 253 public_configs = [ ":objc_common_config" ] |
254 } | 254 } |
255 } | 255 } |
256 | 256 |
257 rtc_static_library("objc_peerconnection") { | 257 rtc_static_library("objc_peerconnection") { |
258 sources = [ | 258 sources = [ |
259 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat
e.h", | 259 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat
e.h", |
260 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm", | 260 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm", |
(...skipping 21 matching lines...) Expand all Loading... |
282 # (bugs.webrtc.org/163). | 282 # (bugs.webrtc.org/163). |
283 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 283 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
284 } | 284 } |
285 | 285 |
286 deps = [ | 286 deps = [ |
287 ":objc_common", | 287 ":objc_common", |
288 ":objc_corevideoframebuffer", | 288 ":objc_corevideoframebuffer", |
289 ":objc_peerconnectionfactory", | 289 ":objc_peerconnectionfactory", |
290 ":objc_video", | 290 ":objc_video", |
291 "../api:video_frame_api", | 291 "../api:video_frame_api", |
292 "../base:rtc_base", | |
293 "../media:rtc_media_base", | 292 "../media:rtc_media_base", |
294 "../pc:libjingle_peerconnection", | 293 "../pc:libjingle_peerconnection", |
| 294 "../rtc_base:rtc_base", |
295 ] | 295 ] |
296 | 296 |
297 if (rtc_use_metal_rendering) { | 297 if (rtc_use_metal_rendering) { |
298 deps += [ ":objc_metal" ] | 298 deps += [ ":objc_metal" ] |
299 } | 299 } |
300 | 300 |
301 if (rtc_build_libyuv) { | 301 if (rtc_build_libyuv) { |
302 deps += [ "$rtc_libyuv_dir" ] | 302 deps += [ "$rtc_libyuv_dir" ] |
303 public_deps = [ | 303 public_deps = [ |
304 "$rtc_libyuv_dir", | 304 "$rtc_libyuv_dir", |
(...skipping 15 matching lines...) Expand all Loading... |
320 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 320 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
321 } | 321 } |
322 | 322 |
323 deps = [ | 323 deps = [ |
324 ":objc_common", | 324 ":objc_common", |
325 ":objc_corevideoframebuffer", | 325 ":objc_corevideoframebuffer", |
326 ":objc_peerconnectionfactory_base", | 326 ":objc_peerconnectionfactory_base", |
327 ":objc_video", | 327 ":objc_video", |
328 ":objc_videotoolbox", | 328 ":objc_videotoolbox", |
329 "../api:video_frame_api", | 329 "../api:video_frame_api", |
330 "../base:rtc_base", | |
331 "../media:rtc_media_base", | 330 "../media:rtc_media_base", |
332 "../pc:create_pc_factory", | 331 "../pc:create_pc_factory", |
333 "../pc:peerconnection", | 332 "../pc:peerconnection", |
| 333 "../rtc_base:rtc_base", |
334 ] | 334 ] |
335 } | 335 } |
336 | 336 |
337 # Build the PeerConnectionFactory without audio/video support. | 337 # Build the PeerConnectionFactory without audio/video support. |
338 # This target depends on the objc_peeerconnectionfactory_base which still | 338 # This target depends on the objc_peeerconnectionfactory_base which still |
339 # includes some audio/video related objects such as RTCAudioSource because | 339 # includes some audio/video related objects such as RTCAudioSource because |
340 # these objects are just thin wrappers of native C++ interfaces required | 340 # these objects are just thin wrappers of native C++ interfaces required |
341 # when implementing webrtc::PeerConnectionFactoryInterface and | 341 # when implementing webrtc::PeerConnectionFactoryInterface and |
342 # webrtc::PeerConnectionInterface. | 342 # webrtc::PeerConnectionInterface. |
343 # The applications which only use WebRTC DataChannel can depend on this | 343 # The applications which only use WebRTC DataChannel can depend on this |
(...skipping 10 matching lines...) Expand all Loading... |
354 | 354 |
355 if (!build_with_chromium && is_clang) { | 355 if (!build_with_chromium && is_clang) { |
356 # Suppress warnings from the Chromium Clang plugin | 356 # Suppress warnings from the Chromium Clang plugin |
357 # (bugs.webrtc.org/163). | 357 # (bugs.webrtc.org/163). |
358 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 358 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
359 } | 359 } |
360 | 360 |
361 deps = [ | 361 deps = [ |
362 ":objc_peerconnectionfactory_base", | 362 ":objc_peerconnectionfactory_base", |
363 "../api:libjingle_peerconnection_api", | 363 "../api:libjingle_peerconnection_api", |
364 "../base:rtc_base", | 364 "../rtc_base:rtc_base", |
365 ] | 365 ] |
366 } | 366 } |
367 | 367 |
368 rtc_static_library("objc_peerconnectionfactory_base") { | 368 rtc_static_library("objc_peerconnectionfactory_base") { |
369 sources = [ | 369 sources = [ |
370 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", | 370 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", |
371 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", | 371 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", |
372 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", | 372 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", |
373 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", | 373 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", |
374 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", | 374 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 # Suppress warnings from the Chromium Clang plugin | 466 # Suppress warnings from the Chromium Clang plugin |
467 # (bugs.webrtc.org/163). | 467 # (bugs.webrtc.org/163). |
468 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 468 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
469 } | 469 } |
470 | 470 |
471 deps = [ | 471 deps = [ |
472 ":objc_common", | 472 ":objc_common", |
473 ":objc_corevideoframebuffer", | 473 ":objc_corevideoframebuffer", |
474 ":objc_videotracksource", | 474 ":objc_videotracksource", |
475 "../api:video_frame_api", | 475 "../api:video_frame_api", |
476 "../base:rtc_base", | |
477 "../common_video", | 476 "../common_video", |
478 "../media:rtc_media_base", | 477 "../media:rtc_media_base", |
479 "../pc:peerconnection", | 478 "../pc:peerconnection", |
| 479 "../rtc_base:rtc_base", |
480 ] | 480 ] |
481 } | 481 } |
482 | 482 |
483 if (rtc_include_tests) { | 483 if (rtc_include_tests) { |
484 rtc_source_set("objc_sdk_unittests") { | 484 rtc_source_set("objc_sdk_unittests") { |
485 testonly = true | 485 testonly = true |
486 | 486 |
487 # Skip restricting visibility on mobile platforms since the tests on tho
se | 487 # Skip restricting visibility on mobile platforms since the tests on tho
se |
488 # gets additional generated targets which would require many lines here
to | 488 # gets additional generated targets which would require many lines here
to |
489 # cover (which would be confusing to read and hard to maintain). | 489 # cover (which would be confusing to read and hard to maintain). |
(...skipping 22 matching lines...) Expand all Loading... |
512 | 512 |
513 # |-ObjC| flag needed to make sure category method implementations | 513 # |-ObjC| flag needed to make sure category method implementations |
514 # are included: | 514 # are included: |
515 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | 515 # https://developer.apple.com/library/mac/qa/qa1490/_index.html |
516 ldflags = [ "-ObjC" ] | 516 ldflags = [ "-ObjC" ] |
517 | 517 |
518 defines = [ "GTEST_RELATIVE_PATH" ] | 518 defines = [ "GTEST_RELATIVE_PATH" ] |
519 deps = [ | 519 deps = [ |
520 ":objc_peerconnection", | 520 ":objc_peerconnection", |
521 "..//system_wrappers:system_wrappers_default", | 521 "..//system_wrappers:system_wrappers_default", |
522 "../base:rtc_base_tests_utils", | 522 "../rtc_base:rtc_base_tests_utils", |
523 "../system_wrappers:system_wrappers_default", | 523 "../system_wrappers:system_wrappers_default", |
524 "//third_party/ocmock", | 524 "//third_party/ocmock", |
525 ] | 525 ] |
526 | 526 |
527 if (is_ios) { | 527 if (is_ios) { |
528 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] | 528 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] |
529 | 529 |
530 # RTCMTLVideoView not supported on 32-bit arm | 530 # RTCMTLVideoView not supported on 32-bit arm |
531 if (current_cpu != "arm") { | 531 if (current_cpu != "arm") { |
532 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] | 532 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 ldflags = [ | 612 ldflags = [ |
613 "-all_load", | 613 "-all_load", |
614 "-install_name", | 614 "-install_name", |
615 "@rpath/$output_name.framework/$output_name", | 615 "@rpath/$output_name.framework/$output_name", |
616 ] | 616 ] |
617 | 617 |
618 deps = [ | 618 deps = [ |
619 ":objc_audio", | 619 ":objc_audio", |
620 ":objc_peerconnection", | 620 ":objc_peerconnection", |
621 ":objc_ui", | 621 ":objc_ui", |
622 "../base:rtc_base_approved", | 622 "../rtc_base:rtc_base_approved", |
623 "../system_wrappers:field_trial_default", | 623 "../system_wrappers:field_trial_default", |
624 "../system_wrappers:metrics_default", | 624 "../system_wrappers:metrics_default", |
625 ] | 625 ] |
626 | 626 |
627 libs = [ | 627 libs = [ |
628 "AVFoundation.framework", | 628 "AVFoundation.framework", |
629 "CoreGraphics.framework", | 629 "CoreGraphics.framework", |
630 "CoreMedia.framework", | 630 "CoreMedia.framework", |
631 "GLKit.framework", | 631 "GLKit.framework", |
632 ] | 632 ] |
(...skipping 20 matching lines...) Expand all Loading... |
653 ] | 653 ] |
654 } | 654 } |
655 | 655 |
656 rtc_static_library("objc_corevideoframebuffer") { | 656 rtc_static_library("objc_corevideoframebuffer") { |
657 sources = [ | 657 sources = [ |
658 "objc/Framework/Classes/Video/corevideo_frame_buffer.cc", | 658 "objc/Framework/Classes/Video/corevideo_frame_buffer.cc", |
659 "objc/Framework/Classes/Video/corevideo_frame_buffer.h", | 659 "objc/Framework/Classes/Video/corevideo_frame_buffer.h", |
660 ] | 660 ] |
661 | 661 |
662 deps = [ | 662 deps = [ |
663 "../base:rtc_base_approved", | |
664 "../common_video", | 663 "../common_video", |
| 664 "../rtc_base:rtc_base_approved", |
665 ] | 665 ] |
666 | 666 |
667 if (!build_with_chromium && is_clang) { | 667 if (!build_with_chromium && is_clang) { |
668 # Suppress warnings from the Chromium Clang plugin | 668 # Suppress warnings from the Chromium Clang plugin |
669 # (bugs.webrtc.org/163). | 669 # (bugs.webrtc.org/163). |
670 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 670 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
671 } | 671 } |
672 | 672 |
673 libs = [ "CoreVideo.framework" ] | 673 libs = [ "CoreVideo.framework" ] |
674 } | 674 } |
(...skipping 10 matching lines...) Expand all Loading... |
685 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", | 685 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", |
686 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 686 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
687 ] | 687 ] |
688 | 688 |
689 configs += [ "..:common_objc" ] | 689 configs += [ "..:common_objc" ] |
690 | 690 |
691 deps = [ | 691 deps = [ |
692 ":objc_common", | 692 ":objc_common", |
693 ":objc_video", | 693 ":objc_video", |
694 ":objc_videotracksource", | 694 ":objc_videotracksource", |
695 "../base:rtc_base_approved", | |
696 "../common_video", | 695 "../common_video", |
697 "../media:rtc_media", | 696 "../media:rtc_media", |
698 "../media:rtc_media_base", | 697 "../media:rtc_media_base", |
699 "../modules:module_api", | 698 "../modules:module_api", |
700 "../modules/video_coding:video_coding_utility", | 699 "../modules/video_coding:video_coding_utility", |
701 "../modules/video_coding:webrtc_h264", | 700 "../modules/video_coding:webrtc_h264", |
| 701 "../rtc_base:rtc_base_approved", |
702 "../system_wrappers", | 702 "../system_wrappers", |
703 ] | 703 ] |
704 | 704 |
705 libs = [ | 705 libs = [ |
706 "CoreFoundation.framework", | 706 "CoreFoundation.framework", |
707 "CoreMedia.framework", | 707 "CoreMedia.framework", |
708 "CoreVideo.framework", | 708 "CoreVideo.framework", |
709 "VideoToolbox.framework", | 709 "VideoToolbox.framework", |
710 ] | 710 ] |
711 | 711 |
712 if (!build_with_chromium && is_clang) { | 712 if (!build_with_chromium && is_clang) { |
713 # Suppress warnings from the Chromium Clang plugin | 713 # Suppress warnings from the Chromium Clang plugin |
714 # (bugs.webrtc.org/163). | 714 # (bugs.webrtc.org/163). |
715 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 715 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
716 } | 716 } |
717 | 717 |
718 if (rtc_build_libyuv) { | 718 if (rtc_build_libyuv) { |
719 deps += [ "$rtc_libyuv_dir" ] | 719 deps += [ "$rtc_libyuv_dir" ] |
720 public_deps = [ | 720 public_deps = [ |
721 "$rtc_libyuv_dir", | 721 "$rtc_libyuv_dir", |
722 ] | 722 ] |
723 } else { | 723 } else { |
724 # Need to add a directory normally exported by libyuv. | 724 # Need to add a directory normally exported by libyuv. |
725 include_dirs = [ "$rtc_libyuv_dir/include" ] | 725 include_dirs = [ "$rtc_libyuv_dir/include" ] |
726 } | 726 } |
727 } | 727 } |
728 } | 728 } |
729 } | 729 } |
OLD | NEW |