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 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 }], | 77 }], |
78 ], | 78 ], |
79 }, | 79 }, |
80 { | 80 { |
81 'target_name': 'rtc_sdk_peerconnection_objc', | 81 'target_name': 'rtc_sdk_peerconnection_objc', |
82 'type': 'static_library', | 82 'type': 'static_library', |
83 'includes': [ '../build/objc_common.gypi' ], | 83 'includes': [ '../build/objc_common.gypi' ], |
84 'dependencies': [ | 84 'dependencies': [ |
85 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', | 85 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', |
86 'rtc_sdk_common_objc', | 86 'rtc_sdk_common_objc', |
| 87 'webrtc_h264_video_toolbox', |
87 ], | 88 ], |
88 'include_dirs': [ | 89 'include_dirs': [ |
89 'objc/Framework/Classes', | 90 'objc/Framework/Classes', |
90 'objc/Framework/Headers', | 91 'objc/Framework/Headers', |
91 ], | 92 ], |
92 'direct_dependent_settings': { | 93 'direct_dependent_settings': { |
93 'include_dirs': [ | 94 'include_dirs': [ |
94 'objc/Framework/Classes', | 95 'objc/Framework/Classes', |
95 'objc/Framework/Headers', | 96 'objc/Framework/Headers', |
96 ], | 97 ], |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 }], | 332 }], |
332 ['build_with_chromium==1', { | 333 ['build_with_chromium==1', { |
333 'mac_framework_headers!': [ | 334 'mac_framework_headers!': [ |
334 'objc/Framework/Headers/WebRTC/RTCFileLogger.h', | 335 'objc/Framework/Headers/WebRTC/RTCFileLogger.h', |
335 ], | 336 ], |
336 }], | 337 }], |
337 ], # conditions | 338 ], # conditions |
338 }, # rtc_sdk_framework_objc | 339 }, # rtc_sdk_framework_objc |
339 ], # targets | 340 ], # targets |
340 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") | 341 }], # OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7") |
| 342 ['OS=="ios"', { |
| 343 'targets': [ |
| 344 { |
| 345 'target_name': 'webrtc_h264_video_toolbox', |
| 346 'type': 'static_library', |
| 347 'includes': [ '../build/objc_common.gypi' ], |
| 348 'dependencies': [ |
| 349 'rtc_sdk_common_objc', |
| 350 ], |
| 351 'link_settings': { |
| 352 'xcode_settings': { |
| 353 'OTHER_LDFLAGS': [ |
| 354 '-framework CoreFoundation', |
| 355 '-framework CoreMedia', |
| 356 '-framework CoreVideo', |
| 357 '-framework VideoToolbox', |
| 358 ], |
| 359 }, |
| 360 }, |
| 361 'sources': [ |
| 362 'objc/Framework/Classes/h264_video_toolbox_decoder.cc', |
| 363 'objc/Framework/Classes/h264_video_toolbox_decoder.h', |
| 364 'objc/Framework/Classes/h264_video_toolbox_encoder.h', |
| 365 'objc/Framework/Classes/h264_video_toolbox_encoder.mm', |
| 366 'objc/Framework/Classes/h264_video_toolbox_nalu.cc', |
| 367 'objc/Framework/Classes/h264_video_toolbox_nalu.h', |
| 368 'objc/Framework/Classes/videotoolboxvideocodecfactory.cc', |
| 369 'objc/Framework/Classes/videotoolboxvideocodecfactory.h', |
| 370 ], |
| 371 'conditions': [ |
| 372 ['build_libyuv==1', { |
| 373 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv'], |
| 374 }], |
| 375 ], |
| 376 }, # webrtc_h264_video_toolbox |
| 377 ], # targets |
| 378 }], # OS=="ios" |
341 ], | 379 ], |
342 } | 380 } |
OLD | NEW |