OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium 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 # These will need to be user-settable to support standalone V8 builds. | |
6 v8_compress_startup_data = "off" | |
7 v8_enable_i18n_support = true | |
8 v8_use_default_platform = false | |
9 | |
10 # Shared configuration for our internal targets. | |
11 config("internal_config") { | |
12 visibility = ":*" # Only targets in this file can depend on this. | |
13 | |
14 include_dirs = [ "src" ] | |
15 | |
16 if (component_mode == "shared_library") { | |
17 defines = [ | |
18 "BUILDING_V8_SHARED", | |
19 "V8_SHARED", | |
20 ] | |
21 } | |
22 } | |
23 | |
24 # TODO(jochen) Figure out how to maintain this file without blocking v8 rolls. | |
25 source_set("v8_base") { | |
26 } | |
27 #if (is_android) { | |
28 # source_set("v8_base") { | |
29 # } | |
30 #} else { | |
31 # | |
32 #source_set("v8_base") { | |
33 # sources = [ | |
34 # "src/accessors.cc", | |
35 # "src/accessors.h", | |
36 # "src/allocation.cc", | |
37 # "src/allocation.h", | |
38 # "src/allocation-site-scopes.cc", | |
39 # "src/allocation-site-scopes.h", | |
40 # "src/allocation-tracker.cc", | |
41 # "src/allocation-tracker.h", | |
42 # "src/api.cc", | |
43 # "src/api.h", | |
44 # "src/arguments.cc", | |
45 # "src/arguments.h", | |
46 # "src/assembler.cc", | |
47 # "src/assembler.h", | |
48 # "src/assert-scope.h", | |
49 # "src/assert-scope.cc", | |
50 # "src/ast.cc", | |
51 # "src/ast.h", | |
52 # "src/atomicops.h", | |
53 # "src/atomicops_internals_x86_gcc.cc", | |
54 # "src/bignum-dtoa.cc", | |
55 # "src/bignum-dtoa.h", | |
56 # "src/bignum.cc", | |
57 # "src/bignum.h", | |
58 # "src/bootstrapper.cc", | |
59 # "src/bootstrapper.h", | |
60 # "src/builtins.cc", | |
61 # "src/builtins.h", | |
62 # "src/bytecodes-irregexp.h", | |
63 # "src/cached-powers.cc", | |
64 # "src/cached-powers.h", | |
65 # "src/char-predicates-inl.h", | |
66 # "src/char-predicates.h", | |
67 # "src/checks.cc", | |
68 # "src/checks.h", | |
69 # "src/circular-queue-inl.h", | |
70 # "src/circular-queue.h", | |
71 # "src/code-stubs.cc", | |
72 # "src/code-stubs.h", | |
73 # "src/code-stubs-hydrogen.cc", | |
74 # "src/code.h", | |
75 # "src/codegen.cc", | |
76 # "src/codegen.h", | |
77 # "src/compilation-cache.cc", | |
78 # "src/compilation-cache.h", | |
79 # "src/compiler.cc", | |
80 # "src/compiler.h", | |
81 # "src/contexts.cc", | |
82 # "src/contexts.h", | |
83 # "src/conversions-inl.h", | |
84 # "src/conversions.cc", | |
85 # "src/conversions.h", | |
86 # "src/counters.cc", | |
87 # "src/counters.h", | |
88 # "src/cpu-profiler-inl.h", | |
89 # "src/cpu-profiler.cc", | |
90 # "src/cpu-profiler.h", | |
91 # "src/cpu.cc", | |
92 # "src/cpu.h", | |
93 # "src/data-flow.cc", | |
94 # "src/data-flow.h", | |
95 # "src/date.cc", | |
96 # "src/date.h", | |
97 # "src/dateparser-inl.h", | |
98 # "src/dateparser.cc", | |
99 # "src/dateparser.h", | |
100 # "src/debug-agent.cc", | |
101 # "src/debug-agent.h", | |
102 # "src/debug.cc", | |
103 # "src/debug.h", | |
104 # "src/deoptimizer.cc", | |
105 # "src/deoptimizer.h", | |
106 # "src/disasm.h", | |
107 # "src/disassembler.cc", | |
108 # "src/disassembler.h", | |
109 # "src/diy-fp.cc", | |
110 # "src/diy-fp.h", | |
111 # "src/double.h", | |
112 # "src/dtoa.cc", | |
113 # "src/dtoa.h", | |
114 # "src/effects.h", | |
115 # "src/elements-kind.cc", | |
116 # "src/elements-kind.h", | |
117 # "src/elements.cc", | |
118 # "src/elements.h", | |
119 # "src/execution.cc", | |
120 # "src/execution.h", | |
121 # "src/extensions/externalize-string-extension.cc", | |
122 # "src/extensions/externalize-string-extension.h", | |
123 # "src/extensions/free-buffer-extension.cc", | |
124 # "src/extensions/free-buffer-extension.h", | |
125 # "src/extensions/gc-extension.cc", | |
126 # "src/extensions/gc-extension.h", | |
127 # "src/extensions/statistics-extension.cc", | |
128 # "src/extensions/statistics-extension.h", | |
129 # "src/extensions/trigger-failure-extension.cc", | |
130 # "src/extensions/trigger-failure-extension.h", | |
131 # "src/factory.cc", | |
132 # "src/factory.h", | |
133 # "src/fast-dtoa.cc", | |
134 # "src/fast-dtoa.h", | |
135 # "src/feedback-slots.h", | |
136 # "src/fixed-dtoa.cc", | |
137 # "src/fixed-dtoa.h", | |
138 # "src/flag-definitions.h", | |
139 # "src/flags.cc", | |
140 # "src/flags.h", | |
141 # "src/frames-inl.h", | |
142 # "src/frames.cc", | |
143 # "src/frames.h", | |
144 # "src/full-codegen.cc", | |
145 # "src/full-codegen.h", | |
146 # "src/func-name-inferrer.cc", | |
147 # "src/func-name-inferrer.h", | |
148 # "src/gdb-jit.cc", | |
149 # "src/gdb-jit.h", | |
150 # "src/global-handles.cc", | |
151 # "src/global-handles.h", | |
152 # "src/globals.h", | |
153 # "src/handles-inl.h", | |
154 # "src/handles.cc", | |
155 # "src/handles.h", | |
156 # "src/hashmap.h", | |
157 # "src/heap-inl.h", | |
158 # "src/heap-profiler.cc", | |
159 # "src/heap-profiler.h", | |
160 # "src/heap-snapshot-generator-inl.h", | |
161 # "src/heap-snapshot-generator.cc", | |
162 # "src/heap-snapshot-generator.h", | |
163 # "src/heap.cc", | |
164 # "src/heap.h", | |
165 # "src/hydrogen-alias-analysis.h", | |
166 # "src/hydrogen-bce.cc", | |
167 # "src/hydrogen-bce.h", | |
168 # "src/hydrogen-bch.cc", | |
169 # "src/hydrogen-bch.h", | |
170 # "src/hydrogen-canonicalize.cc", | |
171 # "src/hydrogen-canonicalize.h", | |
172 # "src/hydrogen-check-elimination.cc", | |
173 # "src/hydrogen-check-elimination.h", | |
174 # "src/hydrogen-dce.cc", | |
175 # "src/hydrogen-dce.h", | |
176 # "src/hydrogen-dehoist.cc", | |
177 # "src/hydrogen-dehoist.h", | |
178 # "src/hydrogen-environment-liveness.cc", | |
179 # "src/hydrogen-environment-liveness.h", | |
180 # "src/hydrogen-escape-analysis.cc", | |
181 # "src/hydrogen-escape-analysis.h", | |
182 # "src/hydrogen-flow-engine.h", | |
183 # "src/hydrogen-instructions.cc", | |
184 # "src/hydrogen-instructions.h", | |
185 # "src/hydrogen.cc", | |
186 # "src/hydrogen.h", | |
187 # "src/hydrogen-gvn.cc", | |
188 # "src/hydrogen-gvn.h", | |
189 # "src/hydrogen-infer-representation.cc", | |
190 # "src/hydrogen-infer-representation.h", | |
191 # "src/hydrogen-infer-types.cc", | |
192 # "src/hydrogen-infer-types.h", | |
193 # "src/hydrogen-load-elimination.cc", | |
194 # "src/hydrogen-load-elimination.h", | |
195 # "src/hydrogen-mark-deoptimize.cc", | |
196 # "src/hydrogen-mark-deoptimize.h", | |
197 # "src/hydrogen-mark-unreachable.cc", | |
198 # "src/hydrogen-mark-unreachable.h", | |
199 # "src/hydrogen-osr.cc", | |
200 # "src/hydrogen-osr.h", | |
201 # "src/hydrogen-range-analysis.cc", | |
202 # "src/hydrogen-range-analysis.h", | |
203 # "src/hydrogen-redundant-phi.cc", | |
204 # "src/hydrogen-redundant-phi.h", | |
205 # "src/hydrogen-removable-simulates.cc", | |
206 # "src/hydrogen-removable-simulates.h", | |
207 # "src/hydrogen-representation-changes.cc", | |
208 # "src/hydrogen-representation-changes.h", | |
209 # "src/hydrogen-sce.cc", | |
210 # "src/hydrogen-sce.h", | |
211 # "src/hydrogen-store-elimination.cc", | |
212 # "src/hydrogen-store-elimination.h", | |
213 # "src/hydrogen-uint32-analysis.cc", | |
214 # "src/hydrogen-uint32-analysis.h", | |
215 # "src/i18n.cc", | |
216 # "src/i18n.h", | |
217 # "src/icu_util.cc", | |
218 # "src/icu_util.h", | |
219 # "src/ic-inl.h", | |
220 # "src/ic.cc", | |
221 # "src/ic.h", | |
222 # "src/incremental-marking.cc", | |
223 # "src/incremental-marking.h", | |
224 # "src/interface.cc", | |
225 # "src/interface.h", | |
226 # "src/interpreter-irregexp.cc", | |
227 # "src/interpreter-irregexp.h", | |
228 # "src/isolate.cc", | |
229 # "src/isolate.h", | |
230 # "src/json-parser.h", | |
231 # "src/json-stringifier.h", | |
232 # "src/jsregexp-inl.h", | |
233 # "src/jsregexp.cc", | |
234 # "src/jsregexp.h", | |
235 # "src/lazy-instance.h", | |
236 # # TODO(jochen): move libplatform/ files to their own target. | |
237 # "src/libplatform/default-platform.cc", | |
238 # "src/libplatform/default-platform.h", | |
239 # "src/libplatform/task-queue.cc", | |
240 # "src/libplatform/task-queue.h", | |
241 # "src/libplatform/worker-thread.cc", | |
242 # "src/libplatform/worker-thread.h", | |
243 # "src/list-inl.h", | |
244 # "src/list.h", | |
245 # "src/lithium-allocator-inl.h", | |
246 # "src/lithium-allocator.cc", | |
247 # "src/lithium-allocator.h", | |
248 # "src/lithium-codegen.cc", | |
249 # "src/lithium-codegen.h", | |
250 # "src/lithium.cc", | |
251 # "src/lithium.h", | |
252 # "src/liveedit.cc", | |
253 # "src/liveedit.h", | |
254 # "src/log-inl.h", | |
255 # "src/log-utils.cc", | |
256 # "src/log-utils.h", | |
257 # "src/log.cc", | |
258 # "src/log.h", | |
259 # "src/macro-assembler.h", | |
260 # "src/mark-compact.cc", | |
261 # "src/mark-compact.h", | |
262 # "src/messages.cc", | |
263 # "src/messages.h", | |
264 # "src/msan.h", | |
265 # "src/natives.h", | |
266 # "src/objects-debug.cc", | |
267 # "src/objects-inl.h", | |
268 # "src/objects-printer.cc", | |
269 # "src/objects-visiting.cc", | |
270 # "src/objects-visiting.h", | |
271 # "src/objects.cc", | |
272 # "src/objects.h", | |
273 # "src/once.cc", | |
274 # "src/once.h", | |
275 # "src/optimizing-compiler-thread.h", | |
276 # "src/optimizing-compiler-thread.cc", | |
277 # "src/parser.cc", | |
278 # "src/parser.h", | |
279 # "src/platform/elapsed-timer.h", | |
280 # "src/platform/time.cc", | |
281 # "src/platform/time.h", | |
282 # "src/platform.h", | |
283 # "src/platform/condition-variable.cc", | |
284 # "src/platform/condition-variable.h", | |
285 # "src/platform/mutex.cc", | |
286 # "src/platform/mutex.h", | |
287 # "src/platform/semaphore.cc", | |
288 # "src/platform/semaphore.h", | |
289 # "src/platform/socket.cc", | |
290 # "src/platform/socket.h", | |
291 # "src/preparse-data-format.h", | |
292 # "src/preparse-data.cc", | |
293 # "src/preparse-data.h", | |
294 # "src/preparser.cc", | |
295 # "src/preparser.h", | |
296 # "src/prettyprinter.cc", | |
297 # "src/prettyprinter.h", | |
298 # "src/profile-generator-inl.h", | |
299 # "src/profile-generator.cc", | |
300 # "src/profile-generator.h", | |
301 # "src/property-details.h", | |
302 # "src/property.cc", | |
303 # "src/property.h", | |
304 # "src/regexp-macro-assembler-irregexp-inl.h", | |
305 # "src/regexp-macro-assembler-irregexp.cc", | |
306 # "src/regexp-macro-assembler-irregexp.h", | |
307 # "src/regexp-macro-assembler-tracer.cc", | |
308 # "src/regexp-macro-assembler-tracer.h", | |
309 # "src/regexp-macro-assembler.cc", | |
310 # "src/regexp-macro-assembler.h", | |
311 # "src/regexp-stack.cc", | |
312 # "src/regexp-stack.h", | |
313 # "src/rewriter.cc", | |
314 # "src/rewriter.h", | |
315 # "src/runtime-profiler.cc", | |
316 # "src/runtime-profiler.h", | |
317 # "src/runtime.cc", | |
318 # "src/runtime.h", | |
319 # "src/safepoint-table.cc", | |
320 # "src/safepoint-table.h", | |
321 # "src/sampler.cc", | |
322 # "src/sampler.h", | |
323 # "src/scanner-character-streams.cc", | |
324 # "src/scanner-character-streams.h", | |
325 # "src/scanner.cc", | |
326 # "src/scanner.h", | |
327 # "src/scopeinfo.cc", | |
328 # "src/scopeinfo.h", | |
329 # "src/scopes.cc", | |
330 # "src/scopes.h", | |
331 # "src/serialize.cc", | |
332 # "src/serialize.h", | |
333 # "src/small-pointer-list.h", | |
334 # "src/smart-pointers.h", | |
335 # "src/snapshot-common.cc", | |
336 # "src/snapshot.h", | |
337 # "src/spaces-inl.h", | |
338 # "src/spaces.cc", | |
339 # "src/spaces.h", | |
340 # "src/store-buffer-inl.h", | |
341 # "src/store-buffer.cc", | |
342 # "src/store-buffer.h", | |
343 # "src/string-search.cc", | |
344 # "src/string-search.h", | |
345 # "src/string-stream.cc", | |
346 # "src/string-stream.h", | |
347 # "src/strtod.cc", | |
348 # "src/strtod.h", | |
349 # "src/stub-cache.cc", | |
350 # "src/stub-cache.h", | |
351 # "src/sweeper-thread.h", | |
352 # "src/sweeper-thread.cc", | |
353 # "src/token.cc", | |
354 # "src/token.h", | |
355 # "src/transitions-inl.h", | |
356 # "src/transitions.cc", | |
357 # "src/transitions.h", | |
358 # "src/type-info.cc", | |
359 # "src/type-info.h", | |
360 # "src/types-inl.h", | |
361 # "src/types.cc", | |
362 # "src/types.h", | |
363 # "src/typing.cc", | |
364 # "src/typing.h", | |
365 # "src/unbound-queue-inl.h", | |
366 # "src/unbound-queue.h", | |
367 # "src/unicode-inl.h", | |
368 # "src/unicode.cc", | |
369 # "src/unicode.h", | |
370 # "src/unique.h", | |
371 # "src/uri.h", | |
372 # "src/utils-inl.h", | |
373 # "src/utils.cc", | |
374 # "src/utils.h", | |
375 # "src/utils/random-number-generator.cc", | |
376 # "src/utils/random-number-generator.h", | |
377 # "src/v8-counters.cc", | |
378 # "src/v8-counters.h", | |
379 # "src/v8.cc", | |
380 # "src/v8.h", | |
381 # "src/v8checks.h", | |
382 # "src/v8conversions.cc", | |
383 # "src/v8conversions.h", | |
384 # "src/v8globals.h", | |
385 # "src/v8memory.h", | |
386 # "src/v8threads.cc", | |
387 # "src/v8threads.h", | |
388 # "src/v8utils.cc", | |
389 # "src/v8utils.h", | |
390 # "src/variables.cc", | |
391 # "src/variables.h", | |
392 # "src/version.cc", | |
393 # "src/version.h", | |
394 # "src/vm-state-inl.h", | |
395 # "src/vm-state.h", | |
396 # "src/zone-inl.h", | |
397 # "src/zone.cc", | |
398 # "src/zone.h", | |
399 # ] | |
400 # | |
401 # if (cpu_arch == "x86") { | |
402 # # TODO(brettw) the GYP file has | |
403 # # or v8_target_arch=="mac" or OS=="mac" | |
404 # # which I don't understand. | |
405 # sources += [ | |
406 # "src/ia32/assembler-ia32-inl.h", | |
407 # "src/ia32/assembler-ia32.cc", | |
408 # "src/ia32/assembler-ia32.h", | |
409 # "src/ia32/builtins-ia32.cc", | |
410 # "src/ia32/code-stubs-ia32.cc", | |
411 # "src/ia32/code-stubs-ia32.h", | |
412 # "src/ia32/codegen-ia32.cc", | |
413 # "src/ia32/codegen-ia32.h", | |
414 # "src/ia32/cpu-ia32.cc", | |
415 # "src/ia32/debug-ia32.cc", | |
416 # "src/ia32/deoptimizer-ia32.cc", | |
417 # "src/ia32/disasm-ia32.cc", | |
418 # "src/ia32/frames-ia32.cc", | |
419 # "src/ia32/frames-ia32.h", | |
420 # "src/ia32/full-codegen-ia32.cc", | |
421 # "src/ia32/ic-ia32.cc", | |
422 # "src/ia32/lithium-codegen-ia32.cc", | |
423 # "src/ia32/lithium-codegen-ia32.h", | |
424 # "src/ia32/lithium-gap-resolver-ia32.cc", | |
425 # "src/ia32/lithium-gap-resolver-ia32.h", | |
426 # "src/ia32/lithium-ia32.cc", | |
427 # "src/ia32/lithium-ia32.h", | |
428 # "src/ia32/macro-assembler-ia32.cc", | |
429 # "src/ia32/macro-assembler-ia32.h", | |
430 # "src/ia32/regexp-macro-assembler-ia32.cc", | |
431 # "src/ia32/regexp-macro-assembler-ia32.h", | |
432 # "src/ia32/stub-cache-ia32.cc", | |
433 # ] | |
434 # } else if (cpu_arch == "x64") { | |
435 # sources += [ | |
436 # "src/x64/assembler-x64-inl.h", | |
437 # "src/x64/assembler-x64.cc", | |
438 # "src/x64/assembler-x64.h", | |
439 # "src/x64/builtins-x64.cc", | |
440 # "src/x64/code-stubs-x64.cc", | |
441 # "src/x64/code-stubs-x64.h", | |
442 # "src/x64/codegen-x64.cc", | |
443 # "src/x64/codegen-x64.h", | |
444 # "src/x64/cpu-x64.cc", | |
445 # "src/x64/debug-x64.cc", | |
446 # "src/x64/deoptimizer-x64.cc", | |
447 # "src/x64/disasm-x64.cc", | |
448 # "src/x64/frames-x64.cc", | |
449 # "src/x64/frames-x64.h", | |
450 # "src/x64/full-codegen-x64.cc", | |
451 # "src/x64/ic-x64.cc", | |
452 # "src/x64/lithium-codegen-x64.cc", | |
453 # "src/x64/lithium-codegen-x64.h", | |
454 # "src/x64/lithium-gap-resolver-x64.cc", | |
455 # "src/x64/lithium-gap-resolver-x64.h", | |
456 # "src/x64/lithium-x64.cc", | |
457 # "src/x64/lithium-x64.h", | |
458 # "src/x64/macro-assembler-x64.cc", | |
459 # "src/x64/macro-assembler-x64.h", | |
460 # "src/x64/regexp-macro-assembler-x64.cc", | |
461 # "src/x64/regexp-macro-assembler-x64.h", | |
462 # "src/x64/stub-cache-x64.cc", | |
463 # ] | |
464 # } else if (cpu_arch == "arm") { | |
465 # sources += [ | |
466 # "src/arm/assembler-arm-inl.h", | |
467 # "src/arm/assembler-arm.cc", | |
468 # "src/arm/assembler-arm.h", | |
469 # "src/arm/builtins-arm.cc", | |
470 # "src/arm/code-stubs-arm.cc", | |
471 # "src/arm/code-stubs-arm.h", | |
472 # "src/arm/codegen-arm.cc", | |
473 # "src/arm/codegen-arm.h", | |
474 # "src/arm/constants-arm.h", | |
475 # "src/arm/constants-arm.cc", | |
476 # "src/arm/cpu-arm.cc", | |
477 # "src/arm/debug-arm.cc", | |
478 # "src/arm/deoptimizer-arm.cc", | |
479 # "src/arm/disasm-arm.cc", | |
480 # "src/arm/frames-arm.cc", | |
481 # "src/arm/frames-arm.h", | |
482 # "src/arm/full-codegen-arm.cc", | |
483 # "src/arm/ic-arm.cc", | |
484 # "src/arm/lithium-arm.cc", | |
485 # "src/arm/lithium-arm.h", | |
486 # "src/arm/lithium-codegen-arm.cc", | |
487 # "src/arm/lithium-codegen-arm.h", | |
488 # "src/arm/lithium-gap-resolver-arm.cc", | |
489 # "src/arm/lithium-gap-resolver-arm.h", | |
490 # "src/arm/macro-assembler-arm.cc", | |
491 # "src/arm/macro-assembler-arm.h", | |
492 # "src/arm/regexp-macro-assembler-arm.cc", | |
493 # "src/arm/regexp-macro-assembler-arm.h", | |
494 # "src/arm/simulator-arm.cc", | |
495 # "src/arm/stub-cache-arm.cc", | |
496 # ] | |
497 # } else if (cpu_arch == "arm64") { | |
498 # sources += [ | |
499 # "src/arm64/assembler-arm64.cc", | |
500 # "src/arm64/assembler-arm64.h", | |
501 # "src/arm64/assembler-arm64-inl.h", | |
502 # "src/arm64/builtins-arm64.cc", | |
503 # "src/arm64/codegen-arm64.cc", | |
504 # "src/arm64/codegen-arm64.h", | |
505 # "src/arm64/code-stubs-arm64.cc", | |
506 # "src/arm64/code-stubs-arm64.h", | |
507 # "src/arm64/constants-arm64.h", | |
508 # "src/arm64/cpu-arm64.cc", | |
509 # "src/arm64/cpu-arm64.h", | |
510 # "src/arm64/debug-arm64.cc", | |
511 # "src/arm64/decoder-arm64.cc", | |
512 # "src/arm64/decoder-arm64.h", | |
513 # "src/arm64/decoder-arm64-inl.h", | |
514 # "src/arm64/deoptimizer-arm64.cc", | |
515 # "src/arm64/disasm-arm64.cc", | |
516 # "src/arm64/disasm-arm64.h", | |
517 # "src/arm64/frames-arm64.cc", | |
518 # "src/arm64/frames-arm64.h", | |
519 # "src/arm64/full-codegen-arm64.cc", | |
520 # "src/arm64/ic-arm64.cc", | |
521 # "src/arm64/instructions-arm64.cc", | |
522 # "src/arm64/instructions-arm64.h", | |
523 # "src/arm64/instrument-arm64.cc", | |
524 # "src/arm64/instrument-arm64.h", | |
525 # "src/arm64/lithium-arm64.cc", | |
526 # "src/arm64/lithium-arm64.h", | |
527 # "src/arm64/lithium-codegen-arm64.cc", | |
528 # "src/arm64/lithium-codegen-arm64.h", | |
529 # "src/arm64/lithium-gap-resolver-arm64.cc", | |
530 # "src/arm64/lithium-gap-resolver-arm64.h", | |
531 # "src/arm64/macro-assembler-arm64.cc", | |
532 # "src/arm64/macro-assembler-arm64.h", | |
533 # "src/arm64/macro-assembler-arm64-inl.h", | |
534 # "src/arm64/regexp-macro-assembler-arm64.cc", | |
535 # "src/arm64/regexp-macro-assembler-arm64.h", | |
536 # "src/arm64/simulator-arm64.cc", | |
537 # "src/arm64/simulator-arm64.h", | |
538 # "src/arm64/stub-cache-arm64.cc", | |
539 # "src/arm64/utils-arm64.cc", | |
540 # "src/arm64/utils-arm64.h", | |
541 # ] | |
542 # } else if (cpu_arch == "mipsel") { | |
543 # sources += [ | |
544 # "src/mips/assembler-mips.cc", | |
545 # "src/mips/assembler-mips.h", | |
546 # "src/mips/assembler-mips-inl.h", | |
547 # "src/mips/builtins-mips.cc", | |
548 # "src/mips/codegen-mips.cc", | |
549 # "src/mips/codegen-mips.h", | |
550 # "src/mips/code-stubs-mips.cc", | |
551 # "src/mips/code-stubs-mips.h", | |
552 # "src/mips/constants-mips.cc", | |
553 # "src/mips/constants-mips.h", | |
554 # "src/mips/cpu-mips.cc", | |
555 # "src/mips/debug-mips.cc", | |
556 # "src/mips/deoptimizer-mips.cc", | |
557 # "src/mips/disasm-mips.cc", | |
558 # "src/mips/frames-mips.cc", | |
559 # "src/mips/frames-mips.h", | |
560 # "src/mips/full-codegen-mips.cc", | |
561 # "src/mips/ic-mips.cc", | |
562 # "src/mips/lithium-codegen-mips.cc", | |
563 # "src/mips/lithium-codegen-mips.h", | |
564 # "src/mips/lithium-gap-resolver-mips.cc", | |
565 # "src/mips/lithium-gap-resolver-mips.h", | |
566 # "src/mips/lithium-mips.cc", | |
567 # "src/mips/lithium-mips.h", | |
568 # "src/mips/macro-assembler-mips.cc", | |
569 # "src/mips/macro-assembler-mips.h", | |
570 # "src/mips/regexp-macro-assembler-mips.cc", | |
571 # "src/mips/regexp-macro-assembler-mips.h", | |
572 # "src/mips/simulator-mips.cc", | |
573 # "src/mips/stub-cache-mips.cc", | |
574 # ] | |
575 # } | |
576 # | |
577 # configs += [ ":internal_config" ] | |
578 # | |
579 # defines = [] | |
580 # deps = [] | |
581 # | |
582 # if (is_posix) { | |
583 # sources += [ | |
584 # "src/platform-posix.cc" | |
585 # ] | |
586 # } | |
587 # | |
588 # if (is_linux) { | |
589 # sources += [ | |
590 # "src/platform-linux.cc" | |
591 # ] | |
592 # | |
593 # # TODO(brettw) | |
594 # # 'conditions': [ | |
595 # # ['v8_compress_startup_data=="bz2"', { | |
596 # # 'libraries': [ | |
597 # # '-lbz2', | |
598 # # ] | |
599 # # }], | |
600 # # ], | |
601 # | |
602 # libs = [ "rt" ] | |
603 # } else if (is_android) { | |
604 # # TODO(brettW) OS=="android" condition from tools/gyp/v8.gyp | |
605 # } else if (is_mac) { | |
606 # sources += [ "src/platform-macoscc" ] | |
607 # } else if (is_win) { | |
608 # sources += [ | |
609 # "src/platform-win32.cc", | |
610 # "src/win32-math.cc", | |
611 # "src/win32-math.h", | |
612 # ] | |
613 # | |
614 # defines += [ "_CRT_RAND_S" ] # for rand_s() | |
615 # | |
616 # libs = [ "winmm.lib", "ws2_32.lib" ] | |
617 # } | |
618 # | |
619 # | |
620 # if (v8_enable_i18n_support) { | |
621 # deps += [ "//third_party/icu" ] | |
622 # if (is_win) { | |
623 # deps += [ "//third_party/icu:icudata" ] | |
624 # } | |
625 # } else { | |
626 # sources -= [ | |
627 # "src/i18n.cc", | |
628 # "src/i18n.h", | |
629 # ] | |
630 # } | |
631 # | |
632 # # TODO(brettw) other conditions from v8.gyp | |
633 # # TODO(brettw) icu_use_data_file_flag | |
634 #} | |
635 # | |
636 #action("js2c") { | |
637 # script = "tools/js2c.py" | |
638 # | |
639 # # The script depends on this other script, this rule causes a rebuild if it | |
640 # # changes. | |
641 # source_prereqs = [ "tools/jsmin.py" ] | |
642 # | |
643 # sources = [ | |
644 # "src/runtime.js", | |
645 # "src/v8natives.js", | |
646 # "src/array.js", | |
647 # "src/string.js", | |
648 # "src/uri.js", | |
649 # "src/math.js", | |
650 # "src/messages.js", | |
651 # "src/apinatives.js", | |
652 # "src/debug-debugger.js", | |
653 # "src/mirror-debugger.js", | |
654 # "src/liveedit-debugger.js", | |
655 # "src/date.js", | |
656 # "src/json.js", | |
657 # "src/regexp.js", | |
658 # "src/arraybuffer.js", | |
659 # "src/typedarray.js", | |
660 # "src/object-observe.js", | |
661 # "src/macros.py", | |
662 # ] | |
663 # | |
664 # outputs = [ | |
665 # "$target_gen_dir/libraries.cc" | |
666 # ] | |
667 # | |
668 # if (v8_enable_i18n_support) { | |
669 # sources += [ "src/i18n.js" ] | |
670 # } | |
671 # | |
672 # args = | |
673 # rebase_path(outputs, root_build_dir) + | |
674 # [ "CORE", v8_compress_startup_data ] + | |
675 # rebase_path(sources, root_build_dir) | |
676 #} | |
677 # | |
678 #source_set("v8_nosnapshot") { | |
679 # visibility = ":*" # Only targets in this file can depend on this. | |
680 # | |
681 # sources = [ | |
682 # | |
683 # ] | |
684 # | |
685 # configs += [ ":internal_config" ] | |
686 #} | |
687 # | |
688 # TODO finish this, currently has linker errors. | |
689 #executable("mksnapshot") { | |
690 # visibility = ":*" # Only targets in this file can depend on this. | |
691 # | |
692 # sources = [ | |
693 # "src/mksnapshot.cc", | |
694 # ] | |
695 # | |
696 # configs += [ ":internal_config" ] | |
697 # | |
698 # deps = [ | |
699 # ":v8_base", | |
700 # ":v8_nosnapshot", | |
701 # ] | |
702 # | |
703 # if (v8_compress_startup_data == "bz2") { | |
704 # libs = [ "bz2" ] | |
705 # } | |
706 #} | |
707 # | |
708 #} # end Android commenting-out. | |
OLD | NEW |