Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: test/ios/watch/watch.gyp

Issue 762673002: Add support for iOS WatchKit apps in GYP (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Specify code sign identity in extension test Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/ios/watch/WatchKitExtension/MainInterface.storyboard ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 'target_defaults': {
11 'xcode_settings': {
12 'OTHER_CFLAGS': [
13 '-fobjc-abi-version=2',
14 ],
15 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
16 'SDKROOT': 'iphoneos',
17 'IPHONEOS_DEPLOYMENT_TARGET': '8.2',
18 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer',
19 }
20 },
21 'targets': [
22 {
23 'target_name': 'WatchContainer',
24 'product_name': 'WatchContainer',
25 'type': 'executable',
26 'mac_bundle': 1,
27 'mac_bundle_resources': [
28 'WatchContainer/Base.lproj/Main.storyboard',
29 ],
30 'sources': [
31 'WatchContainer/AppDelegate.h',
32 'WatchContainer/AppDelegate.m',
33 'WatchContainer/ViewController.h',
34 'WatchContainer/ViewController.m',
35 'WatchContainer/main.m',
36 ],
37 'copies': [
38 {
39 'destination': '<(PRODUCT_DIR)/WatchContainer.app/PlugIns',
40 'files': [
41 '<(PRODUCT_DIR)/WatchKitExtension.appex',
42 ]}],
43 'dependencies': [
44 'WatchKitExtension'
45 ],
46 'link_settings': {
47 'libraries': [
48 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
49 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
50 ],
51 },
52 'xcode_settings': {
53 'INFOPLIST_FILE': 'WatchContainer/Info.plist',
54 },
55 },
56 {
57 'target_name': 'WatchKitExtension',
58 'product_name': 'WatchKitExtension',
59 'type': 'executable',
60 'mac_bundle': 1,
61 'ios_watchkit_extension': 1,
62 'sources': [
63 'WatchKitExtension/InterfaceController.h',
64 'WatchKitExtension/InterfaceController.m',
65 ],
66 'mac_bundle_resources': [
67 'WatchKitExtension/Images.xcassets',
68 '<(PRODUCT_DIR)/WatchApp.app',
69 ],
70 'dependencies': [
71 'WatchApp'
72 ],
73 'link_settings': {
74 'libraries': [
75 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
76 '$(SDKROOT)/System/Library/Frameworks/WatchKit.framework',
77 ],
78 },
79 'xcode_settings': {
80 'INFOPLIST_FILE': 'WatchKitExtension/Info.plist',
81 'SKIP_INSTALL': 'YES',
82 'COPY_PHASE_STRIP': 'NO',
83 },
84 },
85 {
86 'target_name': 'WatchApp',
87 'product_name': 'WatchApp',
88 'type': 'executable',
89 'mac_bundle': 1,
90 'ios_watch_app': 1,
91 'mac_bundle_resources': [
92 'WatchApp/Images.xcassets',
93 'WatchApp/Interface.storyboard',
94 ],
95 'xcode_settings': {
96 'INFOPLIST_FILE': 'WatchApp/Info.plist',
97 'SKIP_INSTALL': 'YES',
98 'COPY_PHASE_STRIP': 'NO',
99 'TARGETED_DEVICE_FAMILY': '4',
100 'TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*]': '1,4',
101 },
102 },
103 ],
104 }
105
OLDNEW
« no previous file with comments | « test/ios/watch/WatchKitExtension/MainInterface.storyboard ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698