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

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

Issue 376603002: This CL adds support for extension in GYP. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: corrections Created 6 years, 5 months 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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2012 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 app bundles are built correctly.
9 """
10
11 import TestGyp
12 import TestMac
13
14 import sys
15 if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0600":
16 test = TestGyp.TestGyp(formats=['ninja'])
justincohen 2014/07/07 16:21:42 Don't we want to test xcode too?
olivierrobin 2014/07/08 09:48:18 We cannot test xcode because xcode compilation of
17
18 test.run_gyp('extension.gyp', chdir='extension')
19
20 test.build('extension.gyp', 'ExtensionContainer', chdir='extension')
21
22 # Test that the extension is .bundle
23 test.built_file_must_exist(
24 'ExtensionContainer.app/PlugIns/ActionExtension.appex',
25 chdir='extension')
26
27 test.pass_test()
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698