| 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/host_byteorder.gni") | 8 import("//build/config/host_byteorder.gni") |
| 9 import("//build/config/mips.gni") | 9 import("//build/config/mips.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 2644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2655 ] | 2655 ] |
| 2656 | 2656 |
| 2657 configs = [ ":internal_config" ] | 2657 configs = [ ":internal_config" ] |
| 2658 | 2658 |
| 2659 deps = [ | 2659 deps = [ |
| 2660 ":v8_base", | 2660 ":v8_base", |
| 2661 ":v8_builtins_setup", | 2661 ":v8_builtins_setup", |
| 2662 ":v8_libbase", | 2662 ":v8_libbase", |
| 2663 ":v8_libplatform", | 2663 ":v8_libplatform", |
| 2664 ":v8_nosnapshot", | 2664 ":v8_nosnapshot", |
| 2665 "//build/config/sanitizers:deps", | 2665 "//build/config:exe_and_shlib_deps", |
| 2666 "//build/win:default_exe_manifest", | 2666 "//build/win:default_exe_manifest", |
| 2667 ] | 2667 ] |
| 2668 } | 2668 } |
| 2669 } | 2669 } |
| 2670 | 2670 |
| 2671 ############################################################################### | 2671 ############################################################################### |
| 2672 # Public targets | 2672 # Public targets |
| 2673 # | 2673 # |
| 2674 | 2674 |
| 2675 want_v8_shell = | 2675 want_v8_shell = |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2828 # the :external_config applied to it by virtue of depending on :v8, and | 2828 # the :external_config applied to it by virtue of depending on :v8, and |
| 2829 # you can't have both applied to the same target. | 2829 # you can't have both applied to the same target. |
| 2830 ":internal_config_base", | 2830 ":internal_config_base", |
| 2831 ] | 2831 ] |
| 2832 | 2832 |
| 2833 deps = [ | 2833 deps = [ |
| 2834 ":d8_js2c", | 2834 ":d8_js2c", |
| 2835 ":v8", | 2835 ":v8", |
| 2836 ":v8_libbase", | 2836 ":v8_libbase", |
| 2837 ":v8_libplatform", | 2837 ":v8_libplatform", |
| 2838 "//build/config/sanitizers:deps", | 2838 "//build/config:exe_and_shlib_deps", |
| 2839 "//build/win:default_exe_manifest", | 2839 "//build/win:default_exe_manifest", |
| 2840 ] | 2840 ] |
| 2841 | 2841 |
| 2842 if (is_posix) { | 2842 if (is_posix) { |
| 2843 sources += [ "src/d8-posix.cc" ] | 2843 sources += [ "src/d8-posix.cc" ] |
| 2844 } else if (is_win) { | 2844 } else if (is_win) { |
| 2845 sources += [ "src/d8-windows.cc" ] | 2845 sources += [ "src/d8-windows.cc" ] |
| 2846 } | 2846 } |
| 2847 | 2847 |
| 2848 if (v8_correctness_fuzzer) { | 2848 if (v8_correctness_fuzzer) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 2873 # Note: don't use :internal_config here because this target will get | 2873 # Note: don't use :internal_config here because this target will get |
| 2874 # the :external_config applied to it by virtue of depending on :v8, and | 2874 # the :external_config applied to it by virtue of depending on :v8, and |
| 2875 # you can't have both applied to the same target. | 2875 # you can't have both applied to the same target. |
| 2876 ":internal_config_base", | 2876 ":internal_config_base", |
| 2877 ] | 2877 ] |
| 2878 | 2878 |
| 2879 deps = [ | 2879 deps = [ |
| 2880 ":v8", | 2880 ":v8", |
| 2881 ":v8_libbase", | 2881 ":v8_libbase", |
| 2882 ":v8_libplatform", | 2882 ":v8_libplatform", |
| 2883 "//build/config/sanitizers:deps", | 2883 "//build/config:exe_and_shlib_deps", |
| 2884 "//build/win:default_exe_manifest", | 2884 "//build/win:default_exe_manifest", |
| 2885 ] | 2885 ] |
| 2886 } | 2886 } |
| 2887 | 2887 |
| 2888 v8_executable("v8_sample_process") { | 2888 v8_executable("v8_sample_process") { |
| 2889 sources = [ | 2889 sources = [ |
| 2890 "samples/process.cc", | 2890 "samples/process.cc", |
| 2891 ] | 2891 ] |
| 2892 | 2892 |
| 2893 configs = [ | 2893 configs = [ |
| 2894 # Note: don't use :internal_config here because this target will get | 2894 # Note: don't use :internal_config here because this target will get |
| 2895 # the :external_config applied to it by virtue of depending on :v8, and | 2895 # the :external_config applied to it by virtue of depending on :v8, and |
| 2896 # you can't have both applied to the same target. | 2896 # you can't have both applied to the same target. |
| 2897 ":internal_config_base", | 2897 ":internal_config_base", |
| 2898 ] | 2898 ] |
| 2899 | 2899 |
| 2900 deps = [ | 2900 deps = [ |
| 2901 ":v8", | 2901 ":v8", |
| 2902 ":v8_libbase", | 2902 ":v8_libbase", |
| 2903 ":v8_libplatform", | 2903 ":v8_libplatform", |
| 2904 "//build/config/sanitizers:deps", | 2904 "//build/config:exe_and_shlib_deps", |
| 2905 "//build/win:default_exe_manifest", | 2905 "//build/win:default_exe_manifest", |
| 2906 ] | 2906 ] |
| 2907 } | 2907 } |
| 2908 | 2908 |
| 2909 v8_executable("v8_parser_shell") { | 2909 v8_executable("v8_parser_shell") { |
| 2910 sources = [ | 2910 sources = [ |
| 2911 "tools/parser-shell.cc", | 2911 "tools/parser-shell.cc", |
| 2912 "tools/shell-utils.h", | 2912 "tools/shell-utils.h", |
| 2913 ] | 2913 ] |
| 2914 | 2914 |
| 2915 configs = [ | 2915 configs = [ |
| 2916 ":external_config", | 2916 ":external_config", |
| 2917 ":internal_config_base", | 2917 ":internal_config_base", |
| 2918 ] | 2918 ] |
| 2919 | 2919 |
| 2920 deps = [ | 2920 deps = [ |
| 2921 ":v8", | 2921 ":v8", |
| 2922 ":v8_libbase", | 2922 ":v8_libbase", |
| 2923 ":v8_libplatform", | 2923 ":v8_libplatform", |
| 2924 "//build/config/sanitizers:deps", | 2924 "//build/config:exe_and_shlib_deps", |
| 2925 "//build/win:default_exe_manifest", | 2925 "//build/win:default_exe_manifest", |
| 2926 ] | 2926 ] |
| 2927 } | 2927 } |
| 2928 | 2928 |
| 2929 if (want_v8_shell) { | 2929 if (want_v8_shell) { |
| 2930 v8_executable("v8_shell") { | 2930 v8_executable("v8_shell") { |
| 2931 sources = [ | 2931 sources = [ |
| 2932 "samples/shell.cc", | 2932 "samples/shell.cc", |
| 2933 ] | 2933 ] |
| 2934 | 2934 |
| 2935 configs = [ | 2935 configs = [ |
| 2936 # Note: don't use :internal_config here because this target will get | 2936 # Note: don't use :internal_config here because this target will get |
| 2937 # the :external_config applied to it by virtue of depending on :v8, and | 2937 # the :external_config applied to it by virtue of depending on :v8, and |
| 2938 # you can't have both applied to the same target. | 2938 # you can't have both applied to the same target. |
| 2939 ":internal_config_base", | 2939 ":internal_config_base", |
| 2940 ] | 2940 ] |
| 2941 | 2941 |
| 2942 deps = [ | 2942 deps = [ |
| 2943 ":v8", | 2943 ":v8", |
| 2944 ":v8_libbase", | 2944 ":v8_libbase", |
| 2945 ":v8_libplatform", | 2945 ":v8_libplatform", |
| 2946 "//build/config/sanitizers:deps", | 2946 "//build/config:exe_and_shlib_deps", |
| 2947 "//build/win:default_exe_manifest", | 2947 "//build/win:default_exe_manifest", |
| 2948 ] | 2948 ] |
| 2949 } | 2949 } |
| 2950 } | 2950 } |
| 2951 | 2951 |
| 2952 template("v8_fuzzer") { | 2952 template("v8_fuzzer") { |
| 2953 name = target_name | 2953 name = target_name |
| 2954 forward_variables_from(invoker, "*") | 2954 forward_variables_from(invoker, "*") |
| 2955 v8_executable("v8_simple_" + name) { | 2955 v8_executable("v8_simple_" + name) { |
| 2956 deps = [ | 2956 deps = [ |
| 2957 ":" + name, | 2957 ":" + name, |
| 2958 "//build/config/sanitizers:deps", | 2958 "//build/config:exe_and_shlib_deps", |
| 2959 "//build/win:default_exe_manifest", | 2959 "//build/win:default_exe_manifest", |
| 2960 ] | 2960 ] |
| 2961 | 2961 |
| 2962 sources = [ | 2962 sources = [ |
| 2963 "test/fuzzer/fuzzer.cc", | 2963 "test/fuzzer/fuzzer.cc", |
| 2964 ] | 2964 ] |
| 2965 | 2965 |
| 2966 configs = [ ":external_config" ] | 2966 configs = [ ":external_config" ] |
| 2967 } | 2967 } |
| 2968 } | 2968 } |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3280 ] | 3280 ] |
| 3281 | 3281 |
| 3282 configs = [ | 3282 configs = [ |
| 3283 ":external_config", | 3283 ":external_config", |
| 3284 ":internal_config_base", | 3284 ":internal_config_base", |
| 3285 ] | 3285 ] |
| 3286 } | 3286 } |
| 3287 | 3287 |
| 3288 v8_fuzzer("wasm_compile_fuzzer") { | 3288 v8_fuzzer("wasm_compile_fuzzer") { |
| 3289 } | 3289 } |
| OLD | NEW |