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

Side by Side Diff: trunk/test/dependencies/gyptest-lib-only.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 2 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) 2009 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
3 """ 7 """
4 Verify that a link time only dependency will get pulled into the set of built 8 Verify that a link time only dependency will get pulled into the set of built
5 targets, even if no executable uses it. 9 targets, even if no executable uses it.
6 """ 10 """
7 11
8 import TestGyp 12 import TestGyp
9 13
10 test = TestGyp.TestGyp() 14 test = TestGyp.TestGyp()
11 15
12 test.run_gyp('lib_only.gyp') 16 test.run_gyp('lib_only.gyp')
(...skipping 12 matching lines...) Expand all
25 # into the generated sln/_main.scons, since not doing so confuses users. 29 # into the generated sln/_main.scons, since not doing so confuses users.
26 # This is not currently implemented on mac, which has the opposite behavior. 30 # This is not currently implemented on mac, which has the opposite behavior.
27 if test.format == 'xcode': 31 if test.format == 'xcode':
28 test.built_lib_must_not_exist('b') 32 test.built_lib_must_not_exist('b')
29 elif test.format == 'make': 33 elif test.format == 'make':
30 test.built_lib_must_exist('b', libdir='obj.target/b') 34 test.built_lib_must_exist('b', libdir='obj.target/b')
31 else: 35 else:
32 test.built_lib_must_exist('b') 36 test.built_lib_must_exist('b')
33 37
34 test.pass_test() 38 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698