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 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | |
26 'targets': [ | |
27 { | |
28 'target_name': 'rtc_base_objc', | |
29 'type': 'static_library', | |
30 'includes': [ '../build/objc_common.gypi' ], | |
31 'dependencies': [ | |
32 'rtc_base', | |
33 ], | |
34 'sources': [ | |
35 'objc/NSString+StdString.h', | |
36 'objc/NSString+StdString.mm', | |
37 'objc/RTCDispatcher.h', | |
38 'objc/RTCDispatcher.m', | |
39 'objc/RTCFieldTrials.h', | |
40 'objc/RTCFieldTrials.mm', | |
41 'objc/RTCLogging.h', | |
42 'objc/RTCLogging.mm', | |
43 'objc/RTCMacros.h', | |
44 'objc/RTCSSLAdapter.h', | |
45 'objc/RTCSSLAdapter.mm', | |
46 'objc/RTCTracing.h', | |
47 'objc/RTCTracing.mm', | |
48 ], | |
49 'conditions': [ | |
50 ['OS=="ios"', { | |
51 'sources': [ | |
52 'objc/RTCCameraPreviewView.h', | |
53 'objc/RTCCameraPreviewView.m', | |
54 'objc/RTCUIApplication.h', | |
55 'objc/RTCUIApplication.mm', | |
56 ], | |
57 'all_dependent_settings': { | |
58 'xcode_settings': { | |
59 'OTHER_LDFLAGS': [ | |
60 '-framework AVFoundation', | |
61 ], | |
62 }, | |
63 }, | |
64 }], | |
65 ['build_with_chromium==0', { | |
66 'sources': [ | |
67 'objc/RTCFileLogger.h', | |
68 'objc/RTCFileLogger.mm', | |
69 ], | |
70 }], | |
71 ], | |
72 } | |
73 ], | |
74 }], # OS=="ios" | |
75 ], | 25 ], |
76 'targets': [ | 26 'targets': [ |
77 { | 27 { |
78 # The subset of rtc_base approved for use outside of libjingle. | 28 # The subset of rtc_base approved for use outside of libjingle. |
79 'target_name': 'rtc_base_approved', | 29 'target_name': 'rtc_base_approved', |
80 'type': 'static_library', | 30 'type': 'static_library', |
81 'sources': [ | 31 'sources': [ |
82 'array_view.h', | 32 'array_view.h', |
83 'atomicops.h', | 33 'atomicops.h', |
84 'bitbuffer.cc', | 34 'bitbuffer.cc', |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 }, | 596 }, |
647 { | 597 { |
648 'target_name': 'gtest_prod', | 598 'target_name': 'gtest_prod', |
649 'type': 'static_library', | 599 'type': 'static_library', |
650 'sources': [ | 600 'sources': [ |
651 'gtest_prod_util.h', | 601 'gtest_prod_util.h', |
652 ], | 602 ], |
653 }, | 603 }, |
654 ], | 604 ], |
655 } | 605 } |
OLD | NEW |