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

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

Issue 2420013004: Add a fuzzer for the feature policy string parser. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/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 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 sources = [ 1945 sources = [
1946 "json/JSONParserFuzzer.cpp", 1946 "json/JSONParserFuzzer.cpp",
1947 ] 1947 ]
1948 deps = [ 1948 deps = [
1949 ":blink_fuzzer_test_support", 1949 ":blink_fuzzer_test_support",
1950 ":platform", 1950 ":platform",
1951 ] 1951 ]
1952 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict" 1952 dict = "//testing/libfuzzer/fuzzers/dicts/json.dict"
1953 } 1953 }
1954 1954
1955 # Fuzzer for blink::FeaturePolicy.
1956 fuzzer_test("feature_policy_fuzzer") {
1957 sources = [
1958 "feature_policy/FeaturePolicyFuzzer.cpp",
1959 ]
1960 deps = [
1961 ":blink_fuzzer_test_support",
1962 ":platform",
1963 ]
1964 dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict"
1965 seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus"
1966 }
1967
1955 # NOTE: These are legacy unit tests and tests that require a Platform 1968 # NOTE: These are legacy unit tests and tests that require a Platform
1956 # object. Do not add more unless the test requires a Platform object. 1969 # object. Do not add more unless the test requires a Platform object.
1957 # These tests are a part of the webkit_unit_tests binary. 1970 # These tests are a part of the webkit_unit_tests binary.
1958 source_set("unit_tests") { 1971 source_set("unit_tests") {
1959 testonly = true 1972 testonly = true
1960 visibility = [] 1973 visibility = []
1961 visibility = [ "//third_party/WebKit/Source/*" ] 1974 visibility = [ "//third_party/WebKit/Source/*" ]
1962 sources = [ 1975 sources = [
1963 "graphics/Canvas2DLayerBridgeTest.cpp", 1976 "graphics/Canvas2DLayerBridgeTest.cpp",
1964 "graphics/CanvasSurfaceLayerBridgeTest.cpp", 1977 "graphics/CanvasSurfaceLayerBridgeTest.cpp",
(...skipping 13 matching lines...) Expand all
1978 "//third_party/WebKit/Source:inside_blink", 1991 "//third_party/WebKit/Source:inside_blink",
1979 ] 1992 ]
1980 1993
1981 deps = [ 1994 deps = [
1982 ":test_support", 1995 ":test_support",
1983 "//cc/surfaces:surface_id", 1996 "//cc/surfaces:surface_id",
1984 "//testing/gmock", 1997 "//testing/gmock",
1985 "//testing/gtest", 1998 "//testing/gtest",
1986 ] 1999 ]
1987 } 2000 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698