Chromium Code Reviews| 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/public/public_features.gni") | 9 import("//third_party/WebKit/public/public_features.gni") |
| 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| (...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2013 sources = [ | 2013 sources = [ |
| 2014 "WebIconSizesFuzzer.cpp", | 2014 "WebIconSizesFuzzer.cpp", |
| 2015 ] | 2015 ] |
| 2016 deps = [ | 2016 deps = [ |
| 2017 ":blink_fuzzer_test_support", | 2017 ":blink_fuzzer_test_support", |
| 2018 ":platform", | 2018 ":platform", |
| 2019 ] | 2019 ] |
| 2020 dict = "//testing/libfuzzer/fuzzers/dicts/web_icon_sizes.dict" | 2020 dict = "//testing/libfuzzer/fuzzers/dicts/web_icon_sizes.dict" |
| 2021 } | 2021 } |
| 2022 | 2022 |
| 2023 fuzzer_test("blink_png_decoder_fuzzer") { | |
| 2024 sources = [ | |
| 2025 "PngFuzzer.cpp", | |
| 2026 ] | |
| 2027 deps = [ | |
| 2028 ":blink_fuzzer_test_support", | |
| 2029 ":platform", | |
| 2030 "//third_party/libpng", | |
| 2031 ] | |
| 2032 dict = "//testing/libfuzzer/fuzzers/dicts/png.dict" | |
| 2033 seed_corpus = "//third_party/WebKit/LayoutTests/images/resources/pngfuzz" | |
|
mmoroz
2017/01/04 08:37:54
I like your idea to have multiple seed corpus dire
| |
| 2034 } | |
| 2035 | |
| 2023 # Fuzzer for blink::JSONParser. | 2036 # Fuzzer for blink::JSONParser. |
| 2024 fuzzer_test("blink_json_parser_fuzzer") { | 2037 fuzzer_test("blink_json_parser_fuzzer") { |
| 2025 sources = [ | 2038 sources = [ |
| 2026 "json/JSONParserFuzzer.cpp", | 2039 "json/JSONParserFuzzer.cpp", |
| 2027 ] | 2040 ] |
| 2028 deps = [ | 2041 deps = [ |
| 2029 ":blink_fuzzer_test_support", | 2042 ":blink_fuzzer_test_support", |
| 2030 ":platform", | 2043 ":platform", |
| 2031 ] | 2044 ] |
| 2032 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict" | 2045 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2070 "//third_party/WebKit/Source:config", | 2083 "//third_party/WebKit/Source:config", |
| 2071 "//third_party/WebKit/Source:inside_blink", | 2084 "//third_party/WebKit/Source:inside_blink", |
| 2072 ] | 2085 ] |
| 2073 | 2086 |
| 2074 deps = [ | 2087 deps = [ |
| 2075 ":test_support", | 2088 ":test_support", |
| 2076 "//testing/gmock", | 2089 "//testing/gmock", |
| 2077 "//testing/gtest", | 2090 "//testing/gtest", |
| 2078 ] | 2091 ] |
| 2079 } | 2092 } |
| OLD | NEW |