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

Side by Side Diff: test/ios/gyptest-watch.py

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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2014 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """
8 Verifies that ios watch extensions and apps are built correctly.
9 """
10
11 import TestGyp
12 import TestMac
13
14 import sys
15 if sys.platform == 'darwin' and TestMac.Xcode.Version() >= "0620":
16 test = TestGyp.TestGyp(formats=['ninja', 'xcode'])
17
18 test.run_gyp('watch.gyp', chdir='watch')
19
20 test.build(
21 'watch.gyp',
22 'WatchContainer',
23 chdir='watch')
24
25 # Test that the extension exists
26 test.built_file_must_exist(
27 'WatchContainer.app/PlugIns/WatchKitExtension.appex',
28 chdir='watch')
29
30 # Test that the watch app exists
31 test.built_file_must_exist(
32 'WatchContainer.app/PlugIns/WatchKitExtension.appex/WatchApp.app',
33 chdir='watch')
34
35 test.pass_test()
36
OLDNEW
« no previous file with comments | « test/ios/extension/extension.gyp ('k') | test/ios/watch/WatchApp/Images.xcassets/AppIcon.appiconset/Contents.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698