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

Side by Side Diff: test/mac/gyptest-copies.py

Issue 956203005: Adds the ability for 'copies' in Xcode project files to specify the 'Code Sign on Copy' option. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « test/mac/framework/framework.gyp ('k') | no next file » | 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) 2012 Google Inc. All rights reserved. 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 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 'copies' with app bundles are handled correctly. 8 Verifies that 'copies' with app bundles are handled correctly.
9 """ 9 """
10 10
(...skipping 28 matching lines...) Expand all
39 mtime = os.path.getmtime(dep_bundle) 39 mtime = os.path.getmtime(dep_bundle)
40 atime = os.path.getatime(dep_bundle) 40 atime = os.path.getatime(dep_bundle)
41 for i in range(3): 41 for i in range(3):
42 os.utime(dep_bundle, (atime + i * 1000, mtime + i * 1000)) 42 os.utime(dep_bundle, (atime + i * 1000, mtime + i * 1000))
43 test.build('framework.gyp', 'copy_target', chdir='framework') 43 test.build('framework.gyp', 'copy_target', chdir='framework')
44 44
45 45
46 # Check that actions ran. 46 # Check that actions ran.
47 test.built_file_must_exist('action_file', chdir='framework') 47 test.built_file_must_exist('action_file', chdir='framework')
48 48
49 # Test that a copy with the "Code Sign on Copy" flag on succeeds.
50 test.build('framework.gyp', 'copy_target_code_sign', chdir='framework')
51
49 test.pass_test() 52 test.pass_test()
OLDNEW
« no previous file with comments | « test/mac/framework/framework.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698