| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 10 import("//third_party/WebKit/Source/config.gni") | 10 import("//third_party/WebKit/Source/config.gni") |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 | 685 |
| 686 if (current_cpu == "x86" || current_cpu == "x64") { | 686 if (current_cpu == "x86" || current_cpu == "x64") { |
| 687 source_set("blink_x86_sse") { | 687 source_set("blink_x86_sse") { |
| 688 sources = blink_platform_sse_files | 688 sources = blink_platform_sse_files |
| 689 deps = [ | 689 deps = [ |
| 690 ":blink_common", | 690 ":blink_common", |
| 691 ] | 691 ] |
| 692 } | 692 } |
| 693 } | 693 } |
| 694 | 694 |
| 695 # This source set is used for fuzzers that need an environment similar to unit |
| 696 # tests. |
| 697 source_set("blink_fuzzer_test_support") { |
| 698 testonly = true |
| 699 visibility = [] # Allow re-assignment of list. |
| 700 visibility = [ "*" ] |
| 701 sources = [ |
| 702 "testing/BlinkFuzzerTestSupport.cpp", |
| 703 "testing/BlinkFuzzerTestSupport.h", |
| 704 ] |
| 705 deps = [ |
| 706 ":platform", |
| 707 ":test_support", |
| 708 "//content/test:test_support", |
| 709 "//mojo/edk/system:system", |
| 710 ] |
| 711 } |
| 712 |
| 695 # Fuzzer for blink::MHTMLParser. | 713 # Fuzzer for blink::MHTMLParser. |
| 696 fuzzer_test("mhtml_parser_fuzzer") { | 714 fuzzer_test("mhtml_parser_fuzzer") { |
| 697 sources = [ | 715 sources = [ |
| 698 "mhtml/MHTMLFuzzer.cpp", | 716 "mhtml/MHTMLFuzzer.cpp", |
| 699 ] | 717 ] |
| 700 deps = [ | 718 deps = [ |
| 701 ":blink_common", | 719 ":blink_common", |
| 702 ":platform", | 720 ":platform", |
| 703 ":test_support", | 721 ":test_support", |
| 704 ] | 722 ] |
| 705 dict = "//testing/libfuzzer/fuzzers/dicts/mhtml.dict" | 723 dict = "//testing/libfuzzer/fuzzers/dicts/mhtml.dict" |
| 706 seed_corpus = "//third_party/WebKit/LayoutTests/mhtml" | 724 seed_corpus = "//third_party/WebKit/LayoutTests/mhtml" |
| 707 additional_configs = [ | 725 additional_configs = [ |
| 708 "//third_party/WebKit/Source/wtf:wtf_config", | 726 "//third_party/WebKit/Source/wtf:wtf_config", |
| 709 "//third_party/WebKit/Source:config", | 727 "//third_party/WebKit/Source:config", |
| 710 ] | 728 ] |
| 711 } | 729 } |
| OLD | NEW |