OLD | NEW |
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 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
11 'conditions': [ | 11 'conditions': [ |
12 ['os_posix == 1 and OS != "mac" and OS != "ios"', { | 12 ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
13 'conditions': [ | 13 'conditions': [ |
14 ['sysroot!=""', { | 14 ['sysroot!=""', { |
15 'variables': { | 15 'variables': { |
16 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"
"<(target_arch)"', | 16 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"
"<(target_arch)"', |
17 }, | 17 }, |
18 }, { | 18 }, { |
19 'variables': { | 19 'variables': { |
20 'pkg-config': 'pkg-config' | 20 'pkg-config': 'pkg-config' |
21 }, | 21 }, |
22 }], | 22 }], |
23 ], | 23 ], |
24 }], | 24 }], |
| 25 # TODO(tkchin): Mac support. There are a bunch of problems right now because |
| 26 # of some settings pulled down from Chromium. |
| 27 ['OS=="ios"', { |
| 28 'targets': [ |
| 29 { |
| 30 'target_name': 'rtc_base_objc', |
| 31 'type': 'static_library', |
| 32 'dependencies': [ |
| 33 'rtc_base', |
| 34 ], |
| 35 'sources': [ |
| 36 'objc/RTCLogging.h', |
| 37 'objc/RTCLogging.mm' |
| 38 ], |
| 39 'xcode_settings': { |
| 40 'CLANG_ENABLE_OBJC_ARC': 'YES', |
| 41 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
| 42 }, |
| 43 } |
| 44 ], |
| 45 }], # OS=="ios" |
25 ], | 46 ], |
26 'targets': [ | 47 'targets': [ |
27 { | 48 { |
28 # The subset of rtc_base approved for use outside of libjingle. | 49 # The subset of rtc_base approved for use outside of libjingle. |
29 'target_name': 'rtc_base_approved', | 50 'target_name': 'rtc_base_approved', |
30 'type': 'static_library', | 51 'type': 'static_library', |
31 'sources': [ | 52 'sources': [ |
32 'array_view.h', | 53 'array_view.h', |
33 'atomicops.h', | 54 'atomicops.h', |
34 'bitbuffer.cc', | 55 'bitbuffer.cc', |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 ], | 693 ], |
673 }, { | 694 }, { |
674 'include_dirs': [ | 695 'include_dirs': [ |
675 '<(ssl_root)', | 696 '<(ssl_root)', |
676 ], | 697 ], |
677 }], | 698 }], |
678 ], | 699 ], |
679 }, | 700 }, |
680 ], | 701 ], |
681 } | 702 } |
OLD | NEW |