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

Side by Side Diff: test/product/gyptest-product.py

Issue 1131213003: Remove the Android generator. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Created 5 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
« no previous file with comments | « test/no-cpp/gyptest-no-cpp.py ('k') | test/prune_targets/gyptest-prune-targets.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2012 Google Inc. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """ 7 """
8 Verifies simplest-possible build of a "Hello, world!" program 8 Verifies simplest-possible build of a "Hello, world!" program
9 using the default build target. 9 using the default build target.
10 """ 10 """
11 11
12 import TestGyp 12 import TestGyp
13 13
14 # Android does not support setting the build directory. 14 test = TestGyp.TestGyp()
15 test = TestGyp.TestGyp(formats=['!android'])
16 15
17 test.run_gyp('product.gyp') 16 test.run_gyp('product.gyp')
18 test.build('product.gyp') 17 test.build('product.gyp')
19 18
20 # executables 19 # executables
21 test.built_file_must_exist('alt1' + test._exe, test.EXECUTABLE, bare=True) 20 test.built_file_must_exist('alt1' + test._exe, test.EXECUTABLE, bare=True)
22 test.built_file_must_exist('hello2.stuff', test.EXECUTABLE, bare=True) 21 test.built_file_must_exist('hello2.stuff', test.EXECUTABLE, bare=True)
23 test.built_file_must_exist('yoalt3.stuff', test.EXECUTABLE, bare=True) 22 test.built_file_must_exist('yoalt3.stuff', test.EXECUTABLE, bare=True)
24 23
25 # shared libraries 24 # shared libraries
26 test.built_file_must_exist(test.dll_ + 'alt4' + test._dll, 25 test.built_file_must_exist(test.dll_ + 'alt4' + test._dll,
27 test.SHARED_LIB, bare=True) 26 test.SHARED_LIB, bare=True)
28 test.built_file_must_exist(test.dll_ + 'hello5.stuff', 27 test.built_file_must_exist(test.dll_ + 'hello5.stuff',
29 test.SHARED_LIB, bare=True) 28 test.SHARED_LIB, bare=True)
30 test.built_file_must_exist('yoalt6.stuff', test.SHARED_LIB, bare=True) 29 test.built_file_must_exist('yoalt6.stuff', test.SHARED_LIB, bare=True)
31 30
32 # static libraries 31 # static libraries
33 test.built_file_must_exist(test.lib_ + 'alt7' + test._lib, 32 test.built_file_must_exist(test.lib_ + 'alt7' + test._lib,
34 test.STATIC_LIB, bare=True) 33 test.STATIC_LIB, bare=True)
35 test.built_file_must_exist(test.lib_ + 'hello8.stuff', 34 test.built_file_must_exist(test.lib_ + 'hello8.stuff',
36 test.STATIC_LIB, bare=True) 35 test.STATIC_LIB, bare=True)
37 test.built_file_must_exist('yoalt9.stuff', test.STATIC_LIB, bare=True) 36 test.built_file_must_exist('yoalt9.stuff', test.STATIC_LIB, bare=True)
38 37
39 # alternate product_dir 38 # alternate product_dir
40 test.built_file_must_exist('bob/yoalt10.stuff', test.EXECUTABLE, bare=True) 39 test.built_file_must_exist('bob/yoalt10.stuff', test.EXECUTABLE, bare=True)
41 test.built_file_must_exist('bob/yoalt11.stuff', test.EXECUTABLE, bare=True) 40 test.built_file_must_exist('bob/yoalt11.stuff', test.EXECUTABLE, bare=True)
42 test.built_file_must_exist('bob/yoalt12.stuff', test.EXECUTABLE, bare=True) 41 test.built_file_must_exist('bob/yoalt12.stuff', test.EXECUTABLE, bare=True)
43 42
44 test.pass_test() 43 test.pass_test()
OLDNEW
« no previous file with comments | « test/no-cpp/gyptest-no-cpp.py ('k') | test/prune_targets/gyptest-prune-targets.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698