blob: 79cfcd67383a648e35d012d88e64f7d047d1226e [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright (c) 2013 Google Inc. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5 'make_global_settings': [
6 ['CC', '/usr/bin/clang'],
7 ],
8 'target_defaults': {
9 'mac_bundle_resources': [
10 'TestApp/English.lproj/InfoPlist.strings',
11 'TestApp/English.lproj/MainMenu.xib',
12 ],
13 'link_settings': {
14 'libraries': [
15 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
16 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
17 ],
18 },
19 'xcode_settings': {
20 'OTHER_CFLAGS': [
21 '-fobjc-abi-version=2',
22 ],
23 'CODE_SIGNING_REQUIRED': 'NO',
24 'SDKROOT': 'iphonesimulator', # -isysroot
25 'TARGETED_DEVICE_FAMILY': '1,2',
26 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist',
27 'IPHONEOS_DEPLOYMENT_TARGET': '7.0',
28 'CONFIGURATION_BUILD_DIR':'build/Default',
29 },
30 },
31 'targets': [
32 {
33 'target_name': 'TestNoArchs',
34 'product_name': 'TestNoArchs',
35 'type': 'executable',
36 'mac_bundle': 1,
37 'sources': [
38 'TestApp/main.m',
39 'TestApp/only-compile-in-32-bits.m',
40 ],
41 'xcode_settings': {
42 'VALID_ARCHS': [
43 'i386',
44 'x86_64',
45 'arm64',
46 'armv7',
47 ],
48 }
49 },
50 {
51 'target_name': 'TestArch32Bits',
52 'product_name': 'TestArch32Bits',
53 'type': 'executable',
54 'mac_bundle': 1,
55 'sources': [
56 'TestApp/main.m',
57 'TestApp/only-compile-in-32-bits.m',
58 ],
59 'xcode_settings': {
60 'ARCHS': [
61 '$(ARCHS_STANDARD)',
62 ],
63 'VALID_ARCHS': [
64 'i386',
65 'armv7',
66 ],
67 },
68 },
69 {
70 'target_name': 'TestArch64Bits',
71 'product_name': 'TestArch64Bits',
72 'type': 'executable',
73 'mac_bundle': 1,
74 'sources': [
75 'TestApp/main.m',
76 'TestApp/only-compile-in-64-bits.m',
77 ],
78 'xcode_settings': {
79 'ARCHS': [
80 '$(ARCHS_STANDARD_INCLUDING_64_BIT)',
81 ],
82 'VALID_ARCHS': [
83 'x86_64',
84 'arm64',
85 ],
86 },
87 },
88 {
89 'target_name': 'TestMultiArchs',
90 'product_name': 'TestMultiArchs',
91 'type': 'executable',
92 'mac_bundle': 1,
93 'sources': [
94 'TestApp/main.m',
95 ],
96 'xcode_settings': {
97 'ARCHS': [
98 '$(ARCHS_STANDARD_INCLUDING_64_BIT)',
99 ],
100 'VALID_ARCHS': [
101 'x86_64',
102 'i386',
103 'arm64',
104 'armv7',
105 ],
106 }
107 },
108 ],
109}