OLD | NEW |
| (Empty) |
1 # Copyright 2014 the V8 project authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'v8_code': 1, | |
8 }, | |
9 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], | |
10 'targets': [ | |
11 { | |
12 'target_name': 'compiler-unittests', | |
13 'type': 'executable', | |
14 'dependencies': [ | |
15 '../test/test.gyp:run-all-unittests', | |
16 ], | |
17 'include_dirs': [ | |
18 '../..', | |
19 ], | |
20 'sources': [ ### gcmole(all) ### | |
21 'change-lowering-unittest.cc', | |
22 'common-operator-unittest.cc', | |
23 'compiler-test-utils.h', | |
24 'graph-reducer-unittest.cc', | |
25 'graph-unittest.cc', | |
26 'graph-unittest.h', | |
27 'instruction-selector-unittest.cc', | |
28 'instruction-selector-unittest.h', | |
29 'js-builtin-reducer-unittest.cc', | |
30 'js-operator-unittest.cc', | |
31 'machine-operator-reducer-unittest.cc', | |
32 'machine-operator-unittest.cc', | |
33 'simplified-operator-reducer-unittest.cc', | |
34 'simplified-operator-unittest.cc', | |
35 'value-numbering-reducer-unittest.cc', | |
36 ], | |
37 'conditions': [ | |
38 ['v8_target_arch=="arm"', { | |
39 'sources': [ ### gcmole(arch:arm) ### | |
40 'arm/instruction-selector-arm-unittest.cc', | |
41 ], | |
42 }], | |
43 ['v8_target_arch=="arm64"', { | |
44 'sources': [ ### gcmole(arch:arm64) ### | |
45 'arm64/instruction-selector-arm64-unittest.cc', | |
46 ], | |
47 }], | |
48 ['v8_target_arch=="ia32"', { | |
49 'sources': [ ### gcmole(arch:ia32) ### | |
50 'ia32/instruction-selector-ia32-unittest.cc', | |
51 ], | |
52 }], | |
53 ['v8_target_arch=="x64"', { | |
54 'sources': [ ### gcmole(arch:x64) ### | |
55 'x64/instruction-selector-x64-unittest.cc', | |
56 ], | |
57 }], | |
58 ], | |
59 }, | |
60 ], | |
61 } | |
OLD | NEW |