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

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

Issue 1701503002: Re-land update Xcode emulation extra plist items for Xcode 7.2 (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Remove extra call to self._GetSdkVersionInfoItem Created 4 years, 10 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
« no previous file with comments | « test/ios/app-bundle/test-device.gyp ('k') | test/ios/gyptest-per-config-settings.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2013 Google Inc. All rights reserved. 3 # Copyright (c) 2013 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """ 7 """
8 Verifies that device and simulator bundles are built correctly. 8 Verifies that device and simulator bundles are built correctly.
9 """ 9 """
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 kwds = collections.defaultdict(list) 42 kwds = collections.defaultdict(list)
43 if test.format == 'xcode': 43 if test.format == 'xcode':
44 if is_device_build: 44 if is_device_build:
45 configuration, sdk = configuration.split('-') 45 configuration, sdk = configuration.split('-')
46 kwds['arguments'].extend(['-sdk', sdk]) 46 kwds['arguments'].extend(['-sdk', sdk])
47 if TestMac.Xcode.Version() < '0500': 47 if TestMac.Xcode.Version() < '0500':
48 kwds['arguments'].extend(['-arch', archs[0]]) 48 kwds['arguments'].extend(['-arch', archs[0]])
49 49
50 test.set_configuration(configuration) 50 test.set_configuration(configuration)
51 filename = '%s.bundle/%s' % (target, target) 51 filename = '%s.app/%s' % (target, target)
52 test.build('test-archs.gyp', target, chdir='app-bundle', **kwds) 52 test.build('test-archs.gyp', target, chdir='app-bundle', **kwds)
53 result_file = test.built_file_path(filename, chdir='app-bundle') 53 result_file = test.built_file_path(filename, chdir='app-bundle')
54 54
55 test.must_exist(result_file) 55 test.must_exist(result_file)
56 TestMac.CheckFileType(test, result_file, archs) 56 TestMac.CheckFileType(test, result_file, archs)
57 57
58 test.pass_test() 58 test.pass_test()
OLDNEW
« no previous file with comments | « test/ios/app-bundle/test-device.gyp ('k') | test/ios/gyptest-per-config-settings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698