OLD | NEW |
---|---|
1 # Copyright 2014 the V8 project authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Please keep this file in sync with BUILD.gn. | 5 # Please keep this file in sync with BUILD.gn. |
6 | 6 |
7 { | 7 { |
8 'variables': { | 8 'variables': { |
9 'v8_code': 1, | 9 'v8_code': 1, |
10 'unittests_sources': [ ### gcmole(all) ### | |
11 'base/atomic-utils-unittest.cc', | |
12 'base/bits-unittest.cc', | |
13 'base/cpu-unittest.cc', | |
14 'base/division-by-constant-unittest.cc', | |
15 'base/flags-unittest.cc', | |
16 'base/functional-unittest.cc', | |
17 'base/ieee754-unittest.cc', | |
18 'base/logging-unittest.cc', | |
19 'base/iterator-unittest.cc', | |
20 'base/platform/condition-variable-unittest.cc', | |
21 'base/platform/mutex-unittest.cc', | |
22 'base/platform/platform-unittest.cc', | |
23 'base/platform/semaphore-unittest.cc', | |
24 'base/platform/time-unittest.cc', | |
25 'base/sys-info-unittest.cc', | |
26 'base/utils/random-number-generator-unittest.cc', | |
27 'cancelable-tasks-unittest.cc', | |
28 'char-predicates-unittest.cc', | |
29 'compiler/branch-elimination-unittest.cc', | |
30 'compiler/checkpoint-elimination-unittest.cc', | |
31 'compiler/common-operator-reducer-unittest.cc', | |
32 'compiler/common-operator-unittest.cc', | |
33 'compiler/compiler-test-utils.h', | |
34 'compiler/control-equivalence-unittest.cc', | |
35 'compiler/control-flow-optimizer-unittest.cc', | |
36 'compiler/dead-code-elimination-unittest.cc', | |
37 'compiler/diamond-unittest.cc', | |
38 'compiler/effect-control-linearizer-unittest.cc', | |
39 'compiler/escape-analysis-unittest.cc', | |
40 'compiler/graph-reducer-unittest.cc', | |
41 'compiler/graph-reducer-unittest.h', | |
42 'compiler/graph-trimmer-unittest.cc', | |
43 'compiler/graph-unittest.cc', | |
44 'compiler/graph-unittest.h', | |
45 'compiler/instruction-selector-unittest.cc', | |
46 'compiler/instruction-selector-unittest.h', | |
47 'compiler/instruction-sequence-unittest.cc', | |
48 'compiler/instruction-sequence-unittest.h', | |
49 'compiler/int64-lowering-unittest.cc', | |
50 'compiler/js-builtin-reducer-unittest.cc', | |
51 'compiler/js-create-lowering-unittest.cc', | |
52 'compiler/js-intrinsic-lowering-unittest.cc', | |
53 'compiler/js-operator-unittest.cc', | |
54 'compiler/js-typed-lowering-unittest.cc', | |
55 'compiler/linkage-tail-call-unittest.cc', | |
56 'compiler/liveness-analyzer-unittest.cc', | |
57 'compiler/live-range-unittest.cc', | |
58 'compiler/load-elimination-unittest.cc', | |
59 'compiler/loop-peeling-unittest.cc', | |
60 'compiler/machine-operator-reducer-unittest.cc', | |
61 'compiler/machine-operator-unittest.cc', | |
62 'compiler/move-optimizer-unittest.cc', | |
63 'compiler/node-cache-unittest.cc', | |
64 'compiler/node-matchers-unittest.cc', | |
65 'compiler/node-properties-unittest.cc', | |
66 'compiler/node-test-utils.cc', | |
67 'compiler/node-test-utils.h', | |
68 'compiler/node-unittest.cc', | |
69 'compiler/opcodes-unittest.cc', | |
70 'compiler/register-allocator-unittest.cc', | |
71 'compiler/schedule-unittest.cc', | |
72 'compiler/scheduler-unittest.cc', | |
73 'compiler/scheduler-rpo-unittest.cc', | |
74 'compiler/simplified-operator-reducer-unittest.cc', | |
75 'compiler/simplified-operator-unittest.cc', | |
76 'compiler/state-values-utils-unittest.cc', | |
77 'compiler/tail-call-optimization-unittest.cc', | |
78 'compiler/typer-unittest.cc', | |
79 'compiler/value-numbering-reducer-unittest.cc', | |
80 'compiler/zone-pool-unittest.cc', | |
81 'counters-unittest.cc', | |
82 'interpreter/bytecodes-unittest.cc', | |
83 'interpreter/bytecode-array-builder-unittest.cc', | |
84 'interpreter/bytecode-array-iterator-unittest.cc', | |
85 'interpreter/bytecode-array-writer-unittest.cc', | |
86 'interpreter/bytecode-dead-code-optimizer-unittest.cc', | |
87 'interpreter/bytecode-peephole-optimizer-unittest.cc', | |
88 'interpreter/bytecode-pipeline-unittest.cc', | |
89 'interpreter/bytecode-register-allocator-unittest.cc', | |
90 'interpreter/bytecode-register-optimizer-unittest.cc', | |
91 'interpreter/constant-array-builder-unittest.cc', | |
92 'interpreter/interpreter-assembler-unittest.cc', | |
93 'interpreter/interpreter-assembler-unittest.h', | |
94 'interpreter/source-position-table-unittest.cc', | |
95 'libplatform/default-platform-unittest.cc', | |
96 'libplatform/task-queue-unittest.cc', | |
97 'libplatform/worker-thread-unittest.cc', | |
98 'heap/bitmap-unittest.cc', | |
99 'heap/gc-idle-time-handler-unittest.cc', | |
100 'heap/gc-tracer-unittest.cc', | |
101 'heap/memory-reducer-unittest.cc', | |
102 'heap/heap-unittest.cc', | |
103 'heap/scavenge-job-unittest.cc', | |
104 'heap/slot-set-unittest.cc', | |
105 'locked-queue-unittest.cc', | |
106 'register-configuration-unittest.cc', | |
107 'run-all-unittests.cc', | |
108 'test-utils.h', | |
109 'test-utils.cc', | |
110 'wasm/asm-types-unittest.cc', | |
111 'wasm/ast-decoder-unittest.cc', | |
112 'wasm/control-transfer-unittest.cc', | |
113 'wasm/decoder-unittest.cc', | |
114 'wasm/encoder-unittest.cc', | |
115 'wasm/leb-helper-unittest.cc', | |
116 'wasm/loop-assignment-analysis-unittest.cc', | |
117 'wasm/module-decoder-unittest.cc', | |
118 'wasm/switch-logic-unittest.cc', | |
119 'wasm/wasm-macro-gen-unittest.cc', | |
120 ], | |
121 'unittests_sources_arm': [ ### gcmole(arch:arm) ### | |
122 'compiler/arm/instruction-selector-arm-unittest.cc', | |
123 ], | |
124 'unittests_sources_arm64': [ ### gcmole(arch:arm64) ### | |
125 'compiler/arm64/instruction-selector-arm64-unittest.cc', | |
126 ], | |
127 'unittests_sources_ia32': [ ### gcmole(arch:ia32) ### | |
128 'compiler/ia32/instruction-selector-ia32-unittest.cc', | |
129 ], | |
130 'unittests_sources_mips': [ ### gcmole(arch:mips) ### | |
131 'compiler/mips/instruction-selector-mips-unittest.cc', | |
132 ], | |
133 'unittests_sources_mips64': [ ### gcmole(arch:mips64) ### | |
134 'compiler/mips64/instruction-selector-mips64-unittest.cc', | |
135 ], | |
136 'unittests_sources_x64': [ ### gcmole(arch:x64) ### | |
137 'compiler/x64/instruction-selector-x64-unittest.cc', | |
138 ], | |
139 'unittests_sources_ppc': [ ### gcmole(arch:ppc) ### | |
140 'compiler/ppc/instruction-selector-ppc-unittest.cc', | |
141 ], | |
142 'unittests_sources_s390': [ ### gcmole(arch:s390) ### | |
143 'compiler/s390/instruction-selector-s390-unittest.cc', | |
144 ], | |
10 }, | 145 }, |
11 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], | 146 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
12 'targets': [ | 147 'targets': [ |
13 { | 148 { |
14 'target_name': 'unittests', | 149 'target_name': 'unittests', |
15 'type': 'executable', | 150 'type': 'executable', |
16 'variables': { | 151 'variables': { |
17 'optimize': 'max', | 152 'optimize': 'max', |
18 }, | 153 }, |
19 'dependencies': [ | 154 'dependencies': [ |
20 '../../testing/gmock.gyp:gmock', | 155 '../../testing/gmock.gyp:gmock', |
21 '../../testing/gtest.gyp:gtest', | 156 '../../testing/gtest.gyp:gtest', |
22 '../../src/v8.gyp:v8_libplatform', | 157 '../../src/v8.gyp:v8_libplatform', |
23 ], | 158 ], |
24 'include_dirs': [ | 159 'include_dirs': [ |
25 '../..', | 160 '../..', |
26 ], | 161 ], |
27 'sources': [ ### gcmole(all) ### | 162 'sources': [ |
28 'base/atomic-utils-unittest.cc', | 163 '<@(unittests_sources)', |
29 'base/bits-unittest.cc', | |
30 'base/cpu-unittest.cc', | |
31 'base/division-by-constant-unittest.cc', | |
32 'base/flags-unittest.cc', | |
33 'base/functional-unittest.cc', | |
34 'base/ieee754-unittest.cc', | |
35 'base/logging-unittest.cc', | |
36 'base/iterator-unittest.cc', | |
37 'base/platform/condition-variable-unittest.cc', | |
38 'base/platform/mutex-unittest.cc', | |
39 'base/platform/platform-unittest.cc', | |
40 'base/platform/semaphore-unittest.cc', | |
41 'base/platform/time-unittest.cc', | |
42 'base/sys-info-unittest.cc', | |
43 'base/utils/random-number-generator-unittest.cc', | |
44 'cancelable-tasks-unittest.cc', | |
45 'char-predicates-unittest.cc', | |
46 'compiler/branch-elimination-unittest.cc', | |
47 'compiler/checkpoint-elimination-unittest.cc', | |
48 'compiler/common-operator-reducer-unittest.cc', | |
49 'compiler/common-operator-unittest.cc', | |
50 'compiler/compiler-test-utils.h', | |
51 'compiler/control-equivalence-unittest.cc', | |
52 'compiler/control-flow-optimizer-unittest.cc', | |
53 'compiler/dead-code-elimination-unittest.cc', | |
54 'compiler/diamond-unittest.cc', | |
55 'compiler/effect-control-linearizer-unittest.cc', | |
56 'compiler/escape-analysis-unittest.cc', | |
57 'compiler/graph-reducer-unittest.cc', | |
58 'compiler/graph-reducer-unittest.h', | |
59 'compiler/graph-trimmer-unittest.cc', | |
60 'compiler/graph-unittest.cc', | |
61 'compiler/graph-unittest.h', | |
62 'compiler/instruction-selector-unittest.cc', | |
63 'compiler/instruction-selector-unittest.h', | |
64 'compiler/instruction-sequence-unittest.cc', | |
65 'compiler/instruction-sequence-unittest.h', | |
66 'compiler/int64-lowering-unittest.cc', | |
67 'compiler/js-builtin-reducer-unittest.cc', | |
68 'compiler/js-create-lowering-unittest.cc', | |
69 'compiler/js-intrinsic-lowering-unittest.cc', | |
70 'compiler/js-operator-unittest.cc', | |
71 'compiler/js-typed-lowering-unittest.cc', | |
72 'compiler/linkage-tail-call-unittest.cc', | |
73 'compiler/liveness-analyzer-unittest.cc', | |
74 'compiler/live-range-unittest.cc', | |
75 'compiler/load-elimination-unittest.cc', | |
76 'compiler/loop-peeling-unittest.cc', | |
77 'compiler/machine-operator-reducer-unittest.cc', | |
78 'compiler/machine-operator-unittest.cc', | |
79 'compiler/move-optimizer-unittest.cc', | |
80 'compiler/node-cache-unittest.cc', | |
81 'compiler/node-matchers-unittest.cc', | |
82 'compiler/node-properties-unittest.cc', | |
83 'compiler/node-test-utils.cc', | |
84 'compiler/node-test-utils.h', | |
85 'compiler/node-unittest.cc', | |
86 'compiler/opcodes-unittest.cc', | |
87 'compiler/register-allocator-unittest.cc', | |
88 'compiler/schedule-unittest.cc', | |
89 'compiler/scheduler-unittest.cc', | |
90 'compiler/scheduler-rpo-unittest.cc', | |
91 'compiler/simplified-operator-reducer-unittest.cc', | |
92 'compiler/simplified-operator-unittest.cc', | |
93 'compiler/state-values-utils-unittest.cc', | |
94 'compiler/tail-call-optimization-unittest.cc', | |
95 'compiler/typer-unittest.cc', | |
96 'compiler/value-numbering-reducer-unittest.cc', | |
97 'compiler/zone-pool-unittest.cc', | |
98 'counters-unittest.cc', | |
99 'interpreter/bytecodes-unittest.cc', | |
100 'interpreter/bytecode-array-builder-unittest.cc', | |
101 'interpreter/bytecode-array-iterator-unittest.cc', | |
102 'interpreter/bytecode-array-writer-unittest.cc', | |
103 'interpreter/bytecode-dead-code-optimizer-unittest.cc', | |
104 'interpreter/bytecode-peephole-optimizer-unittest.cc', | |
105 'interpreter/bytecode-pipeline-unittest.cc', | |
106 'interpreter/bytecode-register-allocator-unittest.cc', | |
107 'interpreter/bytecode-register-optimizer-unittest.cc', | |
108 'interpreter/constant-array-builder-unittest.cc', | |
109 'interpreter/interpreter-assembler-unittest.cc', | |
110 'interpreter/interpreter-assembler-unittest.h', | |
111 'interpreter/source-position-table-unittest.cc', | |
112 'libplatform/default-platform-unittest.cc', | |
113 'libplatform/task-queue-unittest.cc', | |
114 'libplatform/worker-thread-unittest.cc', | |
115 'heap/bitmap-unittest.cc', | |
116 'heap/gc-idle-time-handler-unittest.cc', | |
117 'heap/gc-tracer-unittest.cc', | |
118 'heap/memory-reducer-unittest.cc', | |
119 'heap/heap-unittest.cc', | |
120 'heap/scavenge-job-unittest.cc', | |
121 'heap/slot-set-unittest.cc', | |
122 'locked-queue-unittest.cc', | |
123 'register-configuration-unittest.cc', | |
124 'run-all-unittests.cc', | |
125 'test-utils.h', | |
126 'test-utils.cc', | |
127 'wasm/asm-types-unittest.cc', | |
128 'wasm/ast-decoder-unittest.cc', | |
129 'wasm/control-transfer-unittest.cc', | |
130 'wasm/decoder-unittest.cc', | |
131 'wasm/encoder-unittest.cc', | |
132 'wasm/leb-helper-unittest.cc', | |
133 'wasm/loop-assignment-analysis-unittest.cc', | |
134 'wasm/module-decoder-unittest.cc', | |
135 'wasm/switch-logic-unittest.cc', | |
136 'wasm/wasm-macro-gen-unittest.cc', | |
137 ], | 164 ], |
138 'conditions': [ | 165 'conditions': [ |
139 ['v8_target_arch=="arm"', { | 166 ['v8_target_arch=="arm"', { |
140 'sources': [ ### gcmole(arch:arm) ### | 167 'sources': [ |
141 'compiler/arm/instruction-selector-arm-unittest.cc', | 168 '<@(unittests_sources_arm)', |
142 ], | 169 ], |
143 }], | 170 }], |
144 ['v8_target_arch=="arm64"', { | 171 ['v8_target_arch=="arm64"', { |
145 'sources': [ ### gcmole(arch:arm64) ### | 172 'sources': [ |
146 'compiler/arm64/instruction-selector-arm64-unittest.cc', | 173 '<@(unittests_sources_arm64)', |
147 ], | 174 ], |
148 }], | 175 }], |
149 ['v8_target_arch=="ia32"', { | 176 ['v8_target_arch=="ia32"', { |
150 'sources': [ ### gcmole(arch:ia32) ### | 177 'sources': [ |
151 'compiler/ia32/instruction-selector-ia32-unittest.cc', | 178 '<@(unittests_sources_ia32)', |
152 ], | 179 ], |
153 }], | 180 }], |
154 ['v8_target_arch=="mips"', { | 181 ['v8_target_arch=="mips"', { |
155 'sources': [ ### gcmole(arch:mips) ### | 182 'sources': [ |
156 'compiler/mips/instruction-selector-mips-unittest.cc', | 183 '<@(unittests_sources_mips)', |
157 ], | 184 ], |
158 }], | 185 }], |
159 ['v8_target_arch=="mipsel"', { | 186 ['v8_target_arch=="mipsel"', { |
160 'sources': [ ### gcmole(arch:mipsel) ### | 187 'sources': [ |
161 'compiler/mips/instruction-selector-mips-unittest.cc', | 188 '<@(unittests_sources_mips)', |
Michael Achenbach
2016/06/27 11:40:19
Making the same simplifications as in current BUIL
| |
162 ], | 189 ], |
163 }], | 190 }], |
164 ['v8_target_arch=="mips64"', { | 191 ['v8_target_arch=="mips64"', { |
165 'sources': [ ### gcmole(arch:mips64) ### | 192 'sources': [ |
166 'compiler/mips64/instruction-selector-mips64-unittest.cc', | 193 '<@(unittests_sources_mips64)', |
167 ], | 194 ], |
168 }], | 195 }], |
169 ['v8_target_arch=="mips64el"', { | 196 ['v8_target_arch=="mips64el"', { |
170 'sources': [ ### gcmole(arch:mips64el) ### | 197 'sources': [ |
171 'compiler/mips64/instruction-selector-mips64-unittest.cc', | 198 '<@(unittests_sources_mips64)', |
172 ], | 199 ], |
173 }], | 200 }], |
174 ['v8_target_arch=="x64"', { | 201 ['v8_target_arch=="x64"', { |
175 'sources': [ ### gcmole(arch:x64) ### | 202 'sources': [ |
176 'compiler/x64/instruction-selector-x64-unittest.cc', | 203 '<@(unittests_sources_x64)', |
177 ], | 204 ], |
178 }], | 205 }], |
179 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { | 206 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { |
180 'sources': [ ### gcmole(arch:ppc) ### | 207 'sources': [ |
181 'compiler/ppc/instruction-selector-ppc-unittest.cc', | 208 '<@(unittests_sources_ppc)', |
182 ], | 209 ], |
183 }], | 210 }], |
184 ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { | 211 ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { |
185 'sources': [ ### gcmole(arch:s390) ### | 212 'sources': [ |
186 'compiler/s390/instruction-selector-s390-unittest.cc', | 213 '<@(unittests_sources_s390)', |
187 ], | 214 ], |
188 }], | 215 }], |
189 ['OS=="aix"', { | 216 ['OS=="aix"', { |
190 'ldflags': [ '-Wl,-bbigtoc' ], | 217 'ldflags': [ '-Wl,-bbigtoc' ], |
191 }], | 218 }], |
192 ['component=="shared_library"', { | 219 ['component=="shared_library"', { |
193 # compiler-unittests can't be built against a shared library, so we | 220 # compiler-unittests can't be built against a shared library, so we |
194 # need to depend on the underlying static target in that case. | 221 # need to depend on the underlying static target in that case. |
195 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], | 222 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
196 }, { | 223 }, { |
(...skipping 27 matching lines...) Expand all Loading... | |
224 '../../gypfiles/isolate.gypi', | 251 '../../gypfiles/isolate.gypi', |
225 ], | 252 ], |
226 'sources': [ | 253 'sources': [ |
227 'unittests.isolate', | 254 'unittests.isolate', |
228 ], | 255 ], |
229 }, | 256 }, |
230 ], | 257 ], |
231 }], | 258 }], |
232 ], | 259 ], |
233 } | 260 } |
OLD | NEW |