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: Use default code sign identity 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=['xcode'])
17
18 test.run_gyp('watch.gyp', chdir='watch')
19
20 test.build(
21 'watch.gyp',
22 'WatchContainer', chdir='watch',
23 arguments=['SDKROOT=iphonesimulator8.2'])
24
25 test.set_configuration('Default-iphonesimulator')
26
27 # Test that the extension exists
28 test.built_file_must_exist(
29 'WatchContainer.app/PlugIns/WatchKitExtension.appex',
30 chdir='watch')
31
32 # Test that the watch app exists
33 test.built_file_must_exist(
34 'WatchContainer.app/PlugIns/WatchKitExtension.appex/WatchApp.app',
35 chdir='watch')
36
37 test.pass_test()
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698