Chromium Code Reviews| Index: BUILD.gn |
| diff --git a/BUILD.gn b/BUILD.gn |
| index 6aa9fb28445730a07c197d1a6818e965bf90b2b0..49d8f48a8cf20a95dd86026517c9eef62c3002bb 100644 |
| --- a/BUILD.gn |
| +++ b/BUILD.gn |
| @@ -2573,15 +2573,21 @@ v8_source_set("regexp_fuzzer") { |
| v8_fuzzer("regexp_fuzzer") { |
| } |
| -v8_source_set("wasm_fuzzer") { |
| +source_set("wasm-module-runner") { |
|
jochen (gone - plz use gerrit)
2016/09/13 09:33:48
why not v8_source_set?
please use underscores ins
ahaas
2016/09/13 09:50:22
Done, and I use v8_source_set now.
|
| sources = [ |
| "test/cctest/wasm/wasm-module-runner.cc", |
| "test/cctest/wasm/wasm-module-runner.h", |
| + ] |
| +} |
| + |
| +v8_source_set("wasm_fuzzer") { |
| + sources = [ |
| "test/fuzzer/wasm.cc", |
| ] |
| deps = [ |
| ":fuzzer_support", |
| + ":wasm-module-runner", |
| ] |
| configs = [ ":internal_config" ] |
| @@ -2592,13 +2598,12 @@ v8_fuzzer("wasm_fuzzer") { |
| v8_source_set("wasm_asmjs_fuzzer") { |
| sources = [ |
| - "test/cctest/wasm/wasm-module-runner.cc", |
| - "test/cctest/wasm/wasm-module-runner.h", |
| "test/fuzzer/wasm-asmjs.cc", |
| ] |
| deps = [ |
| ":fuzzer_support", |
| + ":wasm-module-runner", |
| ] |
| configs = [ ":internal_config" ] |
| @@ -2609,13 +2614,12 @@ v8_fuzzer("wasm_asmjs_fuzzer") { |
| v8_source_set("wasm_code_fuzzer") { |
| sources = [ |
| - "test/cctest/wasm/wasm-module-runner.cc", |
| - "test/cctest/wasm/wasm-module-runner.h", |
| "test/fuzzer/wasm-code.cc", |
| ] |
| deps = [ |
| ":fuzzer_support", |
| + ":wasm-module-runner", |
| ] |
| configs = [ ":internal_config" ] |
| @@ -2623,3 +2627,125 @@ v8_source_set("wasm_code_fuzzer") { |
| v8_fuzzer("wasm_code_fuzzer") { |
| } |
| + |
| +source_set("lib_wasm_section_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-section-fuzzers.cc", |
| + "test/fuzzer/wasm-section-fuzzers.h", |
| + ] |
| +} |
| + |
| +v8_source_set("wasm_types_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-types-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_names_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-names-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_globals_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-globals-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_imports_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-imports-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_function_sigs_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-function-sigs-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_memory_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-memory-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_data_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-data-section-fuzzer.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_source_set("wasm_section_fuzzer") { |
| + sources = [ |
| + "test/fuzzer/wasm-section.cc", |
| + ] |
| + |
| + deps = [ |
| + ":fuzzer_support", |
| + ":lib_wasm_section_fuzzer", |
| + ":wasm-module-runner", |
| + ] |
| + |
| + configs = [ ":internal_config" ] |
| +} |
| + |
| +v8_fuzzer("wasm_section_fuzzer") { |
| +} |