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

Side by Side Diff: test/copies/gyptest-sourceless-shared-lib.py

Issue 1518313002: ninja: Correctly handle copies steps in sourceless shared_library targets. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: win Created 5 years 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
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/copies/src/copies-sourceless-shared-lib.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
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
7 """
8 Verifies copies in sourceless shared_library targets are executed.
9 """
10
11 import TestGyp
12
13 test = TestGyp.TestGyp()
14 test.run_gyp('copies-sourceless-shared-lib.gyp',
15 chdir='src')
scottmg 2015/12/14 19:24:51 It looks like this would fit on the line above.
Nico 2015/12/14 19:54:53 Done.
16 test.relocate('src', 'relocate/src')
17 test.build('copies-sourceless-shared-lib.gyp', chdir='relocate/src')
18 test.built_file_must_match('copies-out/file1',
19 'file1 contents\n',
20 chdir='relocate/src')
21 test.pass_test()
OLDNEW
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/copies/src/copies-sourceless-shared-lib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698