OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 { |
| 5 'conditions': [ |
| 6 ['"<(GENERATOR)"=="ninja"', { |
| 7 'make_global_settings': [ |
| 8 ['CC', '/usr/bin/clang'], |
| 9 ['CXX', '/usr/bin/clang++'], |
| 10 ], |
| 11 }], |
| 12 ], |
| 13 'targets': [ |
| 14 { |
| 15 'target_name': 'test_app', |
| 16 'product_name': 'Test App Gyp', |
| 17 'type': 'executable', |
| 18 'product_extension': 'bundle', |
| 19 'mac_bundle': 1, |
| 20 'sources': [ |
| 21 'TestApp/main.m', |
| 22 'TestApp/ViewController.mm', |
| 23 ], |
| 24 'mac_bundle_resources': [ |
| 25 'TestApp/English.lproj/InfoPlist.strings', |
| 26 'TestApp/English.lproj/MainMenu.xib', |
| 27 ], |
| 28 'link_settings': { |
| 29 'libraries': [ |
| 30 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 31 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 32 ], |
| 33 }, |
| 34 'xcode_settings': { |
| 35 'OTHER_CFLAGS': [ |
| 36 '-fobjc-abi-version=2', |
| 37 ], |
| 38 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
| 39 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
| 40 'SDKROOT': 'iphonesimulator', # -isysroot |
| 41 'IPHONEOS_DEPLOYMENT_TARGET': '4.2', |
| 42 'CONFIGURATION_BUILD_DIR':'build/Default', |
| 43 }, |
| 44 }, |
| 45 ], |
| 46 } |
OLD | NEW |