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

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

Issue 2762763002: Reland "Fuzzer for TextCodecs" (Closed)
Patch Set: Created 3 years, 9 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/TextCodecFuzzer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 "feature_policy/FeaturePolicyFuzzer.cpp", 2029 "feature_policy/FeaturePolicyFuzzer.cpp",
2030 ] 2030 ]
2031 deps = [ 2031 deps = [
2032 ":blink_fuzzer_test_support", 2032 ":blink_fuzzer_test_support",
2033 ":platform", 2033 ":platform",
2034 ] 2034 ]
2035 dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict" 2035 dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict"
2036 seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus" 2036 seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus"
2037 } 2037 }
2038 2038
2039 # Fuzzer template for WTF::TextCodec.
2040 template("blink_text_codec_fuzzer") {
2041 forward_variables_from(invoker, "*")
2042 config(target_name + "_config") {
2043 defines = [ "$target_name" ]
2044 }
2045 name = target_name
2046 fuzzer_test("blink_text_codec_" + name + "_fuzzer") {
2047 sources = [
2048 "TextCodecFuzzer.cpp",
2049 ]
2050 deps = [
2051 ":blink_fuzzer_test_support",
2052 ":platform",
2053 ]
2054 additional_configs = [ ":" + name + "_config" ]
2055 seed_corpus = "text_codec_fuzzer_seed_corpus"
2056 }
2057 }
2058
2059 blink_text_codec_fuzzer("UTF_8") {
2060 }
2061 blink_text_codec_fuzzer("WINDOWS_1252") {
2062 }
2063
2039 # NOTE: These are legacy unit tests and tests that require a Platform 2064 # NOTE: These are legacy unit tests and tests that require a Platform
2040 # object. Do not add more unless the test requires a Platform object. 2065 # object. Do not add more unless the test requires a Platform object.
2041 # These tests are a part of the webkit_unit_tests binary. 2066 # These tests are a part of the webkit_unit_tests binary.
2042 source_set("unit_tests") { 2067 source_set("unit_tests") {
2043 testonly = true 2068 testonly = true
2044 visibility = [] 2069 visibility = []
2045 visibility = [ "//third_party/WebKit/Source/*" ] 2070 visibility = [ "//third_party/WebKit/Source/*" ]
2046 sources = [ 2071 sources = [
2047 "graphics/Canvas2DLayerBridgeTest.cpp", 2072 "graphics/Canvas2DLayerBridgeTest.cpp",
2048 "graphics/DeferredImageDecoderTest.cpp", 2073 "graphics/DeferredImageDecoderTest.cpp",
(...skipping 15 matching lines...) Expand all
2064 "//third_party/WebKit/Source:config", 2089 "//third_party/WebKit/Source:config",
2065 "//third_party/WebKit/Source:inside_blink", 2090 "//third_party/WebKit/Source:inside_blink",
2066 ] 2091 ]
2067 2092
2068 deps = [ 2093 deps = [
2069 ":test_support", 2094 ":test_support",
2070 "//testing/gmock", 2095 "//testing/gmock",
2071 "//testing/gtest", 2096 "//testing/gtest",
2072 ] 2097 ]
2073 } 2098 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/TextCodecFuzzer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698