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

Side by Side Diff: trunk/test/subdirectory/gyptest-SYMROOT-all.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 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 The configuration sets the Xcode SYMROOT variable and uses --depth= 13 The configuration sets the Xcode SYMROOT variable and uses --depth=
10 to make Xcode behave like the other build tools--that is, put all 14 to make Xcode behave like the other build tools--that is, put all
11 built targets in a single output build directory at the top of the tree. 15 built targets in a single output build directory at the top of the tree.
12 """ 16 """
(...skipping 10 matching lines...) Expand all
23 test.build('prog1.gyp', test.ALL, SYMROOT=None, chdir='relocate/src') 27 test.build('prog1.gyp', test.ALL, SYMROOT=None, chdir='relocate/src')
24 28
25 test.run_built_executable('prog1', 29 test.run_built_executable('prog1',
26 stdout="Hello from prog1.c\n", 30 stdout="Hello from prog1.c\n",
27 chdir='relocate/src') 31 chdir='relocate/src')
28 test.run_built_executable('prog2', 32 test.run_built_executable('prog2',
29 stdout="Hello from prog2.c\n", 33 stdout="Hello from prog2.c\n",
30 chdir='relocate/src') 34 chdir='relocate/src')
31 35
32 test.pass_test() 36 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698