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 ], |
(...skipping 22 matching lines...) Expand all Loading... |
33 'xcode_settings': { | 33 'xcode_settings': { |
34 'OTHER_CFLAGS': [ | 34 'OTHER_CFLAGS': [ |
35 '-fobjc-abi-version=2', | 35 '-fobjc-abi-version=2', |
36 ], | 36 ], |
37 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', | 37 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
38 'SDKROOT': 'iphonesimulator', # -isysroot | 38 'SDKROOT': 'iphonesimulator', # -isysroot |
39 'IPHONEOS_DEPLOYMENT_TARGET': '5.0', | 39 'IPHONEOS_DEPLOYMENT_TARGET': '5.0', |
40 'CONFIGURATION_BUILD_DIR':'build/Default', | 40 'CONFIGURATION_BUILD_DIR':'build/Default', |
41 }, | 41 }, |
42 }, | 42 }, |
| 43 { |
| 44 'target_name': 'test_app_xml', |
| 45 'product_name': 'Test App Gyp XML', |
| 46 'type': 'executable', |
| 47 'mac_bundle': 1, |
| 48 'sources': [ |
| 49 'TestApp/main.m', |
| 50 ], |
| 51 'mac_bundle_resources': [ |
| 52 'TestApp/English.lproj/InfoPlist.strings', |
| 53 'TestApp/English.lproj/MainMenu.xib', |
| 54 'TestApp/English.lproj/Main_iPhone.storyboard', |
| 55 ], |
| 56 'link_settings': { |
| 57 'libraries': [ |
| 58 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 59 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 60 ], |
| 61 }, |
| 62 'xcode_settings': { |
| 63 'OTHER_CFLAGS': [ |
| 64 '-fobjc-abi-version=2', |
| 65 ], |
| 66 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
| 67 'INFOPLIST_OUTPUT_FORMAT':'xml', |
| 68 'SDKROOT': 'iphonesimulator', # -isysroot |
| 69 'IPHONEOS_DEPLOYMENT_TARGET': '5.0', |
| 70 'CONFIGURATION_BUILD_DIR':'build/Default', |
| 71 }, |
| 72 }, |
43 ], | 73 ], |
44 } | 74 } |
OLD | NEW |