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

Side by Side Diff: test/cctest/BUILD.gn

Issue 2346103002: Fix BUILD.gn files and add presubmit step (Closed)
Patch Set: windows Created 4 years, 3 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 | « src/v8.gyp ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The V8 project authors. All rights reserved. 1 # Copyright 2016 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 import("../../gni/v8.gni") 5 import("../../gni/v8.gni")
6 6
7 v8_executable("cctest") { 7 v8_executable("cctest") {
8 testonly = true 8 testonly = true
9 9
10 sources = [ 10 sources = [
11 "$target_gen_dir/resources.cc", 11 "$target_gen_dir/resources.cc",
12 "asmjs/test-asm-typer.cc", 12 "asmjs/test-asm-typer.cc",
13 "ast-types-fuzz.h",
13 "cctest.cc", 14 "cctest.cc",
15 "cctest.h",
14 "compiler/c-signature.h", 16 "compiler/c-signature.h",
17 "compiler/call-tester.h",
15 "compiler/code-assembler-tester.h", 18 "compiler/code-assembler-tester.h",
16 "compiler/codegen-tester.cc", 19 "compiler/codegen-tester.cc",
17 "compiler/codegen-tester.h", 20 "compiler/codegen-tester.h",
18 "compiler/function-tester.cc", 21 "compiler/function-tester.cc",
19 "compiler/function-tester.h", 22 "compiler/function-tester.h",
20 "compiler/graph-builder-tester.h", 23 "compiler/graph-builder-tester.h",
21 "compiler/test-basic-block-profiler.cc", 24 "compiler/test-basic-block-profiler.cc",
22 "compiler/test-branch-combine.cc", 25 "compiler/test-branch-combine.cc",
23 "compiler/test-code-assembler.cc", 26 "compiler/test-code-assembler.cc",
24 "compiler/test-gap-resolver.cc", 27 "compiler/test-gap-resolver.cc",
(...skipping 23 matching lines...) Expand all
48 "compiler/test-run-jsobjects.cc", 51 "compiler/test-run-jsobjects.cc",
49 "compiler/test-run-jsops.cc", 52 "compiler/test-run-jsops.cc",
50 "compiler/test-run-load-store.cc", 53 "compiler/test-run-load-store.cc",
51 "compiler/test-run-machops.cc", 54 "compiler/test-run-machops.cc",
52 "compiler/test-run-native-calls.cc", 55 "compiler/test-run-native-calls.cc",
53 "compiler/test-run-stackcheck.cc", 56 "compiler/test-run-stackcheck.cc",
54 "compiler/test-run-stubs.cc", 57 "compiler/test-run-stubs.cc",
55 "compiler/test-run-unwinding-info.cc", 58 "compiler/test-run-unwinding-info.cc",
56 "compiler/test-run-variables.cc", 59 "compiler/test-run-variables.cc",
57 "compiler/test-run-wasm-machops.cc", 60 "compiler/test-run-wasm-machops.cc",
61 "compiler/value-helper.h",
62 "expression-type-collector-macros.h",
58 "gay-fixed.cc", 63 "gay-fixed.cc",
64 "gay-fixed.h",
59 "gay-precision.cc", 65 "gay-precision.cc",
66 "gay-precision.h",
60 "gay-shortest.cc", 67 "gay-shortest.cc",
68 "gay-shortest.h",
61 "heap/heap-tester.h", 69 "heap/heap-tester.h",
62 "heap/heap-utils.cc", 70 "heap/heap-utils.cc",
63 "heap/heap-utils.h", 71 "heap/heap-utils.h",
64 "heap/test-alloc.cc", 72 "heap/test-alloc.cc",
65 "heap/test-array-buffer-tracker.cc", 73 "heap/test-array-buffer-tracker.cc",
66 "heap/test-compaction.cc", 74 "heap/test-compaction.cc",
67 "heap/test-heap.cc", 75 "heap/test-heap.cc",
68 "heap/test-incremental-marking.cc", 76 "heap/test-incremental-marking.cc",
69 "heap/test-lab.cc", 77 "heap/test-lab.cc",
70 "heap/test-mark-compact.cc", 78 "heap/test-mark-compact.cc",
71 "heap/test-page-promotion.cc", 79 "heap/test-page-promotion.cc",
72 "heap/test-spaces.cc", 80 "heap/test-spaces.cc",
73 "interpreter/bytecode-expectations-printer.cc", 81 "interpreter/bytecode-expectations-printer.cc",
74 "interpreter/bytecode-expectations-printer.h", 82 "interpreter/bytecode-expectations-printer.h",
75 "interpreter/interpreter-tester.cc", 83 "interpreter/interpreter-tester.cc",
84 "interpreter/interpreter-tester.h",
76 "interpreter/source-position-matcher.cc", 85 "interpreter/source-position-matcher.cc",
77 "interpreter/source-position-matcher.h", 86 "interpreter/source-position-matcher.h",
78 "interpreter/test-bytecode-generator.cc", 87 "interpreter/test-bytecode-generator.cc",
79 "interpreter/test-interpreter-intrinsics.cc", 88 "interpreter/test-interpreter-intrinsics.cc",
80 "interpreter/test-interpreter.cc", 89 "interpreter/test-interpreter.cc",
81 "interpreter/test-source-positions.cc", 90 "interpreter/test-source-positions.cc",
82 "libplatform/test-tracing.cc", 91 "libplatform/test-tracing.cc",
83 "libsampler/test-sampler.cc", 92 "libsampler/test-sampler.cc",
84 "parsing/test-scanner-streams.cc", 93 "parsing/test-scanner-streams.cc",
85 "print-extension.cc", 94 "print-extension.cc",
95 "print-extension.h",
86 "profiler-extension.cc", 96 "profiler-extension.cc",
97 "profiler-extension.h",
87 "test-access-checks.cc", 98 "test-access-checks.cc",
88 "test-accessors.cc", 99 "test-accessors.cc",
89 "test-api-accessors.cc", 100 "test-api-accessors.cc",
90 "test-api-fast-accessor-builder.cc", 101 "test-api-fast-accessor-builder.cc",
91 "test-api-interceptors.cc", 102 "test-api-interceptors.cc",
92 "test-api.cc", 103 "test-api.cc",
93 "test-api.h", 104 "test-api.h",
94 "test-array-list.cc", 105 "test-array-list.cc",
95 "test-ast-types.cc", 106 "test-ast-types.cc",
96 "test-ast.cc", 107 "test-ast.cc",
(...skipping 13 matching lines...) Expand all
110 "test-debug.cc", 121 "test-debug.cc",
111 "test-decls.cc", 122 "test-decls.cc",
112 "test-deoptimization.cc", 123 "test-deoptimization.cc",
113 "test-dictionary.cc", 124 "test-dictionary.cc",
114 "test-diy-fp.cc", 125 "test-diy-fp.cc",
115 "test-double.cc", 126 "test-double.cc",
116 "test-dtoa.cc", 127 "test-dtoa.cc",
117 "test-elements-kind.cc", 128 "test-elements-kind.cc",
118 "test-fast-dtoa.cc", 129 "test-fast-dtoa.cc",
119 "test-feedback-vector.cc", 130 "test-feedback-vector.cc",
131 "test-feedback-vector.h",
120 "test-field-type-tracking.cc", 132 "test-field-type-tracking.cc",
121 "test-fixed-dtoa.cc", 133 "test-fixed-dtoa.cc",
122 "test-flags.cc", 134 "test-flags.cc",
123 "test-func-name-inference.cc", 135 "test-func-name-inference.cc",
124 "test-global-handles.cc", 136 "test-global-handles.cc",
125 "test-global-object.cc", 137 "test-global-object.cc",
126 "test-hashing.cc", 138 "test-hashing.cc",
127 "test-hashmap.cc", 139 "test-hashmap.cc",
128 "test-heap-profiler.cc", 140 "test-heap-profiler.cc",
129 "test-hydrogen-types.cc", 141 "test-hydrogen-types.cc",
(...skipping 27 matching lines...) Expand all
157 "test-unbound-queue.cc", 169 "test-unbound-queue.cc",
158 "test-unboxed-doubles.cc", 170 "test-unboxed-doubles.cc",
159 "test-unique.cc", 171 "test-unique.cc",
160 "test-unscopables-hidden-prototype.cc", 172 "test-unscopables-hidden-prototype.cc",
161 "test-usecounters.cc", 173 "test-usecounters.cc",
162 "test-utils.cc", 174 "test-utils.cc",
163 "test-version.cc", 175 "test-version.cc",
164 "test-weakmaps.cc", 176 "test-weakmaps.cc",
165 "test-weaksets.cc", 177 "test-weaksets.cc",
166 "trace-extension.cc", 178 "trace-extension.cc",
179 "trace-extension.h",
180 "types-fuzz.h",
167 "wasm/test-run-wasm-64.cc", 181 "wasm/test-run-wasm-64.cc",
168 "wasm/test-run-wasm-asmjs.cc", 182 "wasm/test-run-wasm-asmjs.cc",
169 "wasm/test-run-wasm-interpreter.cc", 183 "wasm/test-run-wasm-interpreter.cc",
170 "wasm/test-run-wasm-js.cc", 184 "wasm/test-run-wasm-js.cc",
171 "wasm/test-run-wasm-module.cc", 185 "wasm/test-run-wasm-module.cc",
172 "wasm/test-run-wasm-relocation.cc", 186 "wasm/test-run-wasm-relocation.cc",
173 "wasm/test-run-wasm.cc", 187 "wasm/test-run-wasm.cc",
174 "wasm/test-signatures.h", 188 "wasm/test-signatures.h",
175 "wasm/test-wasm-function-name-table.cc", 189 "wasm/test-wasm-function-name-table.cc",
176 "wasm/test-wasm-stack.cc", 190 "wasm/test-wasm-stack.cc",
177 "wasm/test-wasm-trap-position.cc", 191 "wasm/test-wasm-trap-position.cc",
178 "wasm/wasm-run-utils.h", 192 "wasm/wasm-run-utils.h",
179 ] 193 ]
180 194
181 if (v8_current_cpu == "arm") { 195 if (v8_current_cpu == "arm") {
182 sources += [ 196 sources += [
183 "test-assembler-arm.cc", 197 "test-assembler-arm.cc",
184 "test-code-stubs-arm.cc", 198 "test-code-stubs-arm.cc",
185 "test-code-stubs.cc", 199 "test-code-stubs.cc",
200 "test-code-stubs.h",
186 "test-disasm-arm.cc", 201 "test-disasm-arm.cc",
187 "test-macro-assembler-arm.cc", 202 "test-macro-assembler-arm.cc",
188 "test-run-wasm-relocation-arm.cc", 203 "test-run-wasm-relocation-arm.cc",
189 ] 204 ]
190 } else if (v8_current_cpu == "arm64") { 205 } else if (v8_current_cpu == "arm64") {
191 sources += [ 206 sources += [
192 "test-assembler-arm64.cc", 207 "test-assembler-arm64.cc",
193 "test-code-stubs-arm64.cc", 208 "test-code-stubs-arm64.cc",
194 "test-code-stubs.cc", 209 "test-code-stubs.cc",
210 "test-code-stubs.h",
195 "test-disasm-arm64.cc", 211 "test-disasm-arm64.cc",
196 "test-fuzz-arm64.cc", 212 "test-fuzz-arm64.cc",
197 "test-javascript-arm64.cc", 213 "test-javascript-arm64.cc",
198 "test-js-arm64-variables.cc", 214 "test-js-arm64-variables.cc",
199 "test-run-wasm-relocation-arm64.cc", 215 "test-run-wasm-relocation-arm64.cc",
200 "test-utils-arm64.cc", 216 "test-utils-arm64.cc",
217 "test-utils-arm64.h",
201 ] 218 ]
202 } else if (v8_current_cpu == "x86") { 219 } else if (v8_current_cpu == "x86") {
203 sources += [ 220 sources += [
204 "test-assembler-ia32.cc", 221 "test-assembler-ia32.cc",
205 "test-code-stubs-ia32.cc", 222 "test-code-stubs-ia32.cc",
206 "test-code-stubs.cc", 223 "test-code-stubs.cc",
224 "test-code-stubs.h",
207 "test-disasm-ia32.cc", 225 "test-disasm-ia32.cc",
208 "test-log-stack-tracer.cc", 226 "test-log-stack-tracer.cc",
209 "test-macro-assembler-ia32.cc", 227 "test-macro-assembler-ia32.cc",
210 "test-run-wasm-relocation-ia32.cc", 228 "test-run-wasm-relocation-ia32.cc",
211 ] 229 ]
212 } else if (v8_current_cpu == "mips") { 230 } else if (v8_current_cpu == "mips") {
213 sources += [ 231 sources += [
214 "test-assembler-mips.cc", 232 "test-assembler-mips.cc",
215 "test-code-stubs-mips.cc", 233 "test-code-stubs-mips.cc",
216 "test-code-stubs.cc", 234 "test-code-stubs.cc",
235 "test-code-stubs.h",
217 "test-disasm-mips.cc", 236 "test-disasm-mips.cc",
218 "test-macro-assembler-mips.cc", 237 "test-macro-assembler-mips.cc",
219 ] 238 ]
220 } else if (v8_current_cpu == "mipsel") { 239 } else if (v8_current_cpu == "mipsel") {
221 sources += [ 240 sources += [
222 "test-assembler-mips.cc", 241 "test-assembler-mips.cc",
223 "test-code-stubs-mips.cc", 242 "test-code-stubs-mips.cc",
224 "test-code-stubs.cc", 243 "test-code-stubs.cc",
244 "test-code-stubs.h",
225 "test-disasm-mips.cc", 245 "test-disasm-mips.cc",
226 "test-macro-assembler-mips.cc", 246 "test-macro-assembler-mips.cc",
227 ] 247 ]
228 } else if (v8_current_cpu == "mips64") { 248 } else if (v8_current_cpu == "mips64") {
229 sources += [ 249 sources += [
230 "test-assembler-mips64.cc", 250 "test-assembler-mips64.cc",
231 "test-code-stubs-mips64.cc", 251 "test-code-stubs-mips64.cc",
232 "test-code-stubs.cc", 252 "test-code-stubs.cc",
253 "test-code-stubs.h",
233 "test-disasm-mips64.cc", 254 "test-disasm-mips64.cc",
234 "test-macro-assembler-mips64.cc", 255 "test-macro-assembler-mips64.cc",
235 ] 256 ]
236 } else if (v8_current_cpu == "mips64el") { 257 } else if (v8_current_cpu == "mips64el") {
237 sources += [ 258 sources += [
238 "test-assembler-mips64.cc", 259 "test-assembler-mips64.cc",
239 "test-code-stubs-mips64.cc", 260 "test-code-stubs-mips64.cc",
240 "test-code-stubs.cc", 261 "test-code-stubs.cc",
262 "test-code-stubs.h",
241 "test-disasm-mips64.cc", 263 "test-disasm-mips64.cc",
242 "test-macro-assembler-mips64.cc", 264 "test-macro-assembler-mips64.cc",
243 ] 265 ]
244 } else if (v8_current_cpu == "x64") { 266 } else if (v8_current_cpu == "x64") {
245 sources += [ 267 sources += [
246 "test-assembler-x64.cc", 268 "test-assembler-x64.cc",
247 "test-code-stubs-x64.cc", 269 "test-code-stubs-x64.cc",
248 "test-code-stubs.cc", 270 "test-code-stubs.cc",
271 "test-code-stubs.h",
249 "test-disasm-x64.cc", 272 "test-disasm-x64.cc",
250 "test-log-stack-tracer.cc", 273 "test-log-stack-tracer.cc",
251 "test-macro-assembler-x64.cc", 274 "test-macro-assembler-x64.cc",
252 "test-run-wasm-relocation-x64.cc", 275 "test-run-wasm-relocation-x64.cc",
253 "wasm/test-run-wasm-simd.cc", 276 "wasm/test-run-wasm-simd.cc",
254 ] 277 ]
255 } else if (v8_current_cpu == "x87") { 278 } else if (v8_current_cpu == "x87") {
256 sources += [ 279 sources += [
257 "test-assembler-x87.cc", 280 "test-assembler-x87.cc",
258 "test-code-stubs-x87.cc", 281 "test-code-stubs-x87.cc",
259 "test-code-stubs.cc", 282 "test-code-stubs.cc",
283 "test-code-stubs.h",
260 "test-disasm-x87.cc", 284 "test-disasm-x87.cc",
261 "test-log-stack-tracer.cc", 285 "test-log-stack-tracer.cc",
262 "test-macro-assembler-x87.cc", 286 "test-macro-assembler-x87.cc",
263 "test-run-wasm-relocation-x87.cc", 287 "test-run-wasm-relocation-x87.cc",
264 ] 288 ]
265 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { 289 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
266 sources += [ 290 sources += [
267 "test-assembler-ppc.cc", 291 "test-assembler-ppc.cc",
268 "test-code-stubs.cc", 292 "test-code-stubs.cc",
293 "test-code-stubs.h",
269 "test-disasm-ppc.cc", 294 "test-disasm-ppc.cc",
270 ] 295 ]
271 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { 296 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
272 sources += [ 297 sources += [
273 "test-assembler-s390.cc", 298 "test-assembler-s390.cc",
274 "test-code-stubs.cc", 299 "test-code-stubs.cc",
300 "test-code-stubs.h",
275 "test-disasm-s390.cc", 301 "test-disasm-s390.cc",
276 ] 302 ]
277 } 303 }
278 304
279 if (is_linux) { 305 if (is_linux) {
280 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. 306 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp.
281 sources += [ "test-platform-linux.cc" ] 307 sources += [ "test-platform-linux.cc" ]
282 } else if (is_win) { 308 } else if (is_win) {
283 sources += [ "test-platform-win32.cc" ] 309 sources += [ "test-platform-win32.cc" ]
284 } 310 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 if (is_win) { 427 if (is_win) {
402 # Suppress warnings about importing locally defined symbols. 428 # Suppress warnings about importing locally defined symbols.
403 if (is_component_build) { 429 if (is_component_build) {
404 ldflags = [ 430 ldflags = [
405 "/ignore:4049", 431 "/ignore:4049",
406 "/ignore:4217", 432 "/ignore:4217",
407 ] 433 ]
408 } 434 }
409 } 435 }
410 } 436 }
OLDNEW
« no previous file with comments | « src/v8.gyp ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698