Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: webrtc/base/base.gyp

Issue 1705513002: Compile rtc_base_objc for Mac. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/build/WebRTC-Prefix.pch » ('j') | webrtc/build/WebRTC-Prefix.pch » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 25 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', {
26 # of some settings pulled down from Chromium.
27 ['OS=="ios"', {
28 'targets': [ 26 'targets': [
29 { 27 {
30 'target_name': 'rtc_base_objc', 28 'target_name': 'rtc_base_objc',
31 'type': 'static_library', 29 'type': 'static_library',
30 'includes': [ '../build/objc_common.gypi' ],
32 'dependencies': [ 31 'dependencies': [
33 'rtc_base', 32 'rtc_base',
34 ], 33 ],
35 'sources': [ 34 'sources': [
36 'objc/NSString+StdString.h', 35 'objc/NSString+StdString.h',
37 'objc/NSString+StdString.mm', 36 'objc/NSString+StdString.mm',
38 'objc/RTCDispatcher.h', 37 'objc/RTCDispatcher.h',
39 'objc/RTCDispatcher.m', 38 'objc/RTCDispatcher.m',
40 'objc/RTCLogging.h', 39 'objc/RTCLogging.h',
41 'objc/RTCLogging.mm', 40 'objc/RTCLogging.mm',
(...skipping 11 matching lines...) Expand all
53 ], 52 ],
54 'all_dependent_settings': { 53 'all_dependent_settings': {
55 'xcode_settings': { 54 'xcode_settings': {
56 'OTHER_LDFLAGS': [ 55 'OTHER_LDFLAGS': [
57 '-framework AVFoundation', 56 '-framework AVFoundation',
58 ], 57 ],
59 }, 58 },
60 }, 59 },
61 }], 60 }],
62 ], 61 ],
63 'xcode_settings': {
64 'CLANG_ENABLE_OBJC_ARC': 'YES',
65 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
66 },
67 } 62 }
68 ], 63 ],
69 }], # OS=="ios" 64 }], # OS=="ios"
70 ], 65 ],
71 'targets': [ 66 'targets': [
72 { 67 {
73 # The subset of rtc_base approved for use outside of libjingle. 68 # The subset of rtc_base approved for use outside of libjingle.
74 'target_name': 'rtc_base_approved', 69 'target_name': 'rtc_base_approved',
75 'type': 'static_library', 70 'type': 'static_library',
76 'sources': [ 71 'sources': [
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 }, 740 },
746 { 741 {
747 'target_name': 'gtest_prod', 742 'target_name': 'gtest_prod',
748 'type': 'static_library', 743 'type': 'static_library',
749 'sources': [ 744 'sources': [
750 'gtest_prod_util.h', 745 'gtest_prod_util.h',
751 ], 746 ],
752 }, 747 },
753 ], 748 ],
754 } 749 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/WebRTC-Prefix.pch » ('j') | webrtc/build/WebRTC-Prefix.pch » ('J')

Powered by Google App Engine
This is Rietveld 408576698