OLD | NEW |
1 # Copyright (c) 2011 Google Inc. All rights reserved. | 1 # Copyright (c) 2011 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'conditions': [ | 5 'conditions': [ |
6 ['"<(GENERATOR)"=="ninja"', { | 6 ['"<(GENERATOR)"=="ninja"', { |
7 'make_global_settings': [ | 7 'make_global_settings': [ |
8 ['CC', '/usr/bin/clang'], | 8 ['CC', '/usr/bin/clang'], |
9 ['CXX', '/usr/bin/clang++'], | 9 ['CXX', '/usr/bin/clang++'], |
10 ], | 10 ], |
11 }], | 11 }], |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'test_app', | 15 'target_name': 'test_app', |
16 'product_name': 'Test App Gyp', | 16 'product_name': 'Test App Gyp', |
17 'type': 'executable', | 17 'type': 'executable', |
18 'product_extension': 'bundle', | 18 'product_extension': 'bundle', |
19 'mac_bundle': 1, | 19 'mac_bundle': 1, |
20 'sources': [ | 20 'sources': [ |
21 'TestApp/main.m', | 21 'TestApp/main.m', |
22 ], | 22 ], |
23 'mac_bundle_resources': [ | 23 'mac_bundle_resources': [ |
24 'TestApp/English.lproj/InfoPlist.strings', | 24 'TestApp/English.lproj/InfoPlist.strings', |
25 'TestApp/English.lproj/MainMenu.xib', | 25 'TestApp/English.lproj/MainMenu.xib', |
| 26 'TestApp/English.lproj/Main_iPhone.storyboard', |
26 ], | 27 ], |
27 'link_settings': { | 28 'link_settings': { |
28 'libraries': [ | 29 'libraries': [ |
29 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 30 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
30 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 31 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
31 ], | 32 ], |
32 }, | 33 }, |
33 'xcode_settings': { | 34 'xcode_settings': { |
34 'OTHER_CFLAGS': [ | 35 'OTHER_CFLAGS': [ |
35 '-fobjc-abi-version=2', | 36 '-fobjc-abi-version=2', |
36 ], | 37 ], |
37 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', | 38 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
38 'SDKROOT': 'iphonesimulator', # -isysroot | 39 'SDKROOT': 'iphonesimulator', # -isysroot |
39 'IPHONEOS_DEPLOYMENT_TARGET': '4.2', | 40 'IPHONEOS_DEPLOYMENT_TARGET': '5.0', |
40 'CONFIGURATION_BUILD_DIR':'build/Default', | 41 'CONFIGURATION_BUILD_DIR':'build/Default', |
41 }, | 42 }, |
42 }, | 43 }, |
43 ], | 44 ], |
44 } | 45 } |
OLD | NEW |