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

Side by Side Diff: trunk/test/subdirectory/gyptest-top-default.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, 1 month 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 Verifies building a target and a subsidiary dependent target from a 8 Verifies building a target and a subsidiary dependent target from a
5 .gyp file in a subdirectory, without specifying an explicit output build 9 .gyp file in a subdirectory, without specifying an explicit output build
6 directory, and using the generated solution or project file at the top 10 directory, and using the generated solution or project file at the top
7 of the tree as the entry point. 11 of the tree as the entry point.
8 12
9 There is a difference here in the default behavior of the underlying 13 There is a difference here in the default behavior of the underlying
10 build tools. Specifically, when building the entire "solution", Xcode 14 build tools. Specifically, when building the entire "solution", Xcode
11 puts the output of each project relative to the .xcodeproj directory, 15 puts the output of each project relative to the .xcodeproj directory,
12 while Visual Studio (and our implementations of SCons and Make) put it 16 while Visual Studio (and our implementations of SCons and Make) put it
(...skipping 17 matching lines...) Expand all
30 34
31 if test.format == 'xcode': 35 if test.format == 'xcode':
32 chdir = 'relocate/src/subdir' 36 chdir = 'relocate/src/subdir'
33 else: 37 else:
34 chdir = 'relocate/src' 38 chdir = 'relocate/src'
35 test.run_built_executable('prog2', 39 test.run_built_executable('prog2',
36 chdir=chdir, 40 chdir=chdir,
37 stdout="Hello from prog2.c\n") 41 stdout="Hello from prog2.c\n")
38 42
39 test.pass_test() 43 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698