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

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

Issue 1745173002: Add support for iOS Frameworks with header maps. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Spacing nits Created 4 years, 9 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 2016 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 frameworks are built correctly.
9 """
10
11 import TestGyp
12 import TestMac
13 import subprocess
14 import sys
15
16 if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0700":
17
18 test = TestGyp.TestGyp(formats=['ninja'])
19 if test.format == 'xcode-ninja':
20 test.skip_test()
21
22 test.run_gyp('framework.gyp', chdir='framework')
23
24 test.build('framework.gyp', 'iOSFramework', chdir='framework')
25
26 test.built_file_must_exist(
27 'iOSFramework.framework/Headers/iOSFramework.h',
28 chdir='framework')
29 test.built_file_must_exist(
30 'iOSFramework.framework/iOSFramework',
31 chdir='framework')
32
33 test.pass_test()
34
OLDNEW
« pylib/gyp/generator/ninja.py ('K') | « test/ios/framework/iOSFramework/iOSFramework.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698