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

Side by Side Diff: test/prune_targets/gyptest-prune-targets.py

Issue 24803004: Add an option to prune unwanted targets (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 7 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
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2013 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 --prune-targets removes the unnecessary targets.
9 """
10
11 import TestGyp
12
13 test = TestGyp.TestGyp()
14
15 test.run_gyp('test1.gyp', '--prune-targets')
16
17 test.build('test1.gyp', 'lib_wanted')
18 test.build('test1.gyp', 'lib_wanted2')
19 test.build('test1.gyp', 'lib_unwanted', status=1, stderr=None)
20 test.build('test1.gyp', 'program')
21
22 test.pass_test()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698