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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 } | 801 } |
802 | 802 |
803 v8_source_set("v8_nosnapshot") { | 803 v8_source_set("v8_nosnapshot") { |
804 visibility = [ ":*" ] # Only targets in this file can depend on this. | 804 visibility = [ ":*" ] # Only targets in this file can depend on this. |
805 | 805 |
806 deps = [ | 806 deps = [ |
807 ":js2c", | 807 ":js2c", |
808 ":js2c_experimental_extras", | 808 ":js2c_experimental_extras", |
809 ":js2c_extras", | 809 ":js2c_extras", |
810 ":v8_base", | 810 ":v8_base", |
| 811 ":v8_builtins_generators", |
811 ] | 812 ] |
812 | 813 |
813 sources = [ | 814 sources = [ |
814 "$target_gen_dir/experimental-extras-libraries.cc", | 815 "$target_gen_dir/experimental-extras-libraries.cc", |
815 "$target_gen_dir/extras-libraries.cc", | 816 "$target_gen_dir/extras-libraries.cc", |
816 "$target_gen_dir/libraries.cc", | 817 "$target_gen_dir/libraries.cc", |
817 "src/snapshot/snapshot-empty.cc", | 818 "src/snapshot/snapshot-empty.cc", |
818 ] | 819 ] |
819 | 820 |
820 configs = [ ":internal_config" ] | 821 configs = [ ":internal_config" ] |
821 } | 822 } |
822 | 823 |
823 v8_source_set("v8_snapshot") { | 824 v8_source_set("v8_snapshot") { |
824 # Only targets in this file and the top-level visibility target can | 825 # Only targets in this file and the top-level visibility target can |
825 # depend on this. | 826 # depend on this. |
826 visibility = [ | 827 visibility = [ |
827 ":*", | 828 ":*", |
828 "//:gn_visibility", | 829 "//:gn_visibility", |
829 ] | 830 ] |
830 | 831 |
831 deps = [ | 832 deps = [ |
832 ":js2c", | 833 ":js2c", |
833 ":js2c_experimental_extras", | 834 ":js2c_experimental_extras", |
834 ":js2c_extras", | 835 ":js2c_extras", |
835 ":v8_base", | 836 ":v8_base", |
| 837 ":v8_builtins_generators", |
836 ] | 838 ] |
837 public_deps = [ | 839 public_deps = [ |
838 # This should be public so downstream targets can declare the snapshot | 840 # This should be public so downstream targets can declare the snapshot |
839 # output file as their inputs. | 841 # output file as their inputs. |
840 ":run_mksnapshot", | 842 ":run_mksnapshot", |
841 ] | 843 ] |
842 | 844 |
843 sources = [ | 845 sources = [ |
844 "$target_gen_dir/experimental-extras-libraries.cc", | 846 "$target_gen_dir/experimental-extras-libraries.cc", |
845 "$target_gen_dir/extras-libraries.cc", | 847 "$target_gen_dir/extras-libraries.cc", |
846 "$target_gen_dir/libraries.cc", | 848 "$target_gen_dir/libraries.cc", |
847 "$target_gen_dir/snapshot.cc", | 849 "$target_gen_dir/snapshot.cc", |
848 ] | 850 ] |
849 | 851 |
850 configs = [ ":internal_config" ] | 852 configs = [ ":internal_config" ] |
851 } | 853 } |
852 | 854 |
853 if (v8_use_external_startup_data) { | 855 if (v8_use_external_startup_data) { |
854 v8_source_set("v8_external_snapshot") { | 856 v8_source_set("v8_external_snapshot") { |
855 visibility = [ ":*" ] # Only targets in this file can depend on this. | 857 visibility = [ ":*" ] # Only targets in this file can depend on this. |
856 | 858 |
857 deps = [ | 859 deps = [ |
858 ":js2c", | 860 ":js2c", |
859 ":js2c_experimental_extras", | 861 ":js2c_experimental_extras", |
860 ":js2c_extras", | 862 ":js2c_extras", |
861 ":v8_base", | 863 ":v8_base", |
| 864 ":v8_builtins_generators", |
862 ] | 865 ] |
863 public_deps = [ | 866 public_deps = [ |
864 ":natives_blob", | 867 ":natives_blob", |
865 ":run_mksnapshot", | 868 ":run_mksnapshot", |
866 ] | 869 ] |
867 | 870 |
868 sources = [ | 871 sources = [ |
869 "src/snapshot/natives-external.cc", | 872 "src/snapshot/natives-external.cc", |
870 "src/snapshot/snapshot-external.cc", | 873 "src/snapshot/snapshot-external.cc", |
871 ] | 874 ] |
872 | 875 |
873 configs = [ ":internal_config" ] | 876 configs = [ ":internal_config" ] |
874 } | 877 } |
875 } | 878 } |
876 | 879 |
| 880 v8_source_set("v8_builtins_generators") { |
| 881 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 882 |
| 883 deps = [ |
| 884 ":v8_base", |
| 885 ] |
| 886 |
| 887 sources = [ |
| 888 ### gcmole(all) ### |
| 889 "src/builtins/builtins-arguments-gen.cc", |
| 890 "src/builtins/builtins-arguments.h", |
| 891 "src/builtins/builtins-array-gen.cc", |
| 892 "src/builtins/builtins-async-function-gen.cc", |
| 893 "src/builtins/builtins-async-gen.cc", |
| 894 "src/builtins/builtins-async-iterator-gen.cc", |
| 895 "src/builtins/builtins-async.h", |
| 896 "src/builtins/builtins-boolean-gen.cc", |
| 897 "src/builtins/builtins-constructor-gen.cc", |
| 898 "src/builtins/builtins-constructor.h", |
| 899 "src/builtins/builtins-conversion-gen.cc", |
| 900 "src/builtins/builtins-date-gen.cc", |
| 901 "src/builtins/builtins-forin-gen.cc", |
| 902 "src/builtins/builtins-forin.h", |
| 903 "src/builtins/builtins-function-gen.cc", |
| 904 "src/builtins/builtins-generator-gen.cc", |
| 905 "src/builtins/builtins-global-gen.cc", |
| 906 "src/builtins/builtins-handler-gen.cc", |
| 907 "src/builtins/builtins-ic-gen.cc", |
| 908 "src/builtins/builtins-internal-gen.cc", |
| 909 "src/builtins/builtins-math-gen.cc", |
| 910 "src/builtins/builtins-number-gen.cc", |
| 911 "src/builtins/builtins-object-gen.cc", |
| 912 "src/builtins/builtins-promise-gen.cc", |
| 913 "src/builtins/builtins-promise.h", |
| 914 "src/builtins/builtins-regexp-gen.cc", |
| 915 "src/builtins/builtins-regexp-gen.h", |
| 916 "src/builtins/builtins-sharedarraybuffer-gen.cc", |
| 917 "src/builtins/builtins-string-gen.cc", |
| 918 "src/builtins/builtins-symbol-gen.cc", |
| 919 "src/builtins/builtins-typedarray-gen.cc", |
| 920 "src/builtins/builtins-utils-gen.h", |
| 921 "src/builtins/builtins-wasm-gen.cc", |
| 922 ] |
| 923 |
| 924 configs = [ ":internal_config" ] |
| 925 } |
| 926 |
877 # This is split out to be a non-code containing target that the Chromium browser | 927 # This is split out to be a non-code containing target that the Chromium browser |
878 # DLL can depend upon to get only a version string. | 928 # DLL can depend upon to get only a version string. |
879 v8_header_set("v8_version") { | 929 v8_header_set("v8_version") { |
880 configs = [ ":internal_config" ] | 930 configs = [ ":internal_config" ] |
881 | 931 |
882 sources = [ | 932 sources = [ |
883 "include/v8-version-string.h", | 933 "include/v8-version-string.h", |
884 "include/v8-version.h", | 934 "include/v8-version.h", |
885 ] | 935 ] |
886 } | 936 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 "src/basic-block-profiler.h", | 1015 "src/basic-block-profiler.h", |
966 "src/bignum-dtoa.cc", | 1016 "src/bignum-dtoa.cc", |
967 "src/bignum-dtoa.h", | 1017 "src/bignum-dtoa.h", |
968 "src/bignum.cc", | 1018 "src/bignum.cc", |
969 "src/bignum.h", | 1019 "src/bignum.h", |
970 "src/bit-vector.cc", | 1020 "src/bit-vector.cc", |
971 "src/bit-vector.h", | 1021 "src/bit-vector.h", |
972 "src/bootstrapper.cc", | 1022 "src/bootstrapper.cc", |
973 "src/bootstrapper.h", | 1023 "src/bootstrapper.h", |
974 "src/builtins/builtins-api.cc", | 1024 "src/builtins/builtins-api.cc", |
975 "src/builtins/builtins-arguments.cc", | |
976 "src/builtins/builtins-arguments.h", | 1025 "src/builtins/builtins-arguments.h", |
977 "src/builtins/builtins-array.cc", | 1026 "src/builtins/builtins-array.cc", |
978 "src/builtins/builtins-arraybuffer.cc", | 1027 "src/builtins/builtins-arraybuffer.cc", |
979 "src/builtins/builtins-async-function.cc", | |
980 "src/builtins/builtins-async-iterator.cc", | |
981 "src/builtins/builtins-async.cc", | |
982 "src/builtins/builtins-async.h", | |
983 "src/builtins/builtins-boolean.cc", | 1028 "src/builtins/builtins-boolean.cc", |
984 "src/builtins/builtins-call.cc", | 1029 "src/builtins/builtins-call.cc", |
985 "src/builtins/builtins-callsite.cc", | 1030 "src/builtins/builtins-callsite.cc", |
986 "src/builtins/builtins-constructor.cc", | |
987 "src/builtins/builtins-constructor.h", | 1031 "src/builtins/builtins-constructor.h", |
988 "src/builtins/builtins-conversion.cc", | |
989 "src/builtins/builtins-dataview.cc", | 1032 "src/builtins/builtins-dataview.cc", |
990 "src/builtins/builtins-date.cc", | 1033 "src/builtins/builtins-date.cc", |
991 "src/builtins/builtins-debug.cc", | 1034 "src/builtins/builtins-debug.cc", |
992 "src/builtins/builtins-error.cc", | 1035 "src/builtins/builtins-error.cc", |
993 "src/builtins/builtins-forin.cc", | |
994 "src/builtins/builtins-forin.h", | 1036 "src/builtins/builtins-forin.h", |
995 "src/builtins/builtins-function.cc", | 1037 "src/builtins/builtins-function.cc", |
996 "src/builtins/builtins-generator.cc", | |
997 "src/builtins/builtins-global.cc", | 1038 "src/builtins/builtins-global.cc", |
998 "src/builtins/builtins-handler.cc", | |
999 "src/builtins/builtins-ic.cc", | |
1000 "src/builtins/builtins-internal.cc", | 1039 "src/builtins/builtins-internal.cc", |
1001 "src/builtins/builtins-interpreter.cc", | 1040 "src/builtins/builtins-interpreter.cc", |
1002 "src/builtins/builtins-json.cc", | 1041 "src/builtins/builtins-json.cc", |
1003 "src/builtins/builtins-math.cc", | 1042 "src/builtins/builtins-math.cc", |
1004 "src/builtins/builtins-number.cc", | 1043 "src/builtins/builtins-number.cc", |
1005 "src/builtins/builtins-object.cc", | 1044 "src/builtins/builtins-object.cc", |
1006 "src/builtins/builtins-promise.cc", | |
1007 "src/builtins/builtins-promise.h", | 1045 "src/builtins/builtins-promise.h", |
1008 "src/builtins/builtins-proxy.cc", | 1046 "src/builtins/builtins-proxy.cc", |
1009 "src/builtins/builtins-reflect.cc", | 1047 "src/builtins/builtins-reflect.cc", |
| 1048 "src/builtins/builtins-regexp-gen.h", |
1010 "src/builtins/builtins-regexp.cc", | 1049 "src/builtins/builtins-regexp.cc", |
1011 "src/builtins/builtins-regexp.h", | |
1012 "src/builtins/builtins-sharedarraybuffer.cc", | 1050 "src/builtins/builtins-sharedarraybuffer.cc", |
1013 "src/builtins/builtins-string.cc", | 1051 "src/builtins/builtins-string.cc", |
1014 "src/builtins/builtins-symbol.cc", | 1052 "src/builtins/builtins-symbol.cc", |
1015 "src/builtins/builtins-typedarray.cc", | 1053 "src/builtins/builtins-typedarray.cc", |
1016 "src/builtins/builtins-utils.h", | 1054 "src/builtins/builtins-utils.h", |
1017 "src/builtins/builtins-wasm.cc", | |
1018 "src/builtins/builtins.cc", | 1055 "src/builtins/builtins.cc", |
1019 "src/builtins/builtins.h", | 1056 "src/builtins/builtins.h", |
1020 "src/cached-powers.cc", | 1057 "src/cached-powers.cc", |
1021 "src/cached-powers.h", | 1058 "src/cached-powers.h", |
1022 "src/cancelable-task.cc", | 1059 "src/cancelable-task.cc", |
1023 "src/cancelable-task.h", | 1060 "src/cancelable-task.h", |
1024 "src/char-predicates-inl.h", | 1061 "src/char-predicates-inl.h", |
1025 "src/char-predicates.cc", | 1062 "src/char-predicates.cc", |
1026 "src/char-predicates.h", | 1063 "src/char-predicates.h", |
1027 "src/checks.h", | 1064 "src/checks.h", |
(...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3135 ] | 3172 ] |
3136 | 3173 |
3137 configs = [ | 3174 configs = [ |
3138 ":external_config", | 3175 ":external_config", |
3139 ":internal_config_base", | 3176 ":internal_config_base", |
3140 ] | 3177 ] |
3141 } | 3178 } |
3142 | 3179 |
3143 v8_fuzzer("wasm_compile_fuzzer") { | 3180 v8_fuzzer("wasm_compile_fuzzer") { |
3144 } | 3181 } |
OLD | NEW |