Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |