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

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

Issue 2339933002: Disentangle gyp and gn files (Closed)
Patch Set: updates 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 | « .gn ('k') | test/cctest/test-api.cc » ('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 # The sources are kept automatically in sync with cctest.gyp.
6
7 import("../../gni/v8.gni") 5 import("../../gni/v8.gni")
8 6
9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("cctest.gyp") ],
11 "scope",
12 [ "cctest.gyp" ])
13
14 v8_executable("cctest") { 7 v8_executable("cctest") {
15 testonly = true 8 testonly = true
16 9
17 sources = [ "$target_gen_dir/resources.cc" ] + gypi_values.cctest_sources 10 sources = [
11 "$target_gen_dir/resources.cc",
12 "asmjs/test-asm-typer.cc",
13 "cctest.cc",
14 "compiler/c-signature.h",
15 "compiler/code-assembler-tester.h",
16 "compiler/codegen-tester.cc",
17 "compiler/codegen-tester.h",
18 "compiler/function-tester.cc",
19 "compiler/function-tester.h",
20 "compiler/graph-builder-tester.h",
21 "compiler/test-basic-block-profiler.cc",
22 "compiler/test-branch-combine.cc",
23 "compiler/test-code-assembler.cc",
24 "compiler/test-gap-resolver.cc",
25 "compiler/test-graph-visualizer.cc",
26 "compiler/test-instruction.cc",
27 "compiler/test-js-constant-cache.cc",
28 "compiler/test-js-context-specialization.cc",
29 "compiler/test-js-typed-lowering.cc",
30 "compiler/test-jump-threading.cc",
31 "compiler/test-linkage.cc",
32 "compiler/test-loop-analysis.cc",
33 "compiler/test-loop-assignment-analysis.cc",
34 "compiler/test-machine-operator-reducer.cc",
35 "compiler/test-multiple-return.cc",
36 "compiler/test-node.cc",
37 "compiler/test-operator.cc",
38 "compiler/test-osr.cc",
39 "compiler/test-representation-change.cc",
40 "compiler/test-run-bytecode-graph-builder.cc",
41 "compiler/test-run-calls-to-external-references.cc",
42 "compiler/test-run-deopt.cc",
43 "compiler/test-run-inlining.cc",
44 "compiler/test-run-intrinsics.cc",
45 "compiler/test-run-jsbranches.cc",
46 "compiler/test-run-jscalls.cc",
47 "compiler/test-run-jsexceptions.cc",
48 "compiler/test-run-jsobjects.cc",
49 "compiler/test-run-jsops.cc",
50 "compiler/test-run-load-store.cc",
51 "compiler/test-run-machops.cc",
52 "compiler/test-run-native-calls.cc",
53 "compiler/test-run-stackcheck.cc",
54 "compiler/test-run-stubs.cc",
55 "compiler/test-run-unwinding-info.cc",
56 "compiler/test-run-variables.cc",
57 "compiler/test-run-wasm-machops.cc",
58 "gay-fixed.cc",
59 "gay-precision.cc",
60 "gay-shortest.cc",
61 "heap/heap-tester.h",
62 "heap/heap-utils.cc",
63 "heap/heap-utils.h",
64 "heap/test-alloc.cc",
65 "heap/test-array-buffer-tracker.cc",
66 "heap/test-compaction.cc",
67 "heap/test-heap.cc",
68 "heap/test-incremental-marking.cc",
69 "heap/test-lab.cc",
70 "heap/test-mark-compact.cc",
71 "heap/test-page-promotion.cc",
72 "heap/test-spaces.cc",
73 "interpreter/bytecode-expectations-printer.cc",
74 "interpreter/bytecode-expectations-printer.h",
75 "interpreter/interpreter-tester.cc",
76 "interpreter/source-position-matcher.cc",
77 "interpreter/source-position-matcher.h",
78 "interpreter/test-bytecode-generator.cc",
79 "interpreter/test-interpreter-intrinsics.cc",
80 "interpreter/test-interpreter.cc",
81 "interpreter/test-source-positions.cc",
82 "libplatform/test-tracing.cc",
83 "libsampler/test-sampler.cc",
84 "print-extension.cc",
85 "profiler-extension.cc",
86 "test-access-checks.cc",
87 "test-accessors.cc",
88 "test-api-accessors.cc",
89 "test-api-fast-accessor-builder.cc",
90 "test-api-interceptors.cc",
91 "test-api.cc",
92 "test-api.h",
93 "test-array-list.cc",
94 "test-ast-types.cc",
95 "test-ast.cc",
96 "test-atomicops.cc",
97 "test-bignum-dtoa.cc",
98 "test-bignum.cc",
99 "test-bit-vector.cc",
100 "test-circular-queue.cc",
101 "test-code-cache.cc",
102 "test-code-layout.cc",
103 "test-code-stub-assembler.cc",
104 "test-compiler.cc",
105 "test-constantpool.cc",
106 "test-conversions.cc",
107 "test-cpu-profiler.cc",
108 "test-date.cc",
109 "test-debug.cc",
110 "test-decls.cc",
111 "test-deoptimization.cc",
112 "test-dictionary.cc",
113 "test-diy-fp.cc",
114 "test-double.cc",
115 "test-dtoa.cc",
116 "test-elements-kind.cc",
117 "test-fast-dtoa.cc",
118 "test-feedback-vector.cc",
119 "test-field-type-tracking.cc",
120 "test-fixed-dtoa.cc",
121 "test-flags.cc",
122 "test-func-name-inference.cc",
123 "test-global-handles.cc",
124 "test-global-object.cc",
125 "test-hashing.cc",
126 "test-hashmap.cc",
127 "test-heap-profiler.cc",
128 "test-hydrogen-types.cc",
129 "test-identity-map.cc",
130 "test-inobject-slack-tracking.cc",
131 "test-list.cc",
132 "test-liveedit.cc",
133 "test-lockers.cc",
134 "test-log.cc",
135 "test-mementos.cc",
136 "test-object.cc",
137 "test-parsing.cc",
138 "test-platform.cc",
139 "test-profile-generator.cc",
140 "test-random-number-generator.cc",
141 "test-receiver-check-hidden-prototype.cc",
142 "test-regexp.cc",
143 "test-representation.cc",
144 "test-sampler-api.cc",
145 "test-serialize.cc",
146 "test-simd.cc",
147 "test-strings.cc",
148 "test-strtod.cc",
149 "test-symbols.cc",
150 "test-thread-termination.cc",
151 "test-threads.cc",
152 "test-trace-event.cc",
153 "test-transitions.cc",
154 "test-typedarrays.cc",
155 "test-types.cc",
156 "test-unbound-queue.cc",
157 "test-unboxed-doubles.cc",
158 "test-unique.cc",
159 "test-unscopables-hidden-prototype.cc",
160 "test-usecounters.cc",
161 "test-utils.cc",
162 "test-version.cc",
163 "test-weakmaps.cc",
164 "test-weaksets.cc",
165 "trace-extension.cc",
166 "wasm/test-run-wasm-64.cc",
167 "wasm/test-run-wasm-asmjs.cc",
168 "wasm/test-run-wasm-interpreter.cc",
169 "wasm/test-run-wasm-js.cc",
170 "wasm/test-run-wasm-module.cc",
171 "wasm/test-run-wasm-relocation.cc",
172 "wasm/test-run-wasm.cc",
173 "wasm/test-signatures.h",
174 "wasm/test-wasm-function-name-table.cc",
175 "wasm/test-wasm-stack.cc",
176 "wasm/test-wasm-trap-position.cc",
177 "wasm/wasm-run-utils.h",
178 ]
18 179
19 if (v8_current_cpu == "arm") { 180 if (v8_current_cpu == "arm") {
20 sources += gypi_values.cctest_sources_arm 181 sources += [
182 "test-assembler-arm.cc",
183 "test-code-stubs-arm.cc",
184 "test-code-stubs.cc",
185 "test-disasm-arm.cc",
186 "test-macro-assembler-arm.cc",
187 "test-run-wasm-relocation-arm.cc",
188 ]
21 } else if (v8_current_cpu == "arm64") { 189 } else if (v8_current_cpu == "arm64") {
22 sources += gypi_values.cctest_sources_arm64 190 sources += [
191 "test-assembler-arm64.cc",
192 "test-code-stubs-arm64.cc",
193 "test-code-stubs.cc",
194 "test-disasm-arm64.cc",
195 "test-fuzz-arm64.cc",
196 "test-javascript-arm64.cc",
197 "test-js-arm64-variables.cc",
198 "test-run-wasm-relocation-arm64.cc",
199 "test-utils-arm64.cc",
200 ]
23 } else if (v8_current_cpu == "x86") { 201 } else if (v8_current_cpu == "x86") {
24 sources += gypi_values.cctest_sources_ia32 202 sources += [
203 "test-assembler-ia32.cc",
204 "test-code-stubs-ia32.cc",
205 "test-code-stubs.cc",
206 "test-disasm-ia32.cc",
207 "test-log-stack-tracer.cc",
208 "test-macro-assembler-ia32.cc",
209 "test-run-wasm-relocation-ia32.cc",
210 ]
25 } else if (v8_current_cpu == "mips") { 211 } else if (v8_current_cpu == "mips") {
26 sources += gypi_values.cctest_sources_mips 212 sources += [
213 "test-assembler-mips.cc",
214 "test-code-stubs-mips.cc",
215 "test-code-stubs.cc",
216 "test-disasm-mips.cc",
217 "test-macro-assembler-mips.cc",
218 ]
27 } else if (v8_current_cpu == "mipsel") { 219 } else if (v8_current_cpu == "mipsel") {
28 sources += gypi_values.cctest_sources_mipsel 220 sources += [
221 "test-assembler-mips.cc",
222 "test-code-stubs-mips.cc",
223 "test-code-stubs.cc",
224 "test-disasm-mips.cc",
225 "test-macro-assembler-mips.cc",
226 ]
29 } else if (v8_current_cpu == "mips64") { 227 } else if (v8_current_cpu == "mips64") {
30 sources += gypi_values.cctest_sources_mips64 228 sources += [
229 "test-assembler-mips64.cc",
230 "test-code-stubs-mips64.cc",
231 "test-code-stubs.cc",
232 "test-disasm-mips64.cc",
233 "test-macro-assembler-mips64.cc",
234 ]
31 } else if (v8_current_cpu == "mips64el") { 235 } else if (v8_current_cpu == "mips64el") {
32 sources += gypi_values.cctest_sources_mips64el 236 sources += [
237 "test-assembler-mips64.cc",
238 "test-code-stubs-mips64.cc",
239 "test-code-stubs.cc",
240 "test-disasm-mips64.cc",
241 "test-macro-assembler-mips64.cc",
242 ]
33 } else if (v8_current_cpu == "x64") { 243 } else if (v8_current_cpu == "x64") {
34 sources += gypi_values.cctest_sources_x64 244 sources += [
245 "test-assembler-x64.cc",
246 "test-code-stubs-x64.cc",
247 "test-code-stubs.cc",
248 "test-disasm-x64.cc",
249 "test-log-stack-tracer.cc",
250 "test-macro-assembler-x64.cc",
251 "test-run-wasm-relocation-x64.cc",
252 "wasm/test-run-wasm-simd.cc",
253 ]
35 } else if (v8_current_cpu == "x87") { 254 } else if (v8_current_cpu == "x87") {
36 sources += gypi_values.cctest_sources_x87 255 sources += [
256 "test-assembler-x87.cc",
257 "test-code-stubs-x87.cc",
258 "test-code-stubs.cc",
259 "test-disasm-x87.cc",
260 "test-log-stack-tracer.cc",
261 "test-macro-assembler-x87.cc",
262 "test-run-wasm-relocation-x87.cc",
263 ]
37 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { 264 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
38 sources += gypi_values.cctest_sources_ppc 265 sources += [
266 "test-assembler-ppc.cc",
267 "test-code-stubs.cc",
268 "test-disasm-ppc.cc",
269 ]
39 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { 270 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
40 sources += gypi_values.cctest_sources_s390 271 sources += [
272 "test-assembler-s390.cc",
273 "test-code-stubs.cc",
274 "test-disasm-s390.cc",
275 ]
41 } 276 }
42 277
43 if (is_linux) { 278 if (is_linux) {
44 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. 279 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp.
45 sources += [ "test-platform-linux.cc" ] 280 sources += [ "test-platform-linux.cc" ]
46 } else if (is_win) { 281 } else if (is_win) {
47 sources += [ "test-platform-win32.cc" ] 282 sources += [ "test-platform-win32.cc" ]
48 } 283 }
49 284
50 configs = [ 285 configs = [
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 if (is_win) { 400 if (is_win) {
166 # Suppress warnings about importing locally defined symbols. 401 # Suppress warnings about importing locally defined symbols.
167 if (is_component_build) { 402 if (is_component_build) {
168 ldflags = [ 403 ldflags = [
169 "/ignore:4049", 404 "/ignore:4049",
170 "/ignore:4217", 405 "/ignore:4217",
171 ] 406 ]
172 } 407 }
173 } 408 }
174 } 409 }
OLDNEW
« no previous file with comments | « .gn ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698