| OLD | NEW |
| 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 public_deps = [ | 802 public_deps = [ |
| 803 ":v8_external_snapshot", | 803 ":v8_external_snapshot", |
| 804 ] | 804 ] |
| 805 } else if (v8_use_snapshot) { | 805 } else if (v8_use_snapshot) { |
| 806 public_deps = [ | 806 public_deps = [ |
| 807 ":v8_snapshot", | 807 ":v8_snapshot", |
| 808 ] | 808 ] |
| 809 } else { | 809 } else { |
| 810 # Ignore v8_use_external_startup_data setting if no snapshot is used. | 810 # Ignore v8_use_external_startup_data setting if no snapshot is used. |
| 811 public_deps = [ | 811 public_deps = [ |
| 812 ":v8_builtins_setup", | |
| 813 ":v8_nosnapshot", | 812 ":v8_nosnapshot", |
| 814 ] | 813 ] |
| 815 } | 814 } |
| 816 } | 815 } |
| 817 | 816 |
| 818 v8_source_set("v8_nosnapshot") { | 817 v8_source_set("v8_nosnapshot") { |
| 819 visibility = [ ":*" ] # Only targets in this file can depend on this. | 818 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 820 | 819 |
| 821 deps = [ | 820 deps = [ |
| 822 ":js2c", | 821 ":js2c", |
| 823 ":js2c_experimental_extras", | 822 ":js2c_experimental_extras", |
| 824 ":js2c_extras", | 823 ":js2c_extras", |
| 825 ":v8_base", | 824 ":v8_base", |
| 825 ":v8_builtins_generators", |
| 826 ] | 826 ] |
| 827 | 827 |
| 828 sources = [ | 828 sources = [ |
| 829 "$target_gen_dir/experimental-extras-libraries.cc", | 829 "$target_gen_dir/experimental-extras-libraries.cc", |
| 830 "$target_gen_dir/extras-libraries.cc", | 830 "$target_gen_dir/extras-libraries.cc", |
| 831 "$target_gen_dir/libraries.cc", | 831 "$target_gen_dir/libraries.cc", |
| 832 "src/snapshot/snapshot-empty.cc", | 832 "src/snapshot/snapshot-empty.cc", |
| 833 ] | 833 ] |
| 834 | 834 |
| 835 configs = [ ":internal_config" ] | 835 configs = [ ":internal_config" ] |
| 836 } | 836 } |
| 837 | 837 |
| 838 v8_source_set("v8_snapshot") { | 838 v8_source_set("v8_snapshot") { |
| 839 # Only targets in this file and the top-level visibility target can | 839 # Only targets in this file and the top-level visibility target can |
| 840 # depend on this. | 840 # depend on this. |
| 841 visibility = [ | 841 visibility = [ |
| 842 ":*", | 842 ":*", |
| 843 "//:gn_visibility", | 843 "//:gn_visibility", |
| 844 ] | 844 ] |
| 845 | 845 |
| 846 deps = [ | 846 deps = [ |
| 847 ":js2c", | 847 ":js2c", |
| 848 ":js2c_experimental_extras", | 848 ":js2c_experimental_extras", |
| 849 ":js2c_extras", | 849 ":js2c_extras", |
| 850 ":v8_base", | 850 ":v8_base", |
| 851 ":v8_builtins_generators", |
| 851 ] | 852 ] |
| 852 public_deps = [ | 853 public_deps = [ |
| 853 # This should be public so downstream targets can declare the snapshot | 854 # This should be public so downstream targets can declare the snapshot |
| 854 # output file as their inputs. | 855 # output file as their inputs. |
| 855 ":run_mksnapshot", | 856 ":run_mksnapshot", |
| 856 ] | 857 ] |
| 857 | 858 |
| 858 sources = [ | 859 sources = [ |
| 859 "$target_gen_dir/experimental-extras-libraries.cc", | 860 "$target_gen_dir/experimental-extras-libraries.cc", |
| 860 "$target_gen_dir/extras-libraries.cc", | 861 "$target_gen_dir/extras-libraries.cc", |
| 861 "$target_gen_dir/libraries.cc", | 862 "$target_gen_dir/libraries.cc", |
| 862 "$target_gen_dir/snapshot.cc", | 863 "$target_gen_dir/snapshot.cc", |
| 863 "src/setup-isolate-deserialize.cc", | |
| 864 ] | 864 ] |
| 865 | 865 |
| 866 configs = [ ":internal_config" ] | 866 configs = [ ":internal_config" ] |
| 867 } | 867 } |
| 868 | 868 |
| 869 if (v8_use_external_startup_data) { | 869 if (v8_use_external_startup_data) { |
| 870 v8_source_set("v8_external_snapshot") { | 870 v8_source_set("v8_external_snapshot") { |
| 871 visibility = [ ":*" ] # Only targets in this file can depend on this. | 871 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 872 | 872 |
| 873 deps = [ | 873 deps = [ |
| 874 ":js2c", | 874 ":js2c", |
| 875 ":js2c_experimental_extras", | 875 ":js2c_experimental_extras", |
| 876 ":js2c_extras", | 876 ":js2c_extras", |
| 877 ":v8_base", | 877 ":v8_base", |
| 878 ":v8_builtins_generators", |
| 878 ] | 879 ] |
| 879 public_deps = [ | 880 public_deps = [ |
| 880 ":natives_blob", | 881 ":natives_blob", |
| 881 ":run_mksnapshot", | 882 ":run_mksnapshot", |
| 882 ] | 883 ] |
| 883 | 884 |
| 884 sources = [ | 885 sources = [ |
| 885 "src/setup-isolate-deserialize.cc", | |
| 886 "src/snapshot/natives-external.cc", | 886 "src/snapshot/natives-external.cc", |
| 887 "src/snapshot/snapshot-external.cc", | 887 "src/snapshot/snapshot-external.cc", |
| 888 ] | 888 ] |
| 889 | 889 |
| 890 configs = [ ":internal_config" ] | 890 configs = [ ":internal_config" ] |
| 891 } | 891 } |
| 892 } | 892 } |
| 893 | 893 |
| 894 v8_source_set("v8_builtins_generators") { | 894 v8_source_set("v8_builtins_generators") { |
| 895 visibility = [ | 895 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 896 ":*", | |
| 897 "test/cctest:*", | |
| 898 "test/unittests:*", | |
| 899 ] | |
| 900 | 896 |
| 901 deps = [ | 897 deps = [ |
| 902 ":v8_base", | 898 ":v8_base", |
| 903 ] | 899 ] |
| 904 | 900 |
| 905 sources = [ | 901 sources = [ |
| 906 ### gcmole(all) ### | 902 ### gcmole(all) ### |
| 907 "src/builtins/builtins-arguments-gen.cc", | 903 "src/builtins/builtins-arguments-gen.cc", |
| 908 "src/builtins/builtins-arguments-gen.h", | 904 "src/builtins/builtins-arguments-gen.h", |
| 909 "src/builtins/builtins-array-gen.cc", | 905 "src/builtins/builtins-array-gen.cc", |
| 910 "src/builtins/builtins-async-function-gen.cc", | 906 "src/builtins/builtins-async-function-gen.cc", |
| 911 "src/builtins/builtins-async-gen.cc", | 907 "src/builtins/builtins-async-gen.cc", |
| 912 "src/builtins/builtins-async-gen.h", | 908 "src/builtins/builtins-async-gen.h", |
| 913 "src/builtins/builtins-async-generator-gen.cc", | 909 "src/builtins/builtins-async-generator-gen.cc", |
| 914 "src/builtins/builtins-async-iterator-gen.cc", | 910 "src/builtins/builtins-async-iterator-gen.cc", |
| 915 "src/builtins/builtins-boolean-gen.cc", | 911 "src/builtins/builtins-boolean-gen.cc", |
| 916 "src/builtins/builtins-call-gen.cc", | |
| 917 "src/builtins/builtins-constructor-gen.cc", | 912 "src/builtins/builtins-constructor-gen.cc", |
| 918 "src/builtins/builtins-constructor-gen.h", | 913 "src/builtins/builtins-constructor-gen.h", |
| 919 "src/builtins/builtins-constructor.h", | 914 "src/builtins/builtins-constructor.h", |
| 920 "src/builtins/builtins-conversion-gen.cc", | 915 "src/builtins/builtins-conversion-gen.cc", |
| 921 "src/builtins/builtins-date-gen.cc", | 916 "src/builtins/builtins-date-gen.cc", |
| 922 "src/builtins/builtins-forin-gen.cc", | 917 "src/builtins/builtins-forin-gen.cc", |
| 923 "src/builtins/builtins-forin-gen.h", | 918 "src/builtins/builtins-forin-gen.h", |
| 924 "src/builtins/builtins-function-gen.cc", | 919 "src/builtins/builtins-function-gen.cc", |
| 925 "src/builtins/builtins-generator-gen.cc", | 920 "src/builtins/builtins-generator-gen.cc", |
| 926 "src/builtins/builtins-global-gen.cc", | 921 "src/builtins/builtins-global-gen.cc", |
| 927 "src/builtins/builtins-handler-gen.cc", | 922 "src/builtins/builtins-handler-gen.cc", |
| 928 "src/builtins/builtins-ic-gen.cc", | 923 "src/builtins/builtins-ic-gen.cc", |
| 929 "src/builtins/builtins-internal-gen.cc", | 924 "src/builtins/builtins-internal-gen.cc", |
| 930 "src/builtins/builtins-interpreter-gen.cc", | |
| 931 "src/builtins/builtins-math-gen.cc", | 925 "src/builtins/builtins-math-gen.cc", |
| 932 "src/builtins/builtins-number-gen.cc", | 926 "src/builtins/builtins-number-gen.cc", |
| 933 "src/builtins/builtins-object-gen.cc", | 927 "src/builtins/builtins-object-gen.cc", |
| 934 "src/builtins/builtins-promise-gen.cc", | 928 "src/builtins/builtins-promise-gen.cc", |
| 935 "src/builtins/builtins-promise-gen.h", | 929 "src/builtins/builtins-promise-gen.h", |
| 936 "src/builtins/builtins-regexp-gen.cc", | 930 "src/builtins/builtins-regexp-gen.cc", |
| 937 "src/builtins/builtins-regexp-gen.h", | 931 "src/builtins/builtins-regexp-gen.h", |
| 938 "src/builtins/builtins-sharedarraybuffer-gen.cc", | 932 "src/builtins/builtins-sharedarraybuffer-gen.cc", |
| 939 "src/builtins/builtins-string-gen.cc", | 933 "src/builtins/builtins-string-gen.cc", |
| 940 "src/builtins/builtins-symbol-gen.cc", | 934 "src/builtins/builtins-symbol-gen.cc", |
| 941 "src/builtins/builtins-typedarray-gen.cc", | 935 "src/builtins/builtins-typedarray-gen.cc", |
| 942 "src/builtins/builtins-utils-gen.h", | 936 "src/builtins/builtins-utils-gen.h", |
| 943 "src/builtins/builtins-wasm-gen.cc", | 937 "src/builtins/builtins-wasm-gen.cc", |
| 944 "src/builtins/setup-builtins-internal.cc", | |
| 945 "src/ic/accessor-assembler.cc", | 938 "src/ic/accessor-assembler.cc", |
| 946 "src/ic/accessor-assembler.h", | 939 "src/ic/accessor-assembler.h", |
| 947 "src/ic/binary-op-assembler.cc", | 940 "src/ic/binary-op-assembler.cc", |
| 948 "src/ic/binary-op-assembler.h", | 941 "src/ic/binary-op-assembler.h", |
| 949 "src/ic/keyed-store-generic.cc", | 942 "src/ic/keyed-store-generic.cc", |
| 950 "src/ic/keyed-store-generic.h", | 943 "src/ic/keyed-store-generic.h", |
| 951 "src/interpreter/interpreter-assembler.cc", | 944 "src/interpreter/interpreter-assembler.cc", |
| 952 "src/interpreter/interpreter-assembler.h", | 945 "src/interpreter/interpreter-assembler.h", |
| 953 "src/interpreter/interpreter-generator.cc", | 946 "src/interpreter/interpreter-generator.cc", |
| 954 "src/interpreter/interpreter-generator.h", | 947 "src/interpreter/interpreter-generator.h", |
| 955 "src/interpreter/interpreter-intrinsics-generator.cc", | 948 "src/interpreter/interpreter-intrinsics-generator.cc", |
| 956 "src/interpreter/interpreter-intrinsics-generator.h", | 949 "src/interpreter/interpreter-intrinsics-generator.h", |
| 957 "src/interpreter/setup-interpreter-internal.cc", | |
| 958 "src/interpreter/setup-interpreter.h", | |
| 959 ] | 950 ] |
| 960 | 951 |
| 961 if (v8_current_cpu == "x86") { | 952 if (v8_current_cpu == "x86") { |
| 962 sources += [ | 953 sources += [ |
| 963 ### gcmole(arch:ia32) ### | 954 ### gcmole(arch:ia32) ### |
| 964 "src/builtins/ia32/builtins-ia32.cc", | 955 "src/builtins/ia32/builtins-ia32.cc", |
| 965 ] | 956 ] |
| 966 } else if (v8_current_cpu == "x64") { | 957 } else if (v8_current_cpu == "x64") { |
| 967 sources += [ | 958 sources += [ |
| 968 ### gcmole(arch:x64) ### | 959 ### gcmole(arch:x64) ### |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 } else if (v8_current_cpu == "x87") { | 992 } else if (v8_current_cpu == "x87") { |
| 1002 sources += [ | 993 sources += [ |
| 1003 ### gcmole(arch:x87) ### | 994 ### gcmole(arch:x87) ### |
| 1004 "src/builtins/x87/builtins-x87.cc", | 995 "src/builtins/x87/builtins-x87.cc", |
| 1005 ] | 996 ] |
| 1006 } | 997 } |
| 1007 | 998 |
| 1008 configs = [ ":internal_config" ] | 999 configs = [ ":internal_config" ] |
| 1009 } | 1000 } |
| 1010 | 1001 |
| 1011 v8_source_set("v8_builtins_setup") { | |
| 1012 visibility = [ ":*" ] # Only targets in this file can depend on this. | |
| 1013 | |
| 1014 deps = [ | |
| 1015 ":v8_builtins_generators", | |
| 1016 ] | |
| 1017 | |
| 1018 sources = [ | |
| 1019 ### gcmole(all) ### | |
| 1020 "src/setup-isolate-full.cc", | |
| 1021 ] | |
| 1022 | |
| 1023 configs = [ ":internal_config" ] | |
| 1024 } | |
| 1025 | |
| 1026 # This is split out to be a non-code containing target that the Chromium browser | 1002 # This is split out to be a non-code containing target that the Chromium browser |
| 1027 # DLL can depend upon to get only a version string. | 1003 # DLL can depend upon to get only a version string. |
| 1028 v8_header_set("v8_version") { | 1004 v8_header_set("v8_version") { |
| 1029 configs = [ ":internal_config" ] | 1005 configs = [ ":internal_config" ] |
| 1030 | 1006 |
| 1031 sources = [ | 1007 sources = [ |
| 1032 "include/v8-version-string.h", | 1008 "include/v8-version-string.h", |
| 1033 "include/v8-version.h", | 1009 "include/v8-version.h", |
| 1034 ] | 1010 ] |
| 1035 } | 1011 } |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1859 "src/runtime/runtime-strings.cc", | 1835 "src/runtime/runtime-strings.cc", |
| 1860 "src/runtime/runtime-symbol.cc", | 1836 "src/runtime/runtime-symbol.cc", |
| 1861 "src/runtime/runtime-test.cc", | 1837 "src/runtime/runtime-test.cc", |
| 1862 "src/runtime/runtime-typedarray.cc", | 1838 "src/runtime/runtime-typedarray.cc", |
| 1863 "src/runtime/runtime-utils.h", | 1839 "src/runtime/runtime-utils.h", |
| 1864 "src/runtime/runtime-wasm.cc", | 1840 "src/runtime/runtime-wasm.cc", |
| 1865 "src/runtime/runtime.cc", | 1841 "src/runtime/runtime.cc", |
| 1866 "src/runtime/runtime.h", | 1842 "src/runtime/runtime.h", |
| 1867 "src/safepoint-table.cc", | 1843 "src/safepoint-table.cc", |
| 1868 "src/safepoint-table.h", | 1844 "src/safepoint-table.h", |
| 1869 "src/setup-isolate.h", | |
| 1870 "src/signature.h", | 1845 "src/signature.h", |
| 1871 "src/simulator.h", | 1846 "src/simulator.h", |
| 1872 "src/small-pointer-list.h", | 1847 "src/small-pointer-list.h", |
| 1873 "src/snapshot/code-serializer.cc", | 1848 "src/snapshot/code-serializer.cc", |
| 1874 "src/snapshot/code-serializer.h", | 1849 "src/snapshot/code-serializer.h", |
| 1875 "src/snapshot/deserializer.cc", | 1850 "src/snapshot/deserializer.cc", |
| 1876 "src/snapshot/deserializer.h", | 1851 "src/snapshot/deserializer.h", |
| 1877 "src/snapshot/natives-common.cc", | 1852 "src/snapshot/natives-common.cc", |
| 1878 "src/snapshot/natives.h", | 1853 "src/snapshot/natives.h", |
| 1879 "src/snapshot/partial-serializer.cc", | 1854 "src/snapshot/partial-serializer.cc", |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2616 visibility = [ ":*" ] # Only targets in this file can depend on this. | 2591 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 2617 | 2592 |
| 2618 sources = [ | 2593 sources = [ |
| 2619 "src/snapshot/mksnapshot.cc", | 2594 "src/snapshot/mksnapshot.cc", |
| 2620 ] | 2595 ] |
| 2621 | 2596 |
| 2622 configs = [ ":internal_config" ] | 2597 configs = [ ":internal_config" ] |
| 2623 | 2598 |
| 2624 deps = [ | 2599 deps = [ |
| 2625 ":v8_base", | 2600 ":v8_base", |
| 2626 ":v8_builtins_setup", | |
| 2627 ":v8_libbase", | 2601 ":v8_libbase", |
| 2628 ":v8_libplatform", | 2602 ":v8_libplatform", |
| 2629 ":v8_nosnapshot", | 2603 ":v8_nosnapshot", |
| 2630 "//build/config/sanitizers:deps", | 2604 "//build/config/sanitizers:deps", |
| 2631 "//build/win:default_exe_manifest", | 2605 "//build/win:default_exe_manifest", |
| 2632 ] | 2606 ] |
| 2633 } | 2607 } |
| 2634 } | 2608 } |
| 2635 | 2609 |
| 2636 v8_executable("mkpeephole") { | 2610 v8_executable("mkpeephole") { |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3241 ] | 3215 ] |
| 3242 | 3216 |
| 3243 configs = [ | 3217 configs = [ |
| 3244 ":external_config", | 3218 ":external_config", |
| 3245 ":internal_config_base", | 3219 ":internal_config_base", |
| 3246 ] | 3220 ] |
| 3247 } | 3221 } |
| 3248 | 3222 |
| 3249 v8_fuzzer("wasm_compile_fuzzer") { | 3223 v8_fuzzer("wasm_compile_fuzzer") { |
| 3250 } | 3224 } |
| OLD | NEW |