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

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

Issue 2026113002: [libfuzzer] use source-built expat parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | no next file » | 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 import("//testing/libfuzzer/fuzzer_test.gni")
7 7
8 # Chromecast doesn't ship expat as a system library 8 # Chromecast doesn't ship expat as a system library
Nico 2016/06/01 15:44:14 can you add the comment # On Linux, we impl
aizatsky 2016/06/02 21:02:08 Done. Also added libfuzzer comment.
9 if (is_linux && !is_chromecast) { 9 if (is_linux && !is_chromecast && !use_libfuzzer) {
10 config("expat_config") { 10 config("expat_config") {
11 libs = [ "expat" ] 11 libs = [ "expat" ]
12 } 12 }
13 13
14 group("expat") { 14 group("expat") {
15 public_configs = [ ":expat_config" ] 15 public_configs = [ ":expat_config" ]
16 } 16 }
17 } else { 17 } else {
18 config("expat_config") { 18 config("expat_config") {
19 include_dirs = [ "files/lib" ] 19 include_dirs = [ "files/lib" ]
(...skipping 21 matching lines...) Expand all
41 41
42 fuzzer_test("expat_xml_parse_fuzzer") { 42 fuzzer_test("expat_xml_parse_fuzzer") {
43 sources = [ 43 sources = [
44 "fuzz/expat_xml_parse_fuzzer.cc", 44 "fuzz/expat_xml_parse_fuzzer.cc",
45 ] 45 ]
46 deps = [ 46 deps = [
47 ":expat", 47 ":expat",
48 ] 48 ]
49 dict = "//testing/libfuzzer/fuzzers/dicts/xml.dict" 49 dict = "//testing/libfuzzer/fuzzers/dicts/xml.dict"
50 } 50 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698