1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are
6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided
11 # with the distribution.
12 # * Neither the name of Google Inc. nor the names of its
13 # contributors may be used to endorse or promote products derived
14 # from this software without specific prior written permission.
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 'icu_use_data_file_flag%': 0,
32 'v8_random_seed%': 314159265,
34 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
38 'dependencies_traverse': 1,
40 ['want_separate_host_toolset==1', {
41 'toolsets': ['host', 'target'],
43 'toolsets': ['target'],
46 ['v8_use_snapshot=="true" and v8_use_external_startup_data==0', {
47 # The dependency on v8_base should come from a transitive
48 # dependency however the Android toolchain requires libv8_base.a
49 # to appear before libv8_snapshot.a so it's listed explicitly.
50 'dependencies': ['v8_base', 'v8_snapshot'],
52 ['v8_use_snapshot!="true" and v8_use_external_startup_data==0', {
53 # The dependency on v8_base should come from a transitive
54 # dependency however the Android toolchain requires libv8_base.a
55 # to appear before libv8_snapshot.a so it's listed explicitly.
56 'dependencies': ['v8_base', 'v8_nosnapshot'],
58 ['v8_use_external_startup_data==1 and want_separate_host_toolset==1', {
59 'dependencies': ['v8_base', 'v8_external_snapshot'],
60 'target_conditions': [
61 ['_toolset=="host"', {
63 '<(PRODUCT_DIR)/snapshot_blob_host.bin',
67 '<(PRODUCT_DIR)/snapshot_blob.bin',
72 ['v8_use_external_startup_data==1 and want_separate_host_toolset==0', {
73 'dependencies': ['v8_base', 'v8_external_snapshot'],
74 'inputs': [ '<(PRODUCT_DIR)/snapshot_blob.bin', ],
76 ['component=="shared_library"', {
77 'type': '<(component)',
79 # Note: on non-Windows we still build this file so that gyp
80 # has some sources to link into the component.
81 '../../src/v8dll-main.cc',
90 'direct_dependent_settings': {
96 'target_conditions': [
97 ['OS=="android" and _toolset=="target"', {
102 'src/common/android/include',
109 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
112 ['soname_version!=""', {
113 'product_extension': 'so.<(soname_version)',
121 'direct_dependent_settings': {
128 'target_name': 'v8_snapshot',
129 'type': 'static_library',
131 ['want_separate_host_toolset==1', {
132 'toolsets': ['host', 'target'],
138 'toolsets': ['target'],
144 ['component=="shared_library"', {
147 'BUILDING_V8_SHARED',
149 'direct_dependent_settings': {
164 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
165 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
166 '<(INTERMEDIATE_DIR)/snapshot.cc',
167 '../../src/snapshot-common.cc',
171 'action_name': 'run_mksnapshot',
173 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
176 '<(INTERMEDIATE_DIR)/snapshot.cc',
179 'mksnapshot_flags': [
180 '--log-snapshot-positions',
181 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
184 ['v8_random_seed!=0', {
185 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
191 '<@(mksnapshot_flags)',
192 '<@(INTERMEDIATE_DIR)/snapshot.cc'
198 'target_name': 'v8_nosnapshot',
199 'type': 'static_library',
207 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
208 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
209 '../../src/snapshot-common.cc',
210 '../../src/snapshot-empty.cc',
213 ['want_separate_host_toolset==1', {
214 'toolsets': ['host', 'target'],
215 'dependencies': ['js2c#host'],
217 'toolsets': ['target'],
218 'dependencies': ['js2c'],
220 ['component=="shared_library"', {
222 'BUILDING_V8_SHARED',
229 'target_name': 'v8_external_snapshot',
230 'type': 'static_library',
232 [ 'v8_use_external_startup_data==1', {
234 ['want_separate_host_toolset==1', {
235 'toolsets': ['host', 'target'],
241 'toolsets': ['target'],
248 ['component=="shared_library"', {
251 'BUILDING_V8_SHARED',
253 'direct_dependent_settings': {
268 '../../src/natives-external.cc',
269 '../../src/snapshot-external.cc',
273 'action_name': 'run_mksnapshot (external)',
275 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
278 ['want_separate_host_toolset==1', {
279 'target_conditions': [
280 ['_toolset=="host"', {
282 '<(INTERMEDIATE_DIR)/snapshot.cc',
283 '<(PRODUCT_DIR)/snapshot_blob_host.bin',
287 '<(INTERMEDIATE_DIR)/snapshot.cc',
288 '<(PRODUCT_DIR)/snapshot_blob.bin',
294 '<(INTERMEDIATE_DIR)/snapshot.cc',
295 '<(PRODUCT_DIR)/snapshot_blob.bin',
300 'mksnapshot_flags': [
301 '--log-snapshot-positions',
302 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
305 ['v8_random_seed!=0', {
306 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
312 '<@(mksnapshot_flags)',
313 '<@(INTERMEDIATE_DIR)/snapshot.cc',
314 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
322 'target_name': 'v8_base',
323 'type': 'static_library',
333 'sources': [ ### gcmole(all) ###
334 '../../src/accessors.cc',
335 '../../src/accessors.h',
336 '../../src/allocation.cc',
337 '../../src/allocation.h',
338 '../../src/allocation-site-scopes.cc',
339 '../../src/allocation-site-scopes.h',
340 '../../src/allocation-tracker.cc',
341 '../../src/allocation-tracker.h',
344 '../../src/arguments.cc',
345 '../../src/arguments.h',
346 '../../src/assembler.cc',
347 '../../src/assembler.h',
348 '../../src/assert-scope.h',
349 '../../src/assert-scope.cc',
350 '../../src/ast-value-factory.cc',
351 '../../src/ast-value-factory.h',
352 '../../src/ast-numbering.cc',
353 '../../src/ast-numbering.h',
356 '../../src/background-parsing-task.cc',
357 '../../src/background-parsing-task.h',
358 '../../src/bailout-reason.cc',
359 '../../src/bailout-reason.h',
360 '../../src/basic-block-profiler.cc',
361 '../../src/basic-block-profiler.h',
362 '../../src/bignum-dtoa.cc',
363 '../../src/bignum-dtoa.h',
364 '../../src/bignum.cc',
365 '../../src/bignum.h',
366 '../../src/bit-vector.cc',
367 '../../src/bit-vector.h',
368 '../../src/bootstrapper.cc',
369 '../../src/bootstrapper.h',
370 '../../src/builtins.cc',
371 '../../src/builtins.h',
372 '../../src/bytecodes-irregexp.h',
373 '../../src/cached-powers.cc',
374 '../../src/cached-powers.h',
375 '../../src/char-predicates.cc',
376 '../../src/char-predicates-inl.h',
377 '../../src/char-predicates.h',
378 '../../src/checks.cc',
379 '../../src/checks.h',
380 '../../src/circular-queue-inl.h',
381 '../../src/circular-queue.h',
382 '../../src/code-factory.cc',
383 '../../src/code-factory.h',
384 '../../src/code-stubs.cc',
385 '../../src/code-stubs.h',
386 '../../src/code-stubs-hydrogen.cc',
388 '../../src/codegen.cc',
389 '../../src/codegen.h',
390 '../../src/compilation-cache.cc',
391 '../../src/compilation-cache.h',
392 '../../src/compilation-statistics.cc',
393 '../../src/compilation-statistics.h',
394 '../../src/compiler/access-builder.cc',
395 '../../src/compiler/access-builder.h',
396 '../../src/compiler/ast-graph-builder.cc',
397 '../../src/compiler/ast-graph-builder.h',
398 '../../src/compiler/ast-loop-assignment-analyzer.cc',
399 '../../src/compiler/ast-loop-assignment-analyzer.h',
400 '../../src/compiler/basic-block-instrumentor.cc',
401 '../../src/compiler/basic-block-instrumentor.h',
402 '../../src/compiler/change-lowering.cc',
403 '../../src/compiler/change-lowering.h',
404 '../../src/compiler/code-generator-impl.h',
405 '../../src/compiler/code-generator.cc',
406 '../../src/compiler/code-generator.h',
407 '../../src/compiler/common-node-cache.h',
408 '../../src/compiler/common-operator.cc',
409 '../../src/compiler/common-operator.h',
410 '../../src/compiler/control-builders.cc',
411 '../../src/compiler/control-builders.h',
412 '../../src/compiler/control-reducer.cc',
413 '../../src/compiler/control-reducer.h',
414 '../../src/compiler/diamond.h',
415 '../../src/compiler/frame.h',
416 '../../src/compiler/gap-resolver.cc',
417 '../../src/compiler/gap-resolver.h',
418 '../../src/compiler/generic-algorithm-inl.h',
419 '../../src/compiler/generic-algorithm.h',
420 '../../src/compiler/generic-graph.h',
421 '../../src/compiler/generic-node-inl.h',
422 '../../src/compiler/generic-node.h',
423 '../../src/compiler/graph-builder.cc',
424 '../../src/compiler/graph-builder.h',
425 '../../src/compiler/graph-inl.h',
426 '../../src/compiler/graph-reducer.cc',
427 '../../src/compiler/graph-reducer.h',
428 '../../src/compiler/graph-replay.cc',
429 '../../src/compiler/graph-replay.h',
430 '../../src/compiler/graph-visualizer.cc',
431 '../../src/compiler/graph-visualizer.h',
432 '../../src/compiler/graph.cc',
433 '../../src/compiler/graph.h',
434 '../../src/compiler/instruction-codes.h',
435 '../../src/compiler/instruction-selector-impl.h',
436 '../../src/compiler/instruction-selector.cc',
437 '../../src/compiler/instruction-selector.h',
438 '../../src/compiler/instruction.cc',
439 '../../src/compiler/instruction.h',
440 '../../src/compiler/js-builtin-reducer.cc',
441 '../../src/compiler/js-builtin-reducer.h',
442 '../../src/compiler/js-context-specialization.cc',
443 '../../src/compiler/js-context-specialization.h',
444 '../../src/compiler/js-generic-lowering.cc',
445 '../../src/compiler/js-generic-lowering.h',
446 '../../src/compiler/js-graph.cc',
447 '../../src/compiler/js-graph.h',
448 '../../src/compiler/js-inlining.cc',
449 '../../src/compiler/js-inlining.h',
450 '../../src/compiler/js-intrinsic-builder.cc',
451 '../../src/compiler/js-intrinsic-builder.h',
452 '../../src/compiler/js-operator.cc',
453 '../../src/compiler/js-operator.h',
454 '../../src/compiler/js-typed-lowering.cc',
455 '../../src/compiler/js-typed-lowering.h',
456 '../../src/compiler/linkage-impl.h',
457 '../../src/compiler/linkage.cc',
458 '../../src/compiler/linkage.h',
459 '../../src/compiler/machine-operator-reducer.cc',
460 '../../src/compiler/machine-operator-reducer.h',
461 '../../src/compiler/machine-operator.cc',
462 '../../src/compiler/machine-operator.h',
463 '../../src/compiler/machine-type.cc',
464 '../../src/compiler/machine-type.h',
465 '../../src/compiler/node-aux-data-inl.h',
466 '../../src/compiler/node-aux-data.h',
467 '../../src/compiler/node-cache.cc',
468 '../../src/compiler/node-cache.h',
469 '../../src/compiler/node-matchers.h',
470 '../../src/compiler/node-properties-inl.h',
471 '../../src/compiler/node-properties.h',
472 '../../src/compiler/node.cc',
473 '../../src/compiler/node.h',
474 '../../src/compiler/opcodes.h',
475 '../../src/compiler/operator-properties-inl.h',
476 '../../src/compiler/operator-properties.h',
477 '../../src/compiler/operator.cc',
478 '../../src/compiler/operator.h',
479 '../../src/compiler/phi-reducer.h',
480 '../../src/compiler/pipeline.cc',
481 '../../src/compiler/pipeline.h',
482 '../../src/compiler/pipeline-statistics.cc',
483 '../../src/compiler/pipeline-statistics.h',
484 '../../src/compiler/raw-machine-assembler.cc',
485 '../../src/compiler/raw-machine-assembler.h',
486 '../../src/compiler/register-allocator.cc',
487 '../../src/compiler/register-allocator.h',
488 '../../src/compiler/register-configuration.cc',
489 '../../src/compiler/register-configuration.h',
490 '../../src/compiler/representation-change.h',
491 '../../src/compiler/schedule.cc',
492 '../../src/compiler/schedule.h',
493 '../../src/compiler/scheduler.cc',
494 '../../src/compiler/scheduler.h',
495 '../../src/compiler/select-lowering.cc',
496 '../../src/compiler/select-lowering.h',
497 '../../src/compiler/simplified-lowering.cc',
498 '../../src/compiler/simplified-lowering.h',
499 '../../src/compiler/simplified-operator-reducer.cc',
500 '../../src/compiler/simplified-operator-reducer.h',
501 '../../src/compiler/simplified-operator.cc',
502 '../../src/compiler/simplified-operator.h',
503 '../../src/compiler/source-position.cc',
504 '../../src/compiler/source-position.h',
505 '../../src/compiler/typer.cc',
506 '../../src/compiler/typer.h',
507 '../../src/compiler/value-numbering-reducer.cc',
508 '../../src/compiler/value-numbering-reducer.h',
509 '../../src/compiler/verifier.cc',
510 '../../src/compiler/verifier.h',
511 '../../src/compiler/zone-pool.cc',
512 '../../src/compiler/zone-pool.h',
513 '../../src/compiler.cc',
514 '../../src/compiler.h',
515 '../../src/contexts.cc',
516 '../../src/contexts.h',
517 '../../src/conversions-inl.h',
518 '../../src/conversions.cc',
519 '../../src/conversions.h',
520 '../../src/counters.cc',
521 '../../src/counters.h',
522 '../../src/cpu-profiler-inl.h',
523 '../../src/cpu-profiler.cc',
524 '../../src/cpu-profiler.h',
527 '../../src/dateparser-inl.h',
528 '../../src/dateparser.cc',
529 '../../src/dateparser.h',
530 '../../src/debug.cc',
532 '../../src/deoptimizer.cc',
533 '../../src/deoptimizer.h',
534 '../../src/disasm.h',
535 '../../src/disassembler.cc',
536 '../../src/disassembler.h',
537 '../../src/diy-fp.cc',
538 '../../src/diy-fp.h',
539 '../../src/double.h',
542 '../../src/effects.h',
543 '../../src/elements-kind.cc',
544 '../../src/elements-kind.h',
545 '../../src/elements.cc',
546 '../../src/elements.h',
547 '../../src/execution.cc',
548 '../../src/execution.h',
549 '../../src/extensions/externalize-string-extension.cc',
550 '../../src/extensions/externalize-string-extension.h',
551 '../../src/extensions/free-buffer-extension.cc',
552 '../../src/extensions/free-buffer-extension.h',
553 '../../src/extensions/gc-extension.cc',
554 '../../src/extensions/gc-extension.h',
555 '../../src/extensions/statistics-extension.cc',
556 '../../src/extensions/statistics-extension.h',
557 '../../src/extensions/trigger-failure-extension.cc',
558 '../../src/extensions/trigger-failure-extension.h',
559 '../../src/factory.cc',
560 '../../src/factory.h',
561 '../../src/fast-dtoa.cc',
562 '../../src/fast-dtoa.h',
563 '../../src/field-index.h',
564 '../../src/field-index-inl.h',
565 '../../src/fixed-dtoa.cc',
566 '../../src/fixed-dtoa.h',
567 '../../src/flag-definitions.h',
568 '../../src/flags.cc',
570 '../../src/frames-inl.h',
571 '../../src/frames.cc',
572 '../../src/frames.h',
573 '../../src/full-codegen.cc',
574 '../../src/full-codegen.h',
575 '../../src/func-name-inferrer.cc',
576 '../../src/func-name-inferrer.h',
577 '../../src/gdb-jit.cc',
578 '../../src/gdb-jit.h',
579 '../../src/global-handles.cc',
580 '../../src/global-handles.h',
581 '../../src/globals.h',
582 '../../src/handles-inl.h',
583 '../../src/handles.cc',
584 '../../src/handles.h',
585 '../../src/hashmap.h',
586 '../../src/heap-profiler.cc',
587 '../../src/heap-profiler.h',
588 '../../src/heap-snapshot-generator-inl.h',
589 '../../src/heap-snapshot-generator.cc',
590 '../../src/heap-snapshot-generator.h',
591 '../../src/heap/gc-idle-time-handler.cc',
592 '../../src/heap/gc-idle-time-handler.h',
593 '../../src/heap/gc-tracer.cc',
594 '../../src/heap/gc-tracer.h',
595 '../../src/heap/heap-inl.h',
596 '../../src/heap/heap.cc',
597 '../../src/heap/heap.h',
598 '../../src/heap/incremental-marking-inl.h',
599 '../../src/heap/incremental-marking.cc',
600 '../../src/heap/incremental-marking.h',
601 '../../src/heap/mark-compact-inl.h',
602 '../../src/heap/mark-compact.cc',
603 '../../src/heap/mark-compact.h',
604 '../../src/heap/objects-visiting-inl.h',
605 '../../src/heap/objects-visiting.cc',
606 '../../src/heap/objects-visiting.h',
607 '../../src/heap/spaces-inl.h',
608 '../../src/heap/spaces.cc',
609 '../../src/heap/spaces.h',
610 '../../src/heap/store-buffer-inl.h',
611 '../../src/heap/store-buffer.cc',
612 '../../src/heap/store-buffer.h',
613 '../../src/hydrogen-alias-analysis.h',
614 '../../src/hydrogen-bce.cc',
615 '../../src/hydrogen-bce.h',
616 '../../src/hydrogen-bch.cc',
617 '../../src/hydrogen-bch.h',
618 '../../src/hydrogen-canonicalize.cc',
619 '../../src/hydrogen-canonicalize.h',
620 '../../src/hydrogen-check-elimination.cc',
621 '../../src/hydrogen-check-elimination.h',
622 '../../src/hydrogen-dce.cc',
623 '../../src/hydrogen-dce.h',
624 '../../src/hydrogen-dehoist.cc',
625 '../../src/hydrogen-dehoist.h',
626 '../../src/hydrogen-environment-liveness.cc',
627 '../../src/hydrogen-environment-liveness.h',
628 '../../src/hydrogen-escape-analysis.cc',
629 '../../src/hydrogen-escape-analysis.h',
630 '../../src/hydrogen-flow-engine.h',
631 '../../src/hydrogen-instructions.cc',
632 '../../src/hydrogen-instructions.h',
633 '../../src/hydrogen.cc',
634 '../../src/hydrogen.h',
635 '../../src/hydrogen-gvn.cc',
636 '../../src/hydrogen-gvn.h',
637 '../../src/hydrogen-infer-representation.cc',
638 '../../src/hydrogen-infer-representation.h',
639 '../../src/hydrogen-infer-types.cc',
640 '../../src/hydrogen-infer-types.h',
641 '../../src/hydrogen-load-elimination.cc',
642 '../../src/hydrogen-load-elimination.h',
643 '../../src/hydrogen-mark-deoptimize.cc',
644 '../../src/hydrogen-mark-deoptimize.h',
645 '../../src/hydrogen-mark-unreachable.cc',
646 '../../src/hydrogen-mark-unreachable.h',
647 '../../src/hydrogen-osr.cc',
648 '../../src/hydrogen-osr.h',
649 '../../src/hydrogen-range-analysis.cc',
650 '../../src/hydrogen-range-analysis.h',
651 '../../src/hydrogen-redundant-phi.cc',
652 '../../src/hydrogen-redundant-phi.h',
653 '../../src/hydrogen-removable-simulates.cc',
654 '../../src/hydrogen-removable-simulates.h',
655 '../../src/hydrogen-representation-changes.cc',
656 '../../src/hydrogen-representation-changes.h',
657 '../../src/hydrogen-sce.cc',
658 '../../src/hydrogen-sce.h',
659 '../../src/hydrogen-store-elimination.cc',
660 '../../src/hydrogen-store-elimination.h',
661 '../../src/hydrogen-types.cc',
662 '../../src/hydrogen-types.h',
663 '../../src/hydrogen-uint32-analysis.cc',
664 '../../src/hydrogen-uint32-analysis.h',
667 '../../src/icu_util.cc',
668 '../../src/icu_util.h',
669 '../../src/ic/access-compiler.cc',
670 '../../src/ic/access-compiler.h',
671 '../../src/ic/call-optimization.cc',
672 '../../src/ic/call-optimization.h',
673 '../../src/ic/handler-compiler.cc',
674 '../../src/ic/handler-compiler.h',
675 '../../src/ic/ic-inl.h',
676 '../../src/ic/ic-state.cc',
677 '../../src/ic/ic-state.h',
678 '../../src/ic/ic.cc',
680 '../../src/ic/ic-compiler.cc',
681 '../../src/ic/ic-compiler.h',
682 '../../src/interface.cc',
683 '../../src/interface.h',
684 '../../src/interface-descriptors.cc',
685 '../../src/interface-descriptors.h',
686 '../../src/interpreter-irregexp.cc',
687 '../../src/interpreter-irregexp.h',
688 '../../src/isolate.cc',
689 '../../src/isolate.h',
690 '../../src/json-parser.h',
691 '../../src/json-stringifier.h',
692 '../../src/jsregexp-inl.h',
693 '../../src/jsregexp.cc',
694 '../../src/jsregexp.h',
695 '../../src/list-inl.h',
697 '../../src/lithium-allocator-inl.h',
698 '../../src/lithium-allocator.cc',
699 '../../src/lithium-allocator.h',
700 '../../src/lithium-codegen.cc',
701 '../../src/lithium-codegen.h',
702 '../../src/lithium.cc',
703 '../../src/lithium.h',
704 '../../src/lithium-inl.h',
705 '../../src/liveedit.cc',
706 '../../src/liveedit.h',
707 '../../src/log-inl.h',
708 '../../src/log-utils.cc',
709 '../../src/log-utils.h',
712 '../../src/lookup-inl.h',
713 '../../src/lookup.cc',
714 '../../src/lookup.h',
715 '../../src/macro-assembler.h',
716 '../../src/messages.cc',
717 '../../src/messages.h',
719 '../../src/natives.h',
720 '../../src/objects-debug.cc',
721 '../../src/objects-inl.h',
722 '../../src/objects-printer.cc',
723 '../../src/objects.cc',
724 '../../src/objects.h',
725 '../../src/optimizing-compiler-thread.cc',
726 '../../src/optimizing-compiler-thread.h',
727 '../../src/ostreams.cc',
728 '../../src/ostreams.h',
729 '../../src/parser.cc',
730 '../../src/parser.h',
731 '../../src/perf-jit.cc',
732 '../../src/perf-jit.h',
733 '../../src/preparse-data-format.h',
734 '../../src/preparse-data.cc',
735 '../../src/preparse-data.h',
736 '../../src/preparser.cc',
737 '../../src/preparser.h',
738 '../../src/prettyprinter.cc',
739 '../../src/prettyprinter.h',
740 '../../src/profile-generator-inl.h',
741 '../../src/profile-generator.cc',
742 '../../src/profile-generator.h',
743 '../../src/property-details.h',
744 '../../src/property.cc',
745 '../../src/property.h',
746 '../../src/prototype.h',
747 '../../src/regexp-macro-assembler-irregexp-inl.h',
748 '../../src/regexp-macro-assembler-irregexp.cc',
749 '../../src/regexp-macro-assembler-irregexp.h',
750 '../../src/regexp-macro-assembler-tracer.cc',
751 '../../src/regexp-macro-assembler-tracer.h',
752 '../../src/regexp-macro-assembler.cc',
753 '../../src/regexp-macro-assembler.h',
754 '../../src/regexp-stack.cc',
755 '../../src/regexp-stack.h',
756 '../../src/rewriter.cc',
757 '../../src/rewriter.h',
758 '../../src/runtime-profiler.cc',
759 '../../src/runtime-profiler.h',
760 '../../src/runtime/runtime-api.cc',
761 '../../src/runtime/runtime-array.cc',
762 '../../src/runtime/runtime-classes.cc',
763 '../../src/runtime/runtime-collections.cc',
764 '../../src/runtime/runtime-compiler.cc',
765 '../../src/runtime/runtime-date.cc',
766 '../../src/runtime/runtime-debug.cc',
767 '../../src/runtime/runtime-function.cc',
768 '../../src/runtime/runtime-generator.cc',
769 '../../src/runtime/runtime-i18n.cc',
770 '../../src/runtime/runtime-internal.cc',
771 '../../src/runtime/runtime-json.cc',
772 '../../src/runtime/runtime-literals.cc',
773 '../../src/runtime/runtime-liveedit.cc',
774 '../../src/runtime/runtime-maths.cc',
775 '../../src/runtime/runtime-numbers.cc',
776 '../../src/runtime/runtime-object.cc',
777 '../../src/runtime/runtime-observe.cc',
778 '../../src/runtime/runtime-proxy.cc',
779 '../../src/runtime/runtime-regexp.cc',
780 '../../src/runtime/runtime-scopes.cc',
781 '../../src/runtime/runtime-simd.cc',
782 '../../src/runtime/runtime-strings.cc',
783 '../../src/runtime/runtime-symbol.cc',
784 '../../src/runtime/runtime-test.cc',
785 '../../src/runtime/runtime-typedarray.cc',
786 '../../src/runtime/runtime-uri.cc',
787 '../../src/runtime/runtime-utils.h',
788 '../../src/runtime/runtime.cc',
789 '../../src/runtime/runtime.h',
790 '../../src/runtime/string-builder.h',
791 '../../src/safepoint-table.cc',
792 '../../src/safepoint-table.h',
793 '../../src/sampler.cc',
794 '../../src/sampler.h',
795 '../../src/scanner-character-streams.cc',
796 '../../src/scanner-character-streams.h',
797 '../../src/scanner.cc',
798 '../../src/scanner.h',
799 '../../src/scopeinfo.cc',
800 '../../src/scopeinfo.h',
801 '../../src/scopes.cc',
802 '../../src/scopes.h',
803 '../../src/serialize.cc',
804 '../../src/serialize.h',
805 '../../src/small-pointer-list.h',
806 '../../src/smart-pointers.h',
807 '../../src/snapshot.h',
808 '../../src/snapshot-source-sink.cc',
809 '../../src/snapshot-source-sink.h',
810 '../../src/string-search.cc',
811 '../../src/string-search.h',
812 '../../src/string-stream.cc',
813 '../../src/string-stream.h',
814 '../../src/strtod.cc',
815 '../../src/strtod.h',
816 '../../src/ic/stub-cache.cc',
817 '../../src/ic/stub-cache.h',
818 '../../src/token.cc',
820 '../../src/transitions-inl.h',
821 '../../src/transitions.cc',
822 '../../src/transitions.h',
823 '../../src/type-feedback-vector-inl.h',
824 '../../src/type-feedback-vector.cc',
825 '../../src/type-feedback-vector.h',
826 '../../src/type-info.cc',
827 '../../src/type-info.h',
828 '../../src/types-inl.h',
829 '../../src/types.cc',
831 '../../src/typing.cc',
832 '../../src/typing.h',
833 '../../src/unbound-queue-inl.h',
834 '../../src/unbound-queue.h',
835 '../../src/unicode-inl.h',
836 '../../src/unicode.cc',
837 '../../src/unicode.h',
838 '../../src/unicode-decoder.cc',
839 '../../src/unicode-decoder.h',
840 '../../src/unique.h',
841 '../../src/utils-inl.h',
842 '../../src/utils.cc',
846 '../../src/v8memory.h',
847 '../../src/v8threads.cc',
848 '../../src/v8threads.h',
849 '../../src/variables.cc',
850 '../../src/variables.h',
851 '../../src/vector.h',
852 '../../src/version.cc',
853 '../../src/version.h',
854 '../../src/vm-state-inl.h',
855 '../../src/vm-state.h',
856 '../../src/zone-inl.h',
859 '../../src/third_party/fdlibm/fdlibm.cc',
860 '../../src/third_party/fdlibm/fdlibm.h',
861 '../../src/xdk-allocation.cc',
862 '../../src/xdk-allocation.h',
863 '../../src/xdk-utils.h',
864 '../../src/xdk-utils.cc',
867 ['want_separate_host_toolset==1', {
868 'toolsets': ['host', 'target'],
870 'toolsets': ['target'],
872 ['v8_target_arch=="arm"', {
873 'sources': [ ### gcmole(arch:arm) ###
874 '../../src/arm/assembler-arm-inl.h',
875 '../../src/arm/assembler-arm.cc',
876 '../../src/arm/assembler-arm.h',
877 '../../src/arm/builtins-arm.cc',
878 '../../src/arm/code-stubs-arm.cc',
879 '../../src/arm/code-stubs-arm.h',
880 '../../src/arm/codegen-arm.cc',
881 '../../src/arm/codegen-arm.h',
882 '../../src/arm/constants-arm.h',
883 '../../src/arm/constants-arm.cc',
884 '../../src/arm/cpu-arm.cc',
885 '../../src/arm/debug-arm.cc',
886 '../../src/arm/deoptimizer-arm.cc',
887 '../../src/arm/disasm-arm.cc',
888 '../../src/arm/frames-arm.cc',
889 '../../src/arm/frames-arm.h',
890 '../../src/arm/full-codegen-arm.cc',
891 '../../src/arm/interface-descriptors-arm.cc',
892 '../../src/arm/interface-descriptors-arm.h',
893 '../../src/arm/lithium-arm.cc',
894 '../../src/arm/lithium-arm.h',
895 '../../src/arm/lithium-codegen-arm.cc',
896 '../../src/arm/lithium-codegen-arm.h',
897 '../../src/arm/lithium-gap-resolver-arm.cc',
898 '../../src/arm/lithium-gap-resolver-arm.h',
899 '../../src/arm/macro-assembler-arm.cc',
900 '../../src/arm/macro-assembler-arm.h',
901 '../../src/arm/regexp-macro-assembler-arm.cc',
902 '../../src/arm/regexp-macro-assembler-arm.h',
903 '../../src/arm/simulator-arm.cc',
904 '../../src/compiler/arm/code-generator-arm.cc',
905 '../../src/compiler/arm/instruction-codes-arm.h',
906 '../../src/compiler/arm/instruction-selector-arm.cc',
907 '../../src/compiler/arm/linkage-arm.cc',
908 '../../src/ic/arm/access-compiler-arm.cc',
909 '../../src/ic/arm/handler-compiler-arm.cc',
910 '../../src/ic/arm/ic-arm.cc',
911 '../../src/ic/arm/ic-compiler-arm.cc',
912 '../../src/ic/arm/stub-cache-arm.cc',
915 ['v8_target_arch=="arm64"', {
916 'sources': [ ### gcmole(arch:arm64) ###
917 '../../src/arm64/assembler-arm64.cc',
918 '../../src/arm64/assembler-arm64.h',
919 '../../src/arm64/assembler-arm64-inl.h',
920 '../../src/arm64/builtins-arm64.cc',
921 '../../src/arm64/codegen-arm64.cc',
922 '../../src/arm64/codegen-arm64.h',
923 '../../src/arm64/code-stubs-arm64.cc',
924 '../../src/arm64/code-stubs-arm64.h',
925 '../../src/arm64/constants-arm64.h',
926 '../../src/arm64/cpu-arm64.cc',
927 '../../src/arm64/debug-arm64.cc',
928 '../../src/arm64/decoder-arm64.cc',
929 '../../src/arm64/decoder-arm64.h',
930 '../../src/arm64/decoder-arm64-inl.h',
931 '../../src/arm64/delayed-masm-arm64.cc',
932 '../../src/arm64/delayed-masm-arm64.h',
933 '../../src/arm64/delayed-masm-arm64-inl.h',
934 '../../src/arm64/deoptimizer-arm64.cc',
935 '../../src/arm64/disasm-arm64.cc',
936 '../../src/arm64/disasm-arm64.h',
937 '../../src/arm64/frames-arm64.cc',
938 '../../src/arm64/frames-arm64.h',
939 '../../src/arm64/full-codegen-arm64.cc',
940 '../../src/arm64/instructions-arm64.cc',
941 '../../src/arm64/instructions-arm64.h',
942 '../../src/arm64/instrument-arm64.cc',
943 '../../src/arm64/instrument-arm64.h',
944 '../../src/arm64/interface-descriptors-arm64.cc',
945 '../../src/arm64/interface-descriptors-arm64.h',
946 '../../src/arm64/lithium-arm64.cc',
947 '../../src/arm64/lithium-arm64.h',
948 '../../src/arm64/lithium-codegen-arm64.cc',
949 '../../src/arm64/lithium-codegen-arm64.h',
950 '../../src/arm64/lithium-gap-resolver-arm64.cc',
951 '../../src/arm64/lithium-gap-resolver-arm64.h',
952 '../../src/arm64/macro-assembler-arm64.cc',
953 '../../src/arm64/macro-assembler-arm64.h',
954 '../../src/arm64/macro-assembler-arm64-inl.h',
955 '../../src/arm64/regexp-macro-assembler-arm64.cc',
956 '../../src/arm64/regexp-macro-assembler-arm64.h',
957 '../../src/arm64/simulator-arm64.cc',
958 '../../src/arm64/simulator-arm64.h',
959 '../../src/arm64/utils-arm64.cc',
960 '../../src/arm64/utils-arm64.h',
961 '../../src/compiler/arm64/code-generator-arm64.cc',
962 '../../src/compiler/arm64/instruction-codes-arm64.h',
963 '../../src/compiler/arm64/instruction-selector-arm64.cc',
964 '../../src/compiler/arm64/linkage-arm64.cc',
965 '../../src/ic/arm64/access-compiler-arm64.cc',
966 '../../src/ic/arm64/handler-compiler-arm64.cc',
967 '../../src/ic/arm64/ic-arm64.cc',
968 '../../src/ic/arm64/ic-compiler-arm64.cc',
969 '../../src/ic/arm64/stub-cache-arm64.cc',
972 ['v8_target_arch=="ia32"', {
973 'sources': [ ### gcmole(arch:ia32) ###
974 '../../src/ia32/assembler-ia32-inl.h',
975 '../../src/ia32/assembler-ia32.cc',
976 '../../src/ia32/assembler-ia32.h',
977 '../../src/ia32/builtins-ia32.cc',
978 '../../src/ia32/code-stubs-ia32.cc',
979 '../../src/ia32/code-stubs-ia32.h',
980 '../../src/ia32/codegen-ia32.cc',
981 '../../src/ia32/codegen-ia32.h',
982 '../../src/ia32/cpu-ia32.cc',
983 '../../src/ia32/debug-ia32.cc',
984 '../../src/ia32/deoptimizer-ia32.cc',
985 '../../src/ia32/disasm-ia32.cc',
986 '../../src/ia32/frames-ia32.cc',
987 '../../src/ia32/frames-ia32.h',
988 '../../src/ia32/full-codegen-ia32.cc',
989 '../../src/ia32/interface-descriptors-ia32.cc',
990 '../../src/ia32/lithium-codegen-ia32.cc',
991 '../../src/ia32/lithium-codegen-ia32.h',
992 '../../src/ia32/lithium-gap-resolver-ia32.cc',
993 '../../src/ia32/lithium-gap-resolver-ia32.h',
994 '../../src/ia32/lithium-ia32.cc',
995 '../../src/ia32/lithium-ia32.h',
996 '../../src/ia32/macro-assembler-ia32.cc',
997 '../../src/ia32/macro-assembler-ia32.h',
998 '../../src/ia32/regexp-macro-assembler-ia32.cc',
999 '../../src/ia32/regexp-macro-assembler-ia32.h',
1000 '../../src/compiler/ia32/code-generator-ia32.cc',
1001 '../../src/compiler/ia32/instruction-codes-ia32.h',
1002 '../../src/compiler/ia32/instruction-selector-ia32.cc',
1003 '../../src/compiler/ia32/linkage-ia32.cc',
1004 '../../src/ic/ia32/access-compiler-ia32.cc',
1005 '../../src/ic/ia32/handler-compiler-ia32.cc',
1006 '../../src/ic/ia32/ic-ia32.cc',
1007 '../../src/ic/ia32/ic-compiler-ia32.cc',
1008 '../../src/ic/ia32/stub-cache-ia32.cc',
1011 ['v8_target_arch=="x87"', {
1012 'sources': [ ### gcmole(arch:x87) ###
1013 '../../src/x87/assembler-x87-inl.h',
1014 '../../src/x87/assembler-x87.cc',
1015 '../../src/x87/assembler-x87.h',
1016 '../../src/x87/builtins-x87.cc',
1017 '../../src/x87/code-stubs-x87.cc',
1018 '../../src/x87/code-stubs-x87.h',
1019 '../../src/x87/codegen-x87.cc',
1020 '../../src/x87/codegen-x87.h',
1021 '../../src/x87/cpu-x87.cc',
1022 '../../src/x87/debug-x87.cc',
1023 '../../src/x87/deoptimizer-x87.cc',
1024 '../../src/x87/disasm-x87.cc',
1025 '../../src/x87/frames-x87.cc',
1026 '../../src/x87/frames-x87.h',
1027 '../../src/x87/full-codegen-x87.cc',
1028 '../../src/x87/interface-descriptors-x87.cc',
1029 '../../src/x87/lithium-codegen-x87.cc',
1030 '../../src/x87/lithium-codegen-x87.h',
1031 '../../src/x87/lithium-gap-resolver-x87.cc',
1032 '../../src/x87/lithium-gap-resolver-x87.h',
1033 '../../src/x87/lithium-x87.cc',
1034 '../../src/x87/lithium-x87.h',
1035 '../../src/x87/macro-assembler-x87.cc',
1036 '../../src/x87/macro-assembler-x87.h',
1037 '../../src/x87/regexp-macro-assembler-x87.cc',
1038 '../../src/x87/regexp-macro-assembler-x87.h',
1039 '../../src/ic/x87/access-compiler-x87.cc',
1040 '../../src/ic/x87/handler-compiler-x87.cc',
1041 '../../src/ic/x87/ic-x87.cc',
1042 '../../src/ic/x87/ic-compiler-x87.cc',
1043 '../../src/ic/x87/stub-cache-x87.cc',
1046 ['v8_target_arch=="mips" or v8_target_arch=="mipsel"', {
1047 'sources': [ ### gcmole(arch:mipsel) ###
1048 '../../src/mips/assembler-mips.cc',
1049 '../../src/mips/assembler-mips.h',
1050 '../../src/mips/assembler-mips-inl.h',
1051 '../../src/mips/builtins-mips.cc',
1052 '../../src/mips/codegen-mips.cc',
1053 '../../src/mips/codegen-mips.h',
1054 '../../src/mips/code-stubs-mips.cc',
1055 '../../src/mips/code-stubs-mips.h',
1056 '../../src/mips/constants-mips.cc',
1057 '../../src/mips/constants-mips.h',
1058 '../../src/mips/cpu-mips.cc',
1059 '../../src/mips/debug-mips.cc',
1060 '../../src/mips/deoptimizer-mips.cc',
1061 '../../src/mips/disasm-mips.cc',
1062 '../../src/mips/frames-mips.cc',
1063 '../../src/mips/frames-mips.h',
1064 '../../src/mips/full-codegen-mips.cc',
1065 '../../src/mips/interface-descriptors-mips.cc',
1066 '../../src/mips/lithium-codegen-mips.cc',
1067 '../../src/mips/lithium-codegen-mips.h',
1068 '../../src/mips/lithium-gap-resolver-mips.cc',
1069 '../../src/mips/lithium-gap-resolver-mips.h',
1070 '../../src/mips/lithium-mips.cc',
1071 '../../src/mips/lithium-mips.h',
1072 '../../src/mips/macro-assembler-mips.cc',
1073 '../../src/mips/macro-assembler-mips.h',
1074 '../../src/mips/regexp-macro-assembler-mips.cc',
1075 '../../src/mips/regexp-macro-assembler-mips.h',
1076 '../../src/mips/simulator-mips.cc',
1077 '../../src/compiler/mips/code-generator-mips.cc',
1078 '../../src/compiler/mips/instruction-codes-mips.h',
1079 '../../src/compiler/mips/instruction-selector-mips.cc',
1080 '../../src/compiler/mips/linkage-mips.cc',
1081 '../../src/ic/mips/access-compiler-mips.cc',
1082 '../../src/ic/mips/handler-compiler-mips.cc',
1083 '../../src/ic/mips/ic-mips.cc',
1084 '../../src/ic/mips/ic-compiler-mips.cc',
1085 '../../src/ic/mips/stub-cache-mips.cc',
1088 ['v8_target_arch=="mips64el"', {
1089 'sources': [ ### gcmole(arch:mips64el) ###
1090 '../../src/mips64/assembler-mips64.cc',
1091 '../../src/mips64/assembler-mips64.h',
1092 '../../src/mips64/assembler-mips64-inl.h',
1093 '../../src/mips64/builtins-mips64.cc',
1094 '../../src/mips64/codegen-mips64.cc',
1095 '../../src/mips64/codegen-mips64.h',
1096 '../../src/mips64/code-stubs-mips64.cc',
1097 '../../src/mips64/code-stubs-mips64.h',
1098 '../../src/mips64/constants-mips64.cc',
1099 '../../src/mips64/constants-mips64.h',
1100 '../../src/mips64/cpu-mips64.cc',
1101 '../../src/mips64/debug-mips64.cc',
1102 '../../src/mips64/deoptimizer-mips64.cc',
1103 '../../src/mips64/disasm-mips64.cc',
1104 '../../src/mips64/frames-mips64.cc',
1105 '../../src/mips64/frames-mips64.h',
1106 '../../src/mips64/full-codegen-mips64.cc',
1107 '../../src/mips64/interface-descriptors-mips64.cc',
1108 '../../src/mips64/lithium-codegen-mips64.cc',
1109 '../../src/mips64/lithium-codegen-mips64.h',
1110 '../../src/mips64/lithium-gap-resolver-mips64.cc',
1111 '../../src/mips64/lithium-gap-resolver-mips64.h',
1112 '../../src/mips64/lithium-mips64.cc',
1113 '../../src/mips64/lithium-mips64.h',
1114 '../../src/mips64/macro-assembler-mips64.cc',
1115 '../../src/mips64/macro-assembler-mips64.h',
1116 '../../src/mips64/regexp-macro-assembler-mips64.cc',
1117 '../../src/mips64/regexp-macro-assembler-mips64.h',
1118 '../../src/mips64/simulator-mips64.cc',
1119 '../../src/ic/mips64/access-compiler-mips64.cc',
1120 '../../src/ic/mips64/handler-compiler-mips64.cc',
1121 '../../src/ic/mips64/ic-mips64.cc',
1122 '../../src/ic/mips64/ic-compiler-mips64.cc',
1123 '../../src/ic/mips64/stub-cache-mips64.cc',
1126 ['v8_target_arch=="x64" or v8_target_arch=="x32"', {
1127 'sources': [ ### gcmole(arch:x64) ###
1128 '../../src/x64/assembler-x64-inl.h',
1129 '../../src/x64/assembler-x64.cc',
1130 '../../src/x64/assembler-x64.h',
1131 '../../src/x64/builtins-x64.cc',
1132 '../../src/x64/code-stubs-x64.cc',
1133 '../../src/x64/code-stubs-x64.h',
1134 '../../src/x64/codegen-x64.cc',
1135 '../../src/x64/codegen-x64.h',
1136 '../../src/x64/cpu-x64.cc',
1137 '../../src/x64/debug-x64.cc',
1138 '../../src/x64/deoptimizer-x64.cc',
1139 '../../src/x64/disasm-x64.cc',
1140 '../../src/x64/frames-x64.cc',
1141 '../../src/x64/frames-x64.h',
1142 '../../src/x64/full-codegen-x64.cc',
1143 '../../src/x64/interface-descriptors-x64.cc',
1144 '../../src/x64/lithium-codegen-x64.cc',
1145 '../../src/x64/lithium-codegen-x64.h',
1146 '../../src/x64/lithium-gap-resolver-x64.cc',
1147 '../../src/x64/lithium-gap-resolver-x64.h',
1148 '../../src/x64/lithium-x64.cc',
1149 '../../src/x64/lithium-x64.h',
1150 '../../src/x64/macro-assembler-x64.cc',
1151 '../../src/x64/macro-assembler-x64.h',
1152 '../../src/x64/regexp-macro-assembler-x64.cc',
1153 '../../src/x64/regexp-macro-assembler-x64.h',
1154 '../../src/compiler/x64/code-generator-x64.cc',
1155 '../../src/compiler/x64/instruction-codes-x64.h',
1156 '../../src/compiler/x64/instruction-selector-x64.cc',
1157 '../../src/compiler/x64/linkage-x64.cc',
1158 '../../src/ic/x64/access-compiler-x64.cc',
1159 '../../src/ic/x64/handler-compiler-x64.cc',
1160 '../../src/ic/x64/ic-x64.cc',
1161 '../../src/ic/x64/ic-compiler-x64.cc',
1162 '../../src/ic/x64/stub-cache-x64.cc',
1168 ['v8_compress_startup_data=="bz2"', {
1179 'gyp_generators': '<!(echo $GYP_GENERATORS)',
1181 'msvs_disabled_warnings': [4351, 4355, 4800],
1183 ['component=="shared_library"', {
1185 'BUILDING_V8_SHARED',
1189 ['v8_postmortem_support=="true"', {
1191 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
1194 ['v8_enable_i18n_support==1', {
1196 '<(icu_gyp_path):icui18n',
1197 '<(icu_gyp_path):icuuc',
1199 }, { # v8_enable_i18n_support==0
1201 '../../src/i18n.cc',
1205 ['OS=="win" and v8_enable_i18n_support==1', {
1207 '<(icu_gyp_path):icudata',
1210 ['icu_use_data_file_flag==1', {
1211 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
1212 }, { # else icu_use_data_file_flag !=1
1215 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
1217 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
1224 'target_name': 'v8_libbase',
1225 'type': 'static_library',
1233 '../../src/base/atomicops.h',
1234 '../../src/base/atomicops_internals_arm64_gcc.h',
1235 '../../src/base/atomicops_internals_arm_gcc.h',
1236 '../../src/base/atomicops_internals_atomicword_compat.h',
1237 '../../src/base/atomicops_internals_mac.h',
1238 '../../src/base/atomicops_internals_mips_gcc.h',
1239 '../../src/base/atomicops_internals_tsan.h',
1240 '../../src/base/atomicops_internals_x86_gcc.cc',
1241 '../../src/base/atomicops_internals_x86_gcc.h',
1242 '../../src/base/atomicops_internals_x86_msvc.h',
1243 '../../src/base/bits.cc',
1244 '../../src/base/bits.h',
1245 '../../src/base/build_config.h',
1246 '../../src/base/compiler-specific.h',
1247 '../../src/base/cpu.cc',
1248 '../../src/base/cpu.h',
1249 '../../src/base/division-by-constant.cc',
1250 '../../src/base/division-by-constant.h',
1251 '../../src/base/flags.h',
1252 '../../src/base/functional.cc',
1253 '../../src/base/functional.h',
1254 '../../src/base/lazy-instance.h',
1255 '../../src/base/logging.cc',
1256 '../../src/base/logging.h',
1257 '../../src/base/macros.h',
1258 '../../src/base/once.cc',
1259 '../../src/base/once.h',
1260 '../../src/base/platform/elapsed-timer.h',
1261 '../../src/base/platform/time.cc',
1262 '../../src/base/platform/time.h',
1263 '../../src/base/platform/condition-variable.cc',
1264 '../../src/base/platform/condition-variable.h',
1265 '../../src/base/platform/mutex.cc',
1266 '../../src/base/platform/mutex.h',
1267 '../../src/base/platform/platform.h',
1268 '../../src/base/platform/semaphore.cc',
1269 '../../src/base/platform/semaphore.h',
1270 '../../src/base/safe_conversions.h',
1271 '../../src/base/safe_conversions_impl.h',
1272 '../../src/base/safe_math.h',
1273 '../../src/base/safe_math_impl.h',
1274 '../../src/base/sys-info.cc',
1275 '../../src/base/sys-info.h',
1276 '../../src/base/utils/random-number-generator.cc',
1277 '../../src/base/utils/random-number-generator.h',
1280 ['want_separate_host_toolset==1', {
1281 'toolsets': ['host', 'target'],
1283 'toolsets': ['target'],
1287 ['nacl_target_arch=="none"', {
1295 'V8_LIBRT_NOT_AVAILABLE=1',
1300 '../../src/base/platform/platform-linux.cc',
1301 '../../src/base/platform/platform-posix.cc'
1307 '../../src/base/platform/platform-posix.cc'
1310 ['host_os=="mac"', {
1311 'target_conditions': [
1312 ['_toolset=="host"', {
1314 '../../src/base/platform/platform-macos.cc'
1318 '../../src/base/platform/platform-linux.cc'
1323 # TODO(bmeurer): What we really want here, is this:
1325 # 'link_settings': {
1326 # 'target_conditions': [
1327 # ['_toolset=="host"', {
1335 # but we can't do this right now, as the AOSP does not support
1336 # linking against the host librt, so we need to work around this
1337 # for now, using the following hack (see platform/time.cc):
1338 'target_conditions': [
1339 ['_toolset=="host"', {
1341 'V8_LIBRT_NOT_AVAILABLE=1',
1346 '../../src/base/platform/platform-linux.cc'
1354 'target_conditions': [
1355 ['_toolset=="host" and host_os=="linux"', {
1360 ['_toolset=="target"', {
1368 '../../src/base/platform/platform-posix.cc',
1369 '../../src/base/qnx-math.h',
1371 'target_conditions': [
1372 ['_toolset=="host" and host_os=="linux"', {
1374 '../../src/base/platform/platform-linux.cc'
1377 ['_toolset=="host" and host_os=="mac"', {
1379 '../../src/base/platform/platform-macos.cc'
1382 ['_toolset=="target"', {
1384 '../../src/base/platform/platform-qnx.cc'
1393 '-L/usr/local/lib -lexecinfo',
1396 '../../src/base/platform/platform-freebsd.cc',
1397 '../../src/base/platform/platform-posix.cc'
1404 '-L/usr/local/lib -lexecinfo',
1407 '../../src/base/platform/platform-openbsd.cc',
1408 '../../src/base/platform/platform-posix.cc'
1415 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
1418 '../../src/base/platform/platform-openbsd.cc',
1419 '../../src/base/platform/platform-posix.cc'
1429 '../../src/base/platform/platform-solaris.cc',
1430 '../../src/base/platform/platform-posix.cc'
1436 '../../src/base/platform/platform-macos.cc',
1437 '../../src/base/platform/platform-posix.cc'
1442 '_CRT_RAND_S' # for rand_s()
1445 'gyp_generators': '<!(echo $GYP_GENERATORS)',
1448 ['gyp_generators=="make"', {
1450 'build_env': '<!(uname -o)',
1453 ['build_env=="Cygwin"', {
1455 '../../src/base/platform/platform-cygwin.cc',
1456 '../../src/base/platform/platform-posix.cc'
1460 '../../src/base/platform/platform-win32.cc',
1461 '../../src/base/win32-headers.h',
1466 'libraries': [ '-lwinmm', '-lws2_32' ],
1470 '../../src/base/platform/platform-win32.cc',
1471 '../../src/base/win32-headers.h',
1473 'msvs_disabled_warnings': [4351, 4355, 4800],
1475 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
1483 'target_name': 'v8_libplatform',
1484 'type': 'static_library',
1495 '../../include/libplatform/libplatform.h',
1496 '../../src/libplatform/default-platform.cc',
1497 '../../src/libplatform/default-platform.h',
1498 '../../src/libplatform/task-queue.cc',
1499 '../../src/libplatform/task-queue.h',
1500 '../../src/libplatform/worker-thread.cc',
1501 '../../src/libplatform/worker-thread.h',
1504 ['want_separate_host_toolset==1', {
1505 'toolsets': ['host', 'target'],
1507 'toolsets': ['target'],
1512 'target_name': 'natives_blob',
1515 [ 'v8_use_external_startup_data==1', {
1517 ['want_separate_host_toolset==1', {
1518 'dependencies': ['js2c#host'],
1520 'dependencies': ['js2c'],
1524 'action_name': 'concatenate_natives_blob',
1526 '../../tools/concatenate-files.py',
1527 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1528 '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1531 ['want_separate_host_toolset==1', {
1532 'target_conditions': [
1533 ['_toolset=="host"', {
1535 '<(PRODUCT_DIR)/natives_blob_host.bin',
1538 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob_host.bin'
1542 '<(PRODUCT_DIR)/natives_blob.bin',
1545 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
1551 '<(PRODUCT_DIR)/natives_blob.bin',
1554 'python', '<@(_inputs)', '<(PRODUCT_DIR)/natives_blob.bin'
1560 ['want_separate_host_toolset==1', {
1561 'toolsets': ['host', 'target'],
1563 'toolsets': ['target'],
1568 'target_name': 'js2c',
1571 ['want_separate_host_toolset==1', {
1572 'toolsets': ['host'],
1574 'toolsets': ['target'],
1576 ['v8_enable_i18n_support==1', {
1578 'i18n_library_files': [
1579 '../../src/i18n.js',
1584 'i18n_library_files': [],
1590 '../../src/runtime.js',
1591 '../../src/v8natives.js',
1592 '../../src/symbol.js',
1593 '../../src/array.js',
1594 '../../src/string.js',
1596 '../../src/third_party/fdlibm/fdlibm.js',
1597 '../../src/math.js',
1598 '../../src/apinatives.js',
1599 '../../src/date.js',
1600 '../../src/regexp.js',
1601 '../../src/arraybuffer.js',
1602 '../../src/typedarray.js',
1603 '../../src/generator.js',
1604 '../../src/object-observe.js',
1605 '../../src/collection.js',
1606 '../../src/weak-collection.js',
1607 '../../src/collection-iterator.js',
1608 '../../src/promise.js',
1609 '../../src/messages.js',
1610 '../../src/json.js',
1611 '../../src/array-iterator.js',
1612 '../../src/string-iterator.js',
1613 '../../src/debug-debugger.js',
1614 '../../src/mirror-debugger.js',
1615 '../../src/liveedit-debugger.js',
1616 '../../src/macros.py',
1618 'experimental_library_files': [
1619 '../../src/macros.py',
1620 '../../src/proxy.js',
1621 '../../src/generator.js',
1622 '../../src/harmony-string.js',
1623 '../../src/harmony-array.js',
1624 '../../src/harmony-tostring.js',
1625 '../../src/harmony-typedarray.js',
1626 '../../src/harmony-classes.js',
1627 '../../src/simd128.js',
1629 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
1630 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
1634 'action_name': 'js2c',
1636 '../../tools/js2c.py',
1637 '<@(library_files)',
1638 '<@(i18n_library_files)',
1641 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1645 '../../tools/js2c.py',
1646 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
1648 '<(v8_compress_startup_data)',
1649 '<@(library_files)',
1650 '<@(i18n_library_files)',
1653 [ 'v8_use_external_startup_data==1', {
1654 'outputs': ['<@(libraries_bin_file)'],
1656 '--startup_blob', '<@(libraries_bin_file)',
1662 'action_name': 'js2c_experimental',
1664 '../../tools/js2c.py',
1665 '<@(experimental_library_files)',
1668 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
1672 '../../tools/js2c.py',
1673 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
1675 '<(v8_compress_startup_data)',
1676 '<@(experimental_library_files)'
1679 [ 'v8_use_external_startup_data==1', {
1680 'outputs': ['<@(libraries_experimental_bin_file)'],
1682 '--startup_blob', '<@(libraries_experimental_bin_file)'
1690 'target_name': 'postmortem-metadata',
1693 'heapobject_files': [
1694 '../../src/objects.h',
1695 '../../src/objects-inl.h',
1700 'action_name': 'gen-postmortem-metadata',
1702 '../../tools/gen-postmortem-metadata.py',
1703 '<@(heapobject_files)',
1706 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
1710 '../../tools/gen-postmortem-metadata.py',
1712 '<@(heapobject_files)'
1718 'target_name': 'mksnapshot',
1719 'type': 'executable',
1720 'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'],
1725 '../../src/mksnapshot.cc',
1728 ['v8_enable_i18n_support==1', {
1730 '<(icu_gyp_path):icui18n',
1731 '<(icu_gyp_path):icuuc',
1734 ['want_separate_host_toolset==1', {
1735 'toolsets': ['host'],
1737 'toolsets': ['target'],
1739 ['v8_compress_startup_data=="bz2"', {