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

Side by Side Diff: BUILD.gn

Issue 2336603002: [wasm] Write fuzzers for single wasm sections. (Closed)
Patch Set: Add a comment. 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') | src/flag-definitions.h » ('J')
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 2555 matching lines...) Expand 10 before | Expand all | Expand 10 after
2566 deps = [ 2566 deps = [
2567 ":fuzzer_support", 2567 ":fuzzer_support",
2568 ] 2568 ]
2569 2569
2570 configs = [ ":internal_config" ] 2570 configs = [ ":internal_config" ]
2571 } 2571 }
2572 2572
2573 v8_fuzzer("regexp_fuzzer") { 2573 v8_fuzzer("regexp_fuzzer") {
2574 } 2574 }
2575 2575
2576 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.
2577 sources = [
2578 "test/cctest/wasm/wasm-module-runner.cc",
2579 "test/cctest/wasm/wasm-module-runner.h",
2580 ]
2581 }
2582
2576 v8_source_set("wasm_fuzzer") { 2583 v8_source_set("wasm_fuzzer") {
2577 sources = [ 2584 sources = [
2578 "test/cctest/wasm/wasm-module-runner.cc",
2579 "test/cctest/wasm/wasm-module-runner.h",
2580 "test/fuzzer/wasm.cc", 2585 "test/fuzzer/wasm.cc",
2581 ] 2586 ]
2582 2587
2583 deps = [ 2588 deps = [
2584 ":fuzzer_support", 2589 ":fuzzer_support",
2590 ":wasm-module-runner",
2585 ] 2591 ]
2586 2592
2587 configs = [ ":internal_config" ] 2593 configs = [ ":internal_config" ]
2588 } 2594 }
2589 2595
2590 v8_fuzzer("wasm_fuzzer") { 2596 v8_fuzzer("wasm_fuzzer") {
2591 } 2597 }
2592 2598
2593 v8_source_set("wasm_asmjs_fuzzer") { 2599 v8_source_set("wasm_asmjs_fuzzer") {
2594 sources = [ 2600 sources = [
2595 "test/cctest/wasm/wasm-module-runner.cc",
2596 "test/cctest/wasm/wasm-module-runner.h",
2597 "test/fuzzer/wasm-asmjs.cc", 2601 "test/fuzzer/wasm-asmjs.cc",
2598 ] 2602 ]
2599 2603
2600 deps = [ 2604 deps = [
2601 ":fuzzer_support", 2605 ":fuzzer_support",
2606 ":wasm-module-runner",
2602 ] 2607 ]
2603 2608
2604 configs = [ ":internal_config" ] 2609 configs = [ ":internal_config" ]
2605 } 2610 }
2606 2611
2607 v8_fuzzer("wasm_asmjs_fuzzer") { 2612 v8_fuzzer("wasm_asmjs_fuzzer") {
2608 } 2613 }
2609 2614
2610 v8_source_set("wasm_code_fuzzer") { 2615 v8_source_set("wasm_code_fuzzer") {
2611 sources = [ 2616 sources = [
2612 "test/cctest/wasm/wasm-module-runner.cc",
2613 "test/cctest/wasm/wasm-module-runner.h",
2614 "test/fuzzer/wasm-code.cc", 2617 "test/fuzzer/wasm-code.cc",
2615 ] 2618 ]
2616 2619
2617 deps = [ 2620 deps = [
2618 ":fuzzer_support", 2621 ":fuzzer_support",
2622 ":wasm-module-runner",
2619 ] 2623 ]
2620 2624
2621 configs = [ ":internal_config" ] 2625 configs = [ ":internal_config" ]
2622 } 2626 }
2623 2627
2624 v8_fuzzer("wasm_code_fuzzer") { 2628 v8_fuzzer("wasm_code_fuzzer") {
2625 } 2629 }
2630
2631 source_set("lib_wasm_section_fuzzer") {
2632 sources = [
2633 "test/fuzzer/wasm-section-fuzzers.cc",
2634 "test/fuzzer/wasm-section-fuzzers.h",
2635 ]
2636 }
2637
2638 v8_source_set("wasm_types_fuzzer") {
2639 sources = [
2640 "test/fuzzer/wasm-types-section-fuzzer.cc",
2641 ]
2642
2643 deps = [
2644 ":fuzzer_support",
2645 ":lib_wasm_section_fuzzer",
2646 ":wasm-module-runner",
2647 ]
2648
2649 configs = [ ":internal_config" ]
2650 }
2651
2652 v8_source_set("wasm_names_fuzzer") {
2653 sources = [
2654 "test/fuzzer/wasm-names-section-fuzzer.cc",
2655 ]
2656
2657 deps = [
2658 ":fuzzer_support",
2659 ":lib_wasm_section_fuzzer",
2660 ":wasm-module-runner",
2661 ]
2662
2663 configs = [ ":internal_config" ]
2664 }
2665
2666 v8_source_set("wasm_globals_fuzzer") {
2667 sources = [
2668 "test/fuzzer/wasm-globals-section-fuzzer.cc",
2669 ]
2670
2671 deps = [
2672 ":fuzzer_support",
2673 ":lib_wasm_section_fuzzer",
2674 ":wasm-module-runner",
2675 ]
2676
2677 configs = [ ":internal_config" ]
2678 }
2679
2680 v8_source_set("wasm_imports_fuzzer") {
2681 sources = [
2682 "test/fuzzer/wasm-imports-section-fuzzer.cc",
2683 ]
2684
2685 deps = [
2686 ":fuzzer_support",
2687 ":lib_wasm_section_fuzzer",
2688 ":wasm-module-runner",
2689 ]
2690
2691 configs = [ ":internal_config" ]
2692 }
2693
2694 v8_source_set("wasm_function_sigs_fuzzer") {
2695 sources = [
2696 "test/fuzzer/wasm-function-sigs-section-fuzzer.cc",
2697 ]
2698
2699 deps = [
2700 ":fuzzer_support",
2701 ":lib_wasm_section_fuzzer",
2702 ":wasm-module-runner",
2703 ]
2704
2705 configs = [ ":internal_config" ]
2706 }
2707
2708 v8_source_set("wasm_memory_fuzzer") {
2709 sources = [
2710 "test/fuzzer/wasm-memory-section-fuzzer.cc",
2711 ]
2712
2713 deps = [
2714 ":fuzzer_support",
2715 ":lib_wasm_section_fuzzer",
2716 ":wasm-module-runner",
2717 ]
2718
2719 configs = [ ":internal_config" ]
2720 }
2721
2722 v8_source_set("wasm_data_fuzzer") {
2723 sources = [
2724 "test/fuzzer/wasm-data-section-fuzzer.cc",
2725 ]
2726
2727 deps = [
2728 ":fuzzer_support",
2729 ":lib_wasm_section_fuzzer",
2730 ":wasm-module-runner",
2731 ]
2732
2733 configs = [ ":internal_config" ]
2734 }
2735
2736 v8_source_set("wasm_section_fuzzer") {
2737 sources = [
2738 "test/fuzzer/wasm-section.cc",
2739 ]
2740
2741 deps = [
2742 ":fuzzer_support",
2743 ":lib_wasm_section_fuzzer",
2744 ":wasm-module-runner",
2745 ]
2746
2747 configs = [ ":internal_config" ]
2748 }
2749
2750 v8_fuzzer("wasm_section_fuzzer") {
2751 }
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | src/flag-definitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698