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

Issue 762673002: Add support for iOS WatchKit apps in GYP (Closed)

Created:
6 years ago by dmpatierno
Modified:
6 years ago
Reviewers:
sdefresne, justincohen
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Add support for iOS WatchKit apps in GYP Adds new target types for Apple Watch apps and their corresponding WatchKit extensions, along with a test and sample application. Patch by David Patierno <dmpatierno@google.com>; R=justincohen@chromium.org, sdefresne@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=2014

Patch Set 1 #

Patch Set 2 : Fix syntax error and remove unneeded files #

Total comments: 6

Patch Set 3 : Fix nits #

Patch Set 4 : Use default code sign identity #

Total comments: 7

Patch Set 5 : Add missing parens #

Patch Set 6 : Add missing framework include and modify test to be ninja-friendly #

Patch Set 7 : Specify code sign identity in extension test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -20 lines) Patch
M pylib/gyp/generator/xcode.py View 1 2 4 chunks +17 lines, -2 lines 0 comments Download
M pylib/gyp/xcode_emulation.py View 1 2 3 4 4 chunks +17 lines, -2 lines 0 comments Download
M pylib/gyp/xcode_ninja.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pylib/gyp/xcodeproj_file.py View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M test/ios/extension/extension.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
A test/ios/gyptest-watch.py View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A test/ios/watch/WatchApp/Images.xcassets/AppIcon.appiconset/Contents.json View 1 chunk +62 lines, -0 lines 0 comments Download
A test/ios/watch/WatchApp/Images.xcassets/LaunchImage.launchimage/Contents.json View 1 chunk +24 lines, -0 lines 0 comments Download
A + test/ios/watch/WatchApp/Info.plist View 1 chunk +16 lines, -9 lines 0 comments Download
A test/ios/watch/WatchApp/Interface.storyboard View 1 chunk +15 lines, -0 lines 0 comments Download
A + test/ios/watch/WatchContainer/AppDelegate.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/AppDelegate.m View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/Base.lproj/Main.storyboard View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/Images.xcassets/AppIcon.appiconset/Contents.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/Images.xcassets/LaunchImage.launchimage/Contents.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/Info.plist View 1 chunk +2 lines, -2 lines 0 comments Download
A + test/ios/watch/WatchContainer/ViewController.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/ViewController.m View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchContainer/main.m View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/ios/watch/WatchKitExtension/Images.xcassets/MyImage.imageset/Contents.json View 1 chunk +4 lines, -7 lines 0 comments Download
A test/ios/watch/WatchKitExtension/Info.plist View 1 chunk +38 lines, -0 lines 0 comments Download
A + test/ios/watch/WatchKitExtension/InterfaceController.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
A test/ios/watch/WatchKitExtension/InterfaceController.m View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A + test/ios/watch/WatchKitExtension/MainInterface.storyboard View 0 chunks +-1 lines, --1 lines 0 comments Download
A test/ios/watch/watch.gyp View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
justincohen
I haven't looked at WatchKit yet so I'm not sure how building for device works. ...
6 years ago (2014-11-26 20:12:04 UTC) #2
dmpatierno
Thanks for the fast review! :) > I haven't looked at WatchKit yet so I'm ...
6 years ago (2014-12-01 19:59:53 UTC) #3
justincohen
I have an iOS developer cert. If I run the the test gyp, and build ...
6 years ago (2014-12-02 01:57:20 UTC) #4
dmpatierno
It will work fine if you build the test app and run manually using Xcode. ...
6 years ago (2014-12-02 03:01:43 UTC) #5
justincohen
lgtm https://codereview.chromium.org/762673002/diff/60001/test/ios/watch/watch.gyp File test/ios/watch/watch.gyp (right): https://codereview.chromium.org/762673002/diff/60001/test/ios/watch/watch.gyp#newcode68 test/ios/watch/watch.gyp:68: '<(PRODUCT_DIR)/WatchApp.app', I think ninja is failing because there's ...
6 years ago (2014-12-03 00:31:04 UTC) #6
justincohen
blah, I did not mean to hit 'quick lgtm'. not lgtm, although it does look ...
6 years ago (2014-12-03 00:32:08 UTC) #7
justincohen
I happened to have this patched in while building chromios, and gyp seems to think ...
6 years ago (2014-12-03 16:51:31 UTC) #8
dmpatierno
On 2014/12/03 16:51:31, justincohen wrote: > I happened to have this patched in while building ...
6 years ago (2014-12-03 20:16:08 UTC) #9
dmpatierno
On 2014/12/03 20:16:08, dmpatierno wrote: > On 2014/12/03 16:51:31, justincohen wrote: > > I happened ...
6 years ago (2014-12-03 23:08:43 UTC) #10
dmpatierno
https://codereview.chromium.org/762673002/diff/60001/test/ios/watch/watch.gyp File test/ios/watch/watch.gyp (right): https://codereview.chromium.org/762673002/diff/60001/test/ios/watch/watch.gyp#newcode68 test/ios/watch/watch.gyp:68: '<(PRODUCT_DIR)/WatchApp.app', On 2014/12/03 00:31:04, justincohen wrote: > I think ...
6 years ago (2014-12-03 23:09:48 UTC) #11
justincohen
It looks like everything works, and will not break the bots since they run an ...
6 years ago (2014-12-04 17:21:37 UTC) #13
sdefresne
LGTM Could you please file a bug so that gtest sets up correctly the certificates, ...
6 years ago (2014-12-05 10:48:51 UTC) #14
dmpatierno
Added code sign identity lines to extension.gyp and filed bug https://code.google.com/p/gyp/issues/detail?id=475
6 years ago (2014-12-09 00:42:33 UTC) #15
Justin Cohen (wrong one)
6 years ago (2014-12-10 20:59:00 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as 2014 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698