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

Side by Side Diff: BUILD.gn

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 5 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 | « no previous file | src/arm/builtins-arm.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 2014 The Chromium Authors. All rights reserved. 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 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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/config/mips.gni") 8 import("//build/config/mips.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 10
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 } 621 }
622 622
623 if (v8_embed_script != "") { 623 if (v8_embed_script != "") {
624 sources += [ v8_embed_script ] 624 sources += [ v8_embed_script ]
625 args += [ rebase_path(v8_embed_script, root_build_dir) ] 625 args += [ rebase_path(v8_embed_script, root_build_dir) ]
626 } 626 }
627 } 627 }
628 628
629 action("v8_dump_build_config") { 629 action("v8_dump_build_config") {
630 script = "tools/testrunner/utils/dump_build_config.py" 630 script = "tools/testrunner/utils/dump_build_config.py"
631 outputs = [ "$root_out_dir/v8_build_config.json" ] 631 outputs = [
632 "$root_out_dir/v8_build_config.json",
633 ]
632 args = [ 634 args = [
633 rebase_path("$root_out_dir/v8_build_config.json", root_build_dir), 635 rebase_path("$root_out_dir/v8_build_config.json", root_build_dir),
634 "dcheck_always_on=$dcheck_always_on", 636 "dcheck_always_on=$dcheck_always_on",
635 "is_asan=$is_asan", 637 "is_asan=$is_asan",
636 "is_cfi=$is_cfi", 638 "is_cfi=$is_cfi",
637 "is_component_build=$is_component_build", 639 "is_component_build=$is_component_build",
638 "is_debug=$is_debug", 640 "is_debug=$is_debug",
639 "is_msan=$is_msan", 641 "is_msan=$is_msan",
640 "is_tsan=$is_tsan", 642 "is_tsan=$is_tsan",
641 "target_cpu=\"$target_cpu\"", 643 "target_cpu=\"$target_cpu\"",
642 "v8_enable_i18n_support=$v8_enable_i18n_support", 644 "v8_enable_i18n_support=$v8_enable_i18n_support",
643 "v8_target_cpu=\"$v8_target_cpu\"", 645 "v8_target_cpu=\"$v8_target_cpu\"",
644 "v8_use_snapshot=$v8_use_snapshot", 646 "v8_use_snapshot=$v8_use_snapshot",
645 ] 647 ]
646 } 648 }
647 649
648
649 ############################################################################### 650 ###############################################################################
650 # Source Sets (aka static libraries) 651 # Source Sets (aka static libraries)
651 # 652 #
652 653
653 source_set("v8_maybe_snapshot") { 654 source_set("v8_maybe_snapshot") {
654 if (v8_use_snapshot && v8_use_external_startup_data) { 655 if (v8_use_snapshot && v8_use_external_startup_data) {
655 public_deps = [ 656 public_deps = [
656 ":v8_external_snapshot", 657 ":v8_external_snapshot",
657 ] 658 ]
658 } else if (v8_use_snapshot) { 659 } else if (v8_use_snapshot) {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 "src/api-arguments.cc", 773 "src/api-arguments.cc",
773 "src/api-arguments.h", 774 "src/api-arguments.h",
774 "src/api-experimental.cc", 775 "src/api-experimental.cc",
775 "src/api-experimental.h", 776 "src/api-experimental.h",
776 "src/api-natives.cc", 777 "src/api-natives.cc",
777 "src/api-natives.h", 778 "src/api-natives.h",
778 "src/api.cc", 779 "src/api.cc",
779 "src/api.h", 780 "src/api.h",
780 "src/arguments.cc", 781 "src/arguments.cc",
781 "src/arguments.h", 782 "src/arguments.h",
783 "src/asmjs/asm-js.cc",
784 "src/asmjs/asm-js.h",
785 "src/asmjs/asm-types.cc",
786 "src/asmjs/asm-types.h",
787 "src/asmjs/asm-wasm-builder.cc",
788 "src/asmjs/asm-wasm-builder.h",
789 "src/asmjs/typing-asm.cc",
790 "src/asmjs/typing-asm.h",
782 "src/assembler.cc", 791 "src/assembler.cc",
783 "src/assembler.h", 792 "src/assembler.h",
784 "src/assert-scope.cc", 793 "src/assert-scope.cc",
785 "src/assert-scope.h", 794 "src/assert-scope.h",
786 "src/ast/ast-expression-rewriter.cc", 795 "src/ast/ast-expression-rewriter.cc",
787 "src/ast/ast-expression-rewriter.h", 796 "src/ast/ast-expression-rewriter.h",
788 "src/ast/ast-expression-visitor.cc", 797 "src/ast/ast-expression-visitor.cc",
789 "src/ast/ast-expression-visitor.h", 798 "src/ast/ast-expression-visitor.h",
790 "src/ast/ast-literal-reindexer.cc", 799 "src/ast/ast-literal-reindexer.cc",
791 "src/ast/ast-literal-reindexer.h", 800 "src/ast/ast-literal-reindexer.h",
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 "src/transitions.h", 1495 "src/transitions.h",
1487 "src/type-cache.cc", 1496 "src/type-cache.cc",
1488 "src/type-cache.h", 1497 "src/type-cache.h",
1489 "src/type-feedback-vector-inl.h", 1498 "src/type-feedback-vector-inl.h",
1490 "src/type-feedback-vector.cc", 1499 "src/type-feedback-vector.cc",
1491 "src/type-feedback-vector.h", 1500 "src/type-feedback-vector.h",
1492 "src/type-info.cc", 1501 "src/type-info.cc",
1493 "src/type-info.h", 1502 "src/type-info.h",
1494 "src/types.cc", 1503 "src/types.cc",
1495 "src/types.h", 1504 "src/types.h",
1496 "src/typing-asm.cc",
1497 "src/typing-asm.h",
1498 "src/unicode-cache-inl.h", 1505 "src/unicode-cache-inl.h",
1499 "src/unicode-cache.h", 1506 "src/unicode-cache.h",
1500 "src/unicode-decoder.cc", 1507 "src/unicode-decoder.cc",
1501 "src/unicode-decoder.h", 1508 "src/unicode-decoder.h",
1502 "src/unicode-inl.h", 1509 "src/unicode-inl.h",
1503 "src/unicode.cc", 1510 "src/unicode.cc",
1504 "src/unicode.h", 1511 "src/unicode.h",
1505 "src/uri.cc", 1512 "src/uri.cc",
1506 "src/uri.h", 1513 "src/uri.h",
1507 "src/utils-inl.h", 1514 "src/utils-inl.h",
1508 "src/utils.cc", 1515 "src/utils.cc",
1509 "src/utils.h", 1516 "src/utils.h",
1510 "src/v8.cc", 1517 "src/v8.cc",
1511 "src/v8.h", 1518 "src/v8.h",
1512 "src/v8memory.h", 1519 "src/v8memory.h",
1513 "src/v8threads.cc", 1520 "src/v8threads.cc",
1514 "src/v8threads.h", 1521 "src/v8threads.h",
1515 "src/version.cc", 1522 "src/version.cc",
1516 "src/version.h", 1523 "src/version.h",
1517 "src/vm-state-inl.h", 1524 "src/vm-state-inl.h",
1518 "src/vm-state.h", 1525 "src/vm-state.h",
1519 "src/wasm/asm-types.cc",
1520 "src/wasm/asm-types.h",
1521 "src/wasm/asm-wasm-builder.cc",
1522 "src/wasm/asm-wasm-builder.h",
1523 "src/wasm/ast-decoder.cc", 1526 "src/wasm/ast-decoder.cc",
1524 "src/wasm/ast-decoder.h", 1527 "src/wasm/ast-decoder.h",
1525 "src/wasm/decoder.h", 1528 "src/wasm/decoder.h",
1526 "src/wasm/encoder.cc", 1529 "src/wasm/encoder.cc",
1527 "src/wasm/encoder.h", 1530 "src/wasm/encoder.h",
1528 "src/wasm/leb-helper.h", 1531 "src/wasm/leb-helper.h",
1529 "src/wasm/module-decoder.cc", 1532 "src/wasm/module-decoder.cc",
1530 "src/wasm/module-decoder.h", 1533 "src/wasm/module-decoder.h",
1531 "src/wasm/switch-logic.cc", 1534 "src/wasm/switch-logic.cc",
1532 "src/wasm/switch-logic.h", 1535 "src/wasm/switch-logic.h",
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
2122 deps += [ ":d8_run" ] 2125 deps += [ ":d8_run" ]
2123 } 2126 }
2124 } 2127 }
2125 2128
2126 if (is_component_build) { 2129 if (is_component_build) {
2127 v8_component("v8") { 2130 v8_component("v8") {
2128 sources = [ 2131 sources = [
2129 "src/v8dll-main.cc", 2132 "src/v8dll-main.cc",
2130 ] 2133 ]
2131 2134
2132 deps = [ ":v8_dump_build_config" ] 2135 deps = [
2136 ":v8_dump_build_config",
2137 ]
2133 2138
2134 public_deps = [ 2139 public_deps = [
2135 ":v8_base", 2140 ":v8_base",
2136 ":v8_maybe_snapshot", 2141 ":v8_maybe_snapshot",
2137 ] 2142 ]
2138 2143
2139 configs = [ ":internal_config" ] 2144 configs = [ ":internal_config" ]
2140 2145
2141 public_configs = [ ":external_config" ] 2146 public_configs = [ ":external_config" ]
2142 } 2147 }
2143 } else { 2148 } else {
2144 group("v8") { 2149 group("v8") {
2145 deps = [ ":v8_dump_build_config" ] 2150 deps = [
2151 ":v8_dump_build_config",
2152 ]
2146 2153
2147 public_deps = [ 2154 public_deps = [
2148 ":v8_base", 2155 ":v8_base",
2149 ":v8_maybe_snapshot", 2156 ":v8_maybe_snapshot",
2150 ] 2157 ]
2151 public_configs = [ ":external_config" ] 2158 public_configs = [ ":external_config" ]
2152 } 2159 }
2153 } 2160 }
2154 2161
2155 v8_executable("d8") { 2162 v8_executable("d8") {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 2389
2383 deps = [ 2390 deps = [
2384 ":fuzzer_support", 2391 ":fuzzer_support",
2385 ] 2392 ]
2386 2393
2387 configs = [ ":internal_config" ] 2394 configs = [ ":internal_config" ]
2388 } 2395 }
2389 2396
2390 v8_fuzzer("wasm_asmjs_fuzzer") { 2397 v8_fuzzer("wasm_asmjs_fuzzer") {
2391 } 2398 }
OLDNEW
« no previous file with comments | « no previous file | src/arm/builtins-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698