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

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

Issue 2755083002: Revert of 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 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2040 "feature_policy/FeaturePolicyFuzzer.cpp", 2040 "feature_policy/FeaturePolicyFuzzer.cpp",
2041 ] 2041 ]
2042 deps = [ 2042 deps = [
2043 ":blink_fuzzer_test_support", 2043 ":blink_fuzzer_test_support",
2044 ":platform", 2044 ":platform",
2045 ] 2045 ]
2046 dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict" 2046 dict = "//testing/libfuzzer/fuzzers/dicts/feature_policy.dict"
2047 seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus" 2047 seed_corpus = "//testing/libfuzzer/fuzzers/feature_policy_corpus"
2048 } 2048 }
2049 2049
2050 # Fuzzer template for WTF::TextCodec.
2051 template("blink_text_codec_fuzzer") {
2052 forward_variables_from(invoker, "*")
2053 config(target_name + "_config") {
2054 defines = [ "$target_name" ]
2055 }
2056 name = target_name
2057 fuzzer_test("blink_text_codec_" + name + "_fuzzer") {
2058 sources = [
2059 "TextCodecFuzzer.cpp",
2060 ]
2061 deps = [
2062 ":blink_fuzzer_test_support",
2063 ":platform",
2064 ]
2065 additional_configs = [ ":" + name + "_config" ]
2066 seed_corpus = "text_codec_fuzzer_seed_corpus"
2067 }
2068 }
2069
2070 blink_text_codec_fuzzer("BIG5") {
2071 }
2072 blink_text_codec_fuzzer("EUC_JP") {
2073 }
2074 blink_text_codec_fuzzer("EUC_KR") {
2075 }
2076 blink_text_codec_fuzzer("GBK") {
2077 }
2078 blink_text_codec_fuzzer("IBM866") {
2079 }
2080 blink_text_codec_fuzzer("ISO_2022_JP") {
2081 }
2082 blink_text_codec_fuzzer("ISO_8859_10") {
2083 }
2084 blink_text_codec_fuzzer("ISO_8859_13") {
2085 }
2086 blink_text_codec_fuzzer("ISO_8859_14") {
2087 }
2088 blink_text_codec_fuzzer("ISO_8859_15") {
2089 }
2090 blink_text_codec_fuzzer("ISO_8859_16") {
2091 }
2092 blink_text_codec_fuzzer("ISO_8859_2") {
2093 }
2094 blink_text_codec_fuzzer("ISO_8859_3") {
2095 }
2096 blink_text_codec_fuzzer("ISO_8859_4") {
2097 }
2098 blink_text_codec_fuzzer("ISO_8859_5") {
2099 }
2100 blink_text_codec_fuzzer("ISO_8859_6") {
2101 }
2102 blink_text_codec_fuzzer("ISO_8859_7") {
2103 }
2104 blink_text_codec_fuzzer("ISO_8859_8") {
2105 }
2106 blink_text_codec_fuzzer("ISO_8859_8_I") {
2107 }
2108 blink_text_codec_fuzzer("KOI8_R") {
2109 }
2110 blink_text_codec_fuzzer("KOI8_U") {
2111 }
2112 blink_text_codec_fuzzer("SHIFT_JIS") {
2113 }
2114 blink_text_codec_fuzzer("UTF_16BE") {
2115 }
2116 blink_text_codec_fuzzer("UTF_16LE") {
2117 }
2118 blink_text_codec_fuzzer("UTF_32") {
2119 }
2120 blink_text_codec_fuzzer("UTF_32BE") {
2121 }
2122 blink_text_codec_fuzzer("UTF_32LE") {
2123 }
2124 blink_text_codec_fuzzer("UTF_8") {
2125 }
2126 blink_text_codec_fuzzer("GB18030") {
2127 }
2128 blink_text_codec_fuzzer("MACINTOSH") {
2129 }
2130 blink_text_codec_fuzzer("WINDOWS_1250") {
2131 }
2132 blink_text_codec_fuzzer("WINDOWS_1251") {
2133 }
2134 blink_text_codec_fuzzer("WINDOWS_1252") {
2135 }
2136 blink_text_codec_fuzzer("WINDOWS_1253") {
2137 }
2138 blink_text_codec_fuzzer("WINDOWS_1254") {
2139 }
2140 blink_text_codec_fuzzer("WINDOWS_1255") {
2141 }
2142 blink_text_codec_fuzzer("WINDOWS_1256") {
2143 }
2144 blink_text_codec_fuzzer("WINDOWS_1257") {
2145 }
2146 blink_text_codec_fuzzer("WINDOWS_1258") {
2147 }
2148 blink_text_codec_fuzzer("WINDOWS_874") {
2149 }
2150 blink_text_codec_fuzzer("X_MAC_CYRILLIC") {
2151 }
2152 blink_text_codec_fuzzer("X_USER_DEFINED") {
2153 }
2154
2155 # NOTE: These are legacy unit tests and tests that require a Platform 2050 # NOTE: These are legacy unit tests and tests that require a Platform
2156 # object. Do not add more unless the test requires a Platform object. 2051 # object. Do not add more unless the test requires a Platform object.
2157 # These tests are a part of the webkit_unit_tests binary. 2052 # These tests are a part of the webkit_unit_tests binary.
2158 source_set("unit_tests") { 2053 source_set("unit_tests") {
2159 testonly = true 2054 testonly = true
2160 visibility = [] 2055 visibility = []
2161 visibility = [ "//third_party/WebKit/Source/*" ] 2056 visibility = [ "//third_party/WebKit/Source/*" ]
2162 sources = [ 2057 sources = [
2163 "graphics/Canvas2DLayerBridgeTest.cpp", 2058 "graphics/Canvas2DLayerBridgeTest.cpp",
2164 "graphics/DeferredImageDecoderTest.cpp", 2059 "graphics/DeferredImageDecoderTest.cpp",
(...skipping 13 matching lines...) Expand all
2178 "//third_party/WebKit/Source:config", 2073 "//third_party/WebKit/Source:config",
2179 "//third_party/WebKit/Source:inside_blink", 2074 "//third_party/WebKit/Source:inside_blink",
2180 ] 2075 ]
2181 2076
2182 deps = [ 2077 deps = [
2183 ":test_support", 2078 ":test_support",
2184 "//testing/gmock", 2079 "//testing/gmock",
2185 "//testing/gtest", 2080 "//testing/gtest",
2186 ] 2081 ]
2187 } 2082 }
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