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

Side by Side Diff: test/mac/gyptest-sourceless-module.py

Issue 23916002: ninja/mac: Don't write an empty binary into sourceless bundles. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 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
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 bundles that have no 'sources' (pure resource containers) work. 8 Verifies that bundles that have no 'sources' (pure resource containers) work.
9 """ 9 """
10 10
(...skipping 26 matching lines...) Expand all
37 'test.gyp', 'dependent_on_resource_bundle', chdir='sourceless-module') 37 'test.gyp', 'dependent_on_resource_bundle', chdir='sourceless-module')
38 38
39 test.built_file_must_exist( 39 test.built_file_must_exist(
40 'resource_bundle.bundle/Contents/Resources/foo.manifest', 40 'resource_bundle.bundle/Contents/Resources/foo.manifest',
41 chdir='sourceless-module') 41 chdir='sourceless-module')
42 test.built_file_must_not_exist( 42 test.built_file_must_not_exist(
43 'resource_bundle.bundle/Contents/MacOS/resource_bundle', 43 'resource_bundle.bundle/Contents/MacOS/resource_bundle',
44 chdir='sourceless-module') 44 chdir='sourceless-module')
45 45
46 test.pass_test() 46 test.pass_test()
OLDNEW
« pylib/gyp/generator/ninja.py ('K') | « test/mac/gyptest-sourceless-module.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698