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

Side by Side Diff: components/policy/core/common/BUILD.gn

Issue 2791193005: Add fuzzer test for preg_parser (Closed)
Patch Set: Renamed ReadData to ReadDataInternal and updated comment. Created 3 years, 8 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
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("//testing/libfuzzer/fuzzer_test.gni")
6 7
7 group("common") { 8 group("common") {
8 if (is_component_build) { 9 if (is_component_build) {
9 public_deps = [ 10 public_deps = [
10 "//components/policy", 11 "//components/policy",
11 ] 12 ]
12 } else { 13 } else {
13 public_deps = [ 14 public_deps = [
14 ":internal", 15 ":internal",
15 ] 16 ]
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "//base/test:test_support", 341 "//base/test:test_support",
341 "//components/policy:generated", 342 "//components/policy:generated",
342 "//components/prefs:test_support", 343 "//components/prefs:test_support",
343 "//extensions/features", 344 "//extensions/features",
344 "//google_apis", 345 "//google_apis",
345 "//net:test_support", 346 "//net:test_support",
346 "//testing/gmock", 347 "//testing/gmock",
347 "//testing/gtest", 348 "//testing/gtest",
348 ] 349 ]
349 } 350 }
351
352 if (is_win || is_chromeos) {
Oliver Chang 2017/04/13 00:25:23 I wasn't aware that libFuzzer is supported on eith
ljusten (tachyonic) 2017/04/13 11:17:14 ChromeOS is still Linux, confusingly they're not m
Oliver Chang 2017/04/13 19:58:24 thanks for explaining. we don't have any libFuzzer
353 fuzzer_test("preg_parser_fuzzer") {
354 sources = [
355 "preg_parser_fuzzer.cc",
356 ]
357 seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus"
358 dict = "//chrome/test/data/policy/gpo/fuzzer.dict"
359 deps = [
360 ":internal",
361 "//base",
362 ]
363 }
364 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698