Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index f49d126cddbb7f5ae828814e498b176b1473416e..4f585d77a5a780e8759bd0b31a65286a9694987e 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -2333,6 +2333,27 @@ v8_source_set("fuzzer_support") { |
configs = [ ":internal_config_base" ] |
deps = [ |
+ ":v8", |
Michael Achenbach
2016/09/22 11:22:07
Instead of adding external config everywhere you p
jgruber
2016/09/23 14:09:26
Leaving this to a cleanup commit as discussed offl
|
+ ] |
+ |
+ public_deps = [ |
+ ":v8_libplatform", |
+ ] |
+} |
+ |
+# Used by fuzzers that would require exposing too many symbols for a proper |
+# component build. |
+v8_source_set("fuzzer_support_nocomponent") { |
+ visibility = [ ":*" ] # Only targets in this file can depend on this. |
+ |
+ sources = [ |
+ "test/fuzzer/fuzzer-support.cc", |
+ "test/fuzzer/fuzzer-support.h", |
+ ] |
+ |
+ configs = [ ":internal_config_base" ] |
+ |
+ deps = [ |
":v8_maybe_snapshot", |
] |
@@ -2647,7 +2668,10 @@ v8_source_set("json_fuzzer") { |
":fuzzer_support", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("json_fuzzer") { |
@@ -2659,10 +2683,13 @@ v8_source_set("parser_fuzzer") { |
] |
deps = [ |
- ":fuzzer_support", |
+ ":fuzzer_support_nocomponent", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("parser_fuzzer") { |
@@ -2677,7 +2704,10 @@ v8_source_set("regexp_fuzzer") { |
":fuzzer_support", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("regexp_fuzzer") { |
@@ -2689,7 +2719,10 @@ v8_source_set("wasm_module_runner") { |
"test/common/wasm/wasm-module-runner.h", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_source_set("wasm_fuzzer") { |
@@ -2702,7 +2735,10 @@ v8_source_set("wasm_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_fuzzer") { |
@@ -2718,7 +2754,10 @@ v8_source_set("wasm_asmjs_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_asmjs_fuzzer") { |
@@ -2734,7 +2773,10 @@ v8_source_set("wasm_code_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_code_fuzzer") { |
@@ -2746,7 +2788,10 @@ v8_source_set("lib_wasm_section_fuzzer") { |
"test/fuzzer/wasm-section-fuzzers.h", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_source_set("wasm_types_section_fuzzer") { |
@@ -2760,7 +2805,10 @@ v8_source_set("wasm_types_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_types_section_fuzzer") { |
@@ -2777,7 +2825,10 @@ v8_source_set("wasm_names_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_names_section_fuzzer") { |
@@ -2794,7 +2845,10 @@ v8_source_set("wasm_globals_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_globals_section_fuzzer") { |
@@ -2811,7 +2865,10 @@ v8_source_set("wasm_imports_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_imports_section_fuzzer") { |
@@ -2828,7 +2885,10 @@ v8_source_set("wasm_function_sigs_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_function_sigs_section_fuzzer") { |
@@ -2845,7 +2905,10 @@ v8_source_set("wasm_memory_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_memory_section_fuzzer") { |
@@ -2862,7 +2925,10 @@ v8_source_set("wasm_data_section_fuzzer") { |
":wasm_module_runner", |
] |
- configs = [ ":internal_config" ] |
+ configs = [ |
+ ":external_config", |
+ ":internal_config_base", |
+ ] |
} |
v8_fuzzer("wasm_data_section_fuzzer") { |