Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: BUILD.gn

Issue 2336603002: [wasm] Write fuzzers for single wasm sections. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2605 matching lines...) Expand 10 before | Expand all | Expand 10 after
2616 2616
2617 deps = [ 2617 deps = [
2618 ":fuzzer_support", 2618 ":fuzzer_support",
2619 ] 2619 ]
2620 2620
2621 configs = [ ":internal_config" ] 2621 configs = [ ":internal_config" ]
2622 } 2622 }
2623 2623
2624 v8_fuzzer("wasm_code_fuzzer") { 2624 v8_fuzzer("wasm_code_fuzzer") {
2625 } 2625 }
2626
2627 v8_source_set("wasm_types_fuzzer") {
2628 sources = [
2629 "test/cctest/wasm/wasm-module-runner.cc",
2630 "test/cctest/wasm/wasm-module-runner.h",
2631 "test/fuzzer/wasm-section-fuzzers.cc",
2632 "test/fuzzer/wasm-section-fuzzers.h",
2633 "test/fuzzer/wasm-types-section-fuzzer.cc",
2634 ]
2635
2636 deps = [
2637 ":fuzzer_support",
2638 ]
2639
2640 configs = [ ":internal_config" ]
2641 }
2642
2643 v8_source_set("wasm_names_fuzzer") {
2644 sources = [
2645 "test/cctest/wasm/wasm-module-runner.cc",
2646 "test/cctest/wasm/wasm-module-runner.h",
2647 "test/fuzzer/wasm-names-section-fuzzer.cc",
2648 "test/fuzzer/wasm-section-fuzzers.cc",
2649 "test/fuzzer/wasm-section-fuzzers.h",
2650 ]
2651
2652 deps = [
2653 ":fuzzer_support",
2654 ]
2655
2656 configs = [ ":internal_config" ]
2657 }
2658
2659 v8_source_set("wasm_globals_fuzzer") {
2660 sources = [
2661 "test/cctest/wasm/wasm-module-runner.cc",
2662 "test/cctest/wasm/wasm-module-runner.h",
2663 "test/fuzzer/wasm-globals-section-fuzzer.cc",
2664 "test/fuzzer/wasm-section-fuzzers.cc",
2665 "test/fuzzer/wasm-section-fuzzers.h",
2666 ]
2667
2668 deps = [
2669 ":fuzzer_support",
2670 ]
2671
2672 configs = [ ":internal_config" ]
2673 }
2674
2675 v8_source_set("wasm_imports_fuzzer") {
2676 sources = [
2677 "test/cctest/wasm/wasm-module-runner.cc",
2678 "test/cctest/wasm/wasm-module-runner.h",
2679 "test/fuzzer/wasm-imports-section-fuzzer.cc",
2680 "test/fuzzer/wasm-section-fuzzers.cc",
2681 "test/fuzzer/wasm-section-fuzzers.h",
2682 ]
2683
2684 deps = [
2685 ":fuzzer_support",
2686 ]
2687
2688 configs = [ ":internal_config" ]
2689 }
2690
2691 v8_source_set("wasm_function_sigs_fuzzer") {
2692 sources = [
2693 "test/cctest/wasm/wasm-module-runner.cc",
2694 "test/cctest/wasm/wasm-module-runner.h",
2695 "test/fuzzer/wasm-function-sigs-section-fuzzer.cc",
2696 "test/fuzzer/wasm-section-fuzzers.cc",
2697 "test/fuzzer/wasm-section-fuzzers.h",
2698 ]
2699
2700 deps = [
2701 ":fuzzer_support",
2702 ]
2703
2704 configs = [ ":internal_config" ]
2705 }
2706
2707 v8_source_set("wasm_memory_fuzzer") {
2708 sources = [
2709 "test/cctest/wasm/wasm-module-runner.cc",
2710 "test/cctest/wasm/wasm-module-runner.h",
2711 "test/fuzzer/wasm-memory-section-fuzzer.cc",
2712 "test/fuzzer/wasm-section-fuzzers.cc",
2713 "test/fuzzer/wasm-section-fuzzers.h",
2714 ]
2715
2716 deps = [
2717 ":fuzzer_support",
2718 ]
2719
2720 configs = [ ":internal_config" ]
2721 }
2722
2723 v8_source_set("wasm_data_fuzzer") {
2724 sources = [
2725 "test/cctest/wasm/wasm-module-runner.cc",
2726 "test/cctest/wasm/wasm-module-runner.h",
2727 "test/fuzzer/wasm-data-section-fuzzer.cc",
2728 "test/fuzzer/wasm-section-fuzzers.cc",
jochen (gone - plz use gerrit) 2016/09/12 14:58:10 that's also duplicated across all new targets you
ahaas 2016/09/12 16:10:25 I introduced another source_set.
2729 "test/fuzzer/wasm-section-fuzzers.h",
2730 ]
2731
2732 deps = [
2733 ":fuzzer_support",
2734 ]
2735
2736 configs = [ ":internal_config" ]
2737 }
2738
2739 v8_source_set("wasm_section_fuzzer") {
2740 sources = [
2741 "test/cctest/wasm/wasm-module-runner.cc",
jochen (gone - plz use gerrit) 2016/09/12 14:57:21 can you move this into a separate source_set? we s
ahaas 2016/09/12 16:10:25 Done.
2742 "test/cctest/wasm/wasm-module-runner.h",
2743 "test/fuzzer/wasm-section-fuzzers.cc",
2744 "test/fuzzer/wasm-section-fuzzers.h",
2745 "test/fuzzer/wasm-section.cc",
2746 ]
2747
2748 deps = [
2749 ":fuzzer_support",
2750 ]
2751
2752 configs = [ ":internal_config" ]
2753 }
2754
2755 v8_fuzzer("wasm_section_fuzzer") {
jochen (gone - plz use gerrit) 2016/09/12 14:57:21 why no fuzzers for the others?
ahaas 2016/09/12 16:10:25 This executable calls all the section fuzzers. The
2756 }
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698