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

Side by Side Diff: tools/gn/BUILD.gn

Issue 2275683002: Add a fuzzer for gn's parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no c Created 4 years, 4 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 | tools/gn/parser_fuzzer.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//testing/libfuzzer/fuzzer_test.gni")
6 7
7 defines = [ "GN_BUILD" ] 8 defines = [ "GN_BUILD" ]
8 9
9 static_library("gn_lib") { 10 static_library("gn_lib") {
10 configs += [ "//build/config:precompiled_headers" ] 11 configs += [ "//build/config:precompiled_headers" ]
11 12
12 sources = [ 13 sources = [
13 "action_target_generator.cc", 14 "action_target_generator.cc",
14 "action_target_generator.h", 15 "action_target_generator.h",
15 "action_values.cc", 16 "action_values.cc",
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 "format_test_data/", 340 "format_test_data/",
340 ] 341 ]
341 342
342 deps = [ 343 deps = [
343 ":gn_lib", 344 ":gn_lib",
344 "//base/test:run_all_unittests", 345 "//base/test:run_all_unittests",
345 "//base/test:test_support", 346 "//base/test:test_support",
346 "//testing/gtest", 347 "//testing/gtest",
347 ] 348 ]
348 } 349 }
350
351 fuzzer_test("gn_parser_fuzzer") {
352 sources = [
353 "parser_fuzzer.cc",
354 ]
355 deps = [
356 ":gn_lib",
357 ]
358 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698