OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 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 |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 { |
| 10 'includes': [ |
| 11 '../../../../build/common.gypi', |
| 12 ], |
| 13 'targets': [ |
| 14 { |
| 15 'target_name': 'webrtc_h264', |
| 16 'type': 'static_library', |
| 17 'conditions': [ |
| 18 ['OS=="ios" or OS=="mac"', { |
| 19 'dependencies': [ |
| 20 'webrtc_h264_video_toolbox', |
| 21 ], |
| 22 }], |
| 23 ], |
| 24 'sources': [ |
| 25 'h264.mm', |
| 26 'include/h264.h', |
| 27 ], |
| 28 }, # webrtc_h264 |
| 29 ], |
| 30 'conditions': [ |
| 31 ['OS=="ios" or (OS=="mac" and mac_sdk>="10.9")', { |
| 32 'targets': [ |
| 33 { |
| 34 'target_name': 'webrtc_h264_video_toolbox', |
| 35 'type': 'static_library', |
| 36 'dependencies': [ |
| 37 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', |
| 38 ], |
| 39 'conditions': [ |
| 40 ['OS=="mac"', { |
| 41 'xcode_settings': { |
| 42 'MACOSX_DEPLOYMENT_TARGET' : '10.9', |
| 43 }, |
| 44 }], |
| 45 ], |
| 46 'link_settings': { |
| 47 'xcode_settings': { |
| 48 'OTHER_LDFLAGS': [ |
| 49 '-framework CoreMedia', |
| 50 '-framework VideoToolbox', |
| 51 ], |
| 52 }, |
| 53 }, |
| 54 'sources': [ |
| 55 'h264_video_toolbox_decoder.h', |
| 56 'h264_video_toolbox_decoder.mm', |
| 57 'h264_video_toolbox_encoder.h', |
| 58 'h264_video_toolbox_encoder.mm', |
| 59 'h264_video_toolbox_nalu.h', |
| 60 'h264_video_toolbox_nalu.mm', |
| 61 ], |
| 62 }, # webrtc_h264_video_toolbox |
| 63 ], # targets |
| 64 }], # OS=="ios" or OS=="mac" |
| 65 ], # conditions |
| 66 } |
OLD | NEW |