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/test.gni") | 8 import("//testing/test.gni") |
8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
9 import("//third_party/WebKit/Source/config.gni") | 10 import("//third_party/WebKit/Source/config.gni") |
10 import("//third_party/WebKit/Source/platform/platform.gni") | 11 import("//third_party/WebKit/Source/platform/platform.gni") |
11 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 12 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
12 | 13 |
13 # Most targets in this file are private actions so use that as the default. | 14 # Most targets in this file are private actions so use that as the default. |
14 visibility = [ ":*" ] | 15 visibility = [ ":*" ] |
15 | 16 |
16 heap_gypi = exec_script("//build/gypi_to_gn.py", | 17 heap_gypi = exec_script("//build/gypi_to_gn.py", |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 } | 644 } |
644 | 645 |
645 if (current_cpu == "x86" || current_cpu == "x64") { | 646 if (current_cpu == "x86" || current_cpu == "x64") { |
646 source_set("blink_x86_sse") { | 647 source_set("blink_x86_sse") { |
647 sources = blink_platform_sse_files | 648 sources = blink_platform_sse_files |
648 deps = [ | 649 deps = [ |
649 ":blink_common", | 650 ":blink_common", |
650 ] | 651 ] |
651 } | 652 } |
652 } | 653 } |
| 654 |
| 655 # Fuzzer for blink::MHTMLParser. |
| 656 fuzzer_test("mhtml_parser_fuzzer") { |
| 657 sources = [ |
| 658 "mhtml/MHTMLFuzzer.cpp", |
| 659 ] |
| 660 deps = [ |
| 661 ":blink_common", |
| 662 ":platform", |
| 663 ":test_support", |
| 664 ] |
| 665 dict = "//testing/libfuzzer/fuzzers/dicts/mhtml.dict" |
| 666 seed_corpus = "//third_party/WebKit/LayoutTests/mhtml" |
| 667 additional_configs = [ |
| 668 "//third_party/WebKit/Source/wtf:wtf_config", |
| 669 "//third_party/WebKit/Source:config", |
| 670 ] |
| 671 } |
OLD | NEW |