blob: 9a12d07af7be9e4c34b7a6424defcc45631b4a41 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# 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 Assets Catalog Gyp',
17 'type': 'executable',
18 'mac_bundle': 1,
19 'sources': [
20 'TestApp/main.m',
21 ],
22 'mac_bundle_resources': [
23 'TestApp/English.lproj/InfoPlist.strings',
24 'TestApp/English.lproj/MainMenu.xib',
25 'TestApp/English.lproj/Main_iPhone.storyboard',
26 'TestApp/Images.xcassets',
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 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist',
39 'SDKROOT': 'iphonesimulator', # -isysroot
40 'IPHONEOS_DEPLOYMENT_TARGET': '7.0',
41 'CONFIGURATION_BUILD_DIR':'build/Default',
42 },
43 },
44 ],
45}