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

Side by Side Diff: third_party/expat/BUILD.gn

Issue 2000993003: [libfuzzer] Add expat_xml_parse_fuzzer for third_party/expat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use isFinal as a variable + adding a comment. Created 4 years, 7 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/expat/fuzz/expat_xml_parse_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("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//testing/libfuzzer/fuzzer_test.gni")
6 7
7 # Chromecast doesn't ship expat as a system library 8 # Chromecast doesn't ship expat as a system library
8 if (is_linux && !is_chromecast) { 9 if (is_linux && !is_chromecast) {
9 config("expat_config") { 10 config("expat_config") {
10 libs = [ "expat" ] 11 libs = [ "expat" ]
11 } 12 }
12 13
13 group("expat") { 14 group("expat") {
14 public_configs = [ ":expat_config" ] 15 public_configs = [ ":expat_config" ]
15 } 16 }
(...skipping 14 matching lines...) Expand all
30 public_configs = [ ":expat_config" ] 31 public_configs = [ ":expat_config" ]
31 32
32 defines = [ "_LIB" ] 33 defines = [ "_LIB" ]
33 if (is_win) { 34 if (is_win) {
34 defines += [ "COMPILED_FROM_DSP" ] 35 defines += [ "COMPILED_FROM_DSP" ]
35 } else { 36 } else {
36 defines += [ "HAVE_EXPAT_CONFIG_H" ] 37 defines += [ "HAVE_EXPAT_CONFIG_H" ]
37 } 38 }
38 } 39 }
39 } 40 }
41
42 fuzzer_test("expat_xml_parse_fuzzer") {
43 sources = [
44 "fuzz/expat_xml_parse_fuzzer.cc",
45 ]
46 deps = [
47 ":expat",
48 ]
49 dict = "//testing/libfuzzer/fuzzers/dicts/xml.dict"
50 }
OLDNEW
« no previous file with comments | « no previous file | third_party/expat/fuzz/expat_xml_parse_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698