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

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: 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 #!/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":
justincohen 2014/11/26 20:12:04 nit space >=
16 test = TestGyp.TestGyp(formats=['xcode'])
justincohen 2014/11/26 20:12:04 Does this not work on ninja too?
17
18 test.run_gyp('watch.gyp', chdir='watch')
19
20 test.build('watch.gyp', 'WatchContainer', chdir='watch')
21
22 test.set_configuration('Default-iphonesimulator')
justincohen 2014/11/26 20:12:04 Just simulator?
23
24 # Test that the extension exists
25 test.built_file_must_exist(
26 'WatchContainer.app/PlugIns/WatchKitExtension.appex',
27 chdir='watch')
28
29 # Test that the watch app exists
30 test.built_file_must_exist(
31 'WatchContainer.app/PlugIns/WatchKitExtension.appex/WatchApp.app',
32 chdir='watch')
33
34 test.pass_test()
35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698