OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2014 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 { | |
6 'make_global_settings': [ | |
7 ['CC', '/usr/bin/clang'], | |
8 ['CXX', '/usr/bin/clang++'], | |
9 ], | |
10 'targets': [ | |
11 { | |
12 'target_name': 'ExtensionContainer', | |
13 'product_name': 'ExtensionContainer', | |
14 'type': 'executable', | |
15 'mac_bundle': 1, | |
16 'mac_bundle_resources': [ | |
17 'ExtensionContainer/Base.lproj/Main.storyboard', | |
18 ], | |
19 | |
20 'sources': [ | |
21 'ExtensionContainer/AppDelegate.h', | |
22 'ExtensionContainer/AppDelegate.m', | |
23 'ExtensionContainer/ViewController.h', | |
24 'ExtensionContainer/ViewController.m', | |
25 'ExtensionContainer/main.m', | |
26 ], | |
27 'copies': [ | |
28 { | |
29 'destination': '<(PRODUCT_DIR)/ExtensionContainer.app/PlugIns', | |
30 'files': [ | |
31 '<(PRODUCT_DIR)/ActionExtension.appex', | |
32 ]}], | |
33 'dependencies': [ | |
34 'ActionExtension' | |
35 ], | |
36 | |
37 'link_settings': { | |
38 'libraries': [ | |
39 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
40 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | |
41 ], | |
42 }, | |
43 'xcode_settings': { | |
44 'OTHER_CFLAGS': [ | |
45 '-fobjc-abi-version=2', | |
46 ], | |
47 'INFOPLIST_FILE': 'ExtensionContainer/Info.plist', | |
48 # 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', | |
49 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | |
50 'ARCHS': [ 'armv7' ], | |
51 'SDKROOT': 'iphoneos', | |
52 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', | |
53 }, | |
54 | |
55 | |
56 | |
57 | |
58 }, | |
59 { | |
60 'target_name': 'ActionExtension', | |
61 'product_name': 'ActionExtension', | |
62 'type': 'extension', | |
63 'mac_bundle': 1, | |
64 'mac_bundle_resources': [ | |
65 | |
66 ], | |
67 'sources': [ | |
68 'ActionExtension/ActionViewController.h', | |
69 'ActionExtension/ActionViewController.m', | |
70 ], | |
71 'link_settings': { | |
72 'libraries': [ | |
73 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
74 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | |
75 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', | |
76 # '-lpkstart $(SDKROOT)/System/Library/PrivateFrameworks/PlugInKit.frame work/PlugInKit -fapplication-extension -Xlinker -rpath -Xlinker @executable_path /../../Frameworks ' | |
justincohen
2014/07/07 14:13:58
remove comment
| |
77 ], | |
78 }, | |
79 'xcode_settings': { | |
80 'OTHER_CFLAGS': [ | |
81 '-fobjc-abi-version=2', | |
82 ], | |
83 'INFOPLIST_FILE': 'ActionExtension/Info.plist', | |
84 #'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', | |
85 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | |
86 'ARCHS': [ 'armv7' ], | |
87 'SDKROOT': 'iphoneos', | |
88 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', | |
89 }, | |
90 }, | |
91 | |
92 ], | |
93 } | |
94 | |
OLD | NEW |