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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 2578263002: Add fuzzer for (A)PNG decoder (Closed)
Patch Set: Target fuzz towards static PNG and animated PNG Created 4 years 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
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/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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 sources = [ 2011 sources = [
2012 "WebIconSizesFuzzer.cpp", 2012 "WebIconSizesFuzzer.cpp",
2013 ] 2013 ]
2014 deps = [ 2014 deps = [
2015 ":blink_fuzzer_test_support", 2015 ":blink_fuzzer_test_support",
2016 ":platform", 2016 ":platform",
2017 ] 2017 ]
2018 dict = "//testing/libfuzzer/fuzzers/dicts/web_icon_sizes.dict" 2018 dict = "//testing/libfuzzer/fuzzers/dicts/web_icon_sizes.dict"
2019 } 2019 }
2020 2020
2021 fuzzer_test("png_fuzzer") {
mmoroz 2017/01/03 08:18:36 Would you mind naming it a bit more explicitly? Fo
scroggo_chromium 2017/01/03 18:24:14 Done.
2022 sources = [
2023 "PngFuzzer.cpp",
2024 ]
2025 deps = [
2026 ":blink_fuzzer_test_support",
2027 ":platform",
2028 "//third_party/libpng",
2029 ]
2030 seed_corpus = "//third_party/WebKit/LayoutTests/images/resources/pngfuzz"
mmoroz 2017/01/03 08:18:36 That's awesome that you're adding a seed corpus. I
scroggo_chromium 2017/01/03 18:24:14 Done. Should I also add "//cc/test/data" to the se
2031 }
2032
2021 # Fuzzer for blink::JSONParser. 2033 # Fuzzer for blink::JSONParser.
2022 fuzzer_test("blink_json_parser_fuzzer") { 2034 fuzzer_test("blink_json_parser_fuzzer") {
2023 sources = [ 2035 sources = [
2024 "json/JSONParserFuzzer.cpp", 2036 "json/JSONParserFuzzer.cpp",
2025 ] 2037 ]
2026 deps = [ 2038 deps = [
2027 ":blink_fuzzer_test_support", 2039 ":blink_fuzzer_test_support",
2028 ":platform", 2040 ":platform",
2029 ] 2041 ]
2030 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict" 2042 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 "//third_party/WebKit/Source:inside_blink", 2082 "//third_party/WebKit/Source:inside_blink",
2071 ] 2083 ]
2072 2084
2073 deps = [ 2085 deps = [
2074 ":test_support", 2086 ":test_support",
2075 "//cc/surfaces:surface_id", 2087 "//cc/surfaces:surface_id",
2076 "//testing/gmock", 2088 "//testing/gmock",
2077 "//testing/gtest", 2089 "//testing/gtest",
2078 ] 2090 ]
2079 } 2091 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698