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

Side by Side Diff: test/msvs/shared_output/gyptest-shared_output.py

Issue 10378042: Correct the order in which OutputDirectory and IntermediateDirectory are defined. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 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/msvs/shared_output/common.gypi ('k') | test/msvs/shared_output/hello.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
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
5 # found in the LICENSE file.
6
7 """
8 Test checking that IntermediateDirectory can be defined in terms of
9 OutputDirectory. We previously had emitted the definition of
10 IntermediateDirectory before the definition of OutputDirectory.
11 This is required so that $(IntDir) can be based on $(OutDir).
12 """
13
14 import TestGyp
15 import os
16
17 # NOTE: This test really is vcbuild/msbuild specific (not applicable to windows
18 # ninja), as it is testing the msvs output location when opening an .sln
19 # other than all.sln.
20 test = TestGyp.TestGyp(workdir='workarea_shared_output', formats=['msvs'])
21
22 test.run_gyp('hello.gyp')
23 test.set_configuration('Baz')
24
25 test.build('there/there.gyp', test.ALL)
26 test.must_exist(os.path.join(test.workdir, 'foo', 'there.exe'))
27 test.must_exist(os.path.join(test.workdir, 'foo', 'bar', 'there.obj'))
28
29 test.build('hello.gyp', test.ALL)
30 test.must_exist(os.path.join(test.workdir, 'foo', 'hello.exe'))
31 test.must_exist(os.path.join(test.workdir, 'foo', 'bar', 'hello.obj'))
32
33 test.pass_test()
OLDNEW
« no previous file with comments | « test/msvs/shared_output/common.gypi ('k') | test/msvs/shared_output/hello.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698