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

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: Fix syntax error and remove unneeded files 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
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 'ARCHS': [ 'i386', 'x86_64' ],
17 'SDKROOT': 'iphonesimulator',
18 'IPHONEOS_DEPLOYMENT_TARGET': '8.2',
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/WatchKit.framework',
76 ],
77 },
78 'xcode_settings': {
79 'INFOPLIST_FILE': 'WatchKitExtension/Info.plist',
80 'SKIP_INSTALL': 'YES',
81 'COPY_PHASE_STRIP': 'NO',
82 },
83 },
84 {
85 'target_name': 'WatchApp',
86 'product_name': 'WatchApp',
87 'type': 'executable',
88 'mac_bundle': 1,
89 'ios_watch_app': 1,
90 'mac_bundle_resources': [
91 'WatchApp/Images.xcassets',
92 'WatchApp/Interface.storyboard',
93 ],
94 'xcode_settings': {
95 'INFOPLIST_FILE': 'WatchApp/Info.plist',
96 'SKIP_INSTALL': 'YES',
97 'COPY_PHASE_STRIP': 'NO',
98 'TARGETED_DEVICE_FAMILY': '4',
99 'TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*]': '1,4',
100 },
101 },
102 ],
103 }
104
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698