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 'make_global_settings': [ | 5 'make_global_settings': [ |
6 ['CC', '/usr/bin/clang'], | 6 ['CC', '/usr/bin/clang'], |
7 ], | 7 ], |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'test_app', | 10 'target_name': 'test_app', |
(...skipping 18 matching lines...) Expand all Loading... |
29 'OTHER_CFLAGS': [ | 29 'OTHER_CFLAGS': [ |
30 '-fobjc-abi-version=2', | 30 '-fobjc-abi-version=2', |
31 ], | 31 ], |
32 'SDKROOT': 'iphonesimulator', # -isysroot | 32 'SDKROOT': 'iphonesimulator', # -isysroot |
33 'TARGETED_DEVICE_FAMILY': '1,2', | 33 'TARGETED_DEVICE_FAMILY': '1,2', |
34 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', | 34 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
35 'IPHONEOS_DEPLOYMENT_TARGET': '4.2', | 35 'IPHONEOS_DEPLOYMENT_TARGET': '4.2', |
36 'CONFIGURATION_BUILD_DIR':'build/Default', | 36 'CONFIGURATION_BUILD_DIR':'build/Default', |
37 }, | 37 }, |
38 }, | 38 }, |
| 39 { |
| 40 'target_name': 'sig_test', |
| 41 'product_name': 'sig_test', |
| 42 'type': 'executable', |
| 43 'product_extension': 'bundle', |
| 44 'mac_bundle': 1, |
| 45 'sources': [ |
| 46 'TestApp/main.m', |
| 47 ], |
| 48 'mac_bundle_resources': [ |
| 49 'TestApp/English.lproj/InfoPlist.strings', |
| 50 'TestApp/English.lproj/MainMenu.xib', |
| 51 ], |
| 52 'link_settings': { |
| 53 'libraries': [ |
| 54 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 55 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 56 ], |
| 57 }, |
| 58 'postbuilds': [ |
| 59 { |
| 60 'postbuild_name': 'Verify no signature', |
| 61 'action': [ |
| 62 'python', |
| 63 'TestApp/check_no_signature.py' |
| 64 ], |
| 65 }, |
| 66 ], |
| 67 'xcode_settings': { |
| 68 'OTHER_CFLAGS': [ |
| 69 '-fobjc-abi-version=2', |
| 70 ], |
| 71 'SDKROOT': 'iphonesimulator', # -isysroot |
| 72 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', |
| 73 'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist', |
| 74 'IPHONEOS_DEPLOYMENT_TARGET': '4.2', |
| 75 'CONFIGURATION_BUILD_DIR':'buildsig/Default', |
| 76 }, |
| 77 }, |
39 ], | 78 ], |
40 } | 79 } |
OLD | NEW |