--- third_party/expat/BUILD.gn.orig 2017-06-05 19:03:27 UTC +++ third_party/expat/BUILD.gn @@ -9,7 +9,7 @@ import("//testing/libfuzzer/fuzzer_test.gni") # let's not pull it in twice. # Chromecast doesn't ship expat as a system library. # Libfuzzer and AFL need to build library from sources. -if (is_linux && !is_chromecast && !use_libfuzzer && !use_afl) { +if ((is_linux || is_bsd) && !is_chromecast && !use_libfuzzer && !use_afl) { config("expat_config") { libs = [ "expat" ] }