| Index: third_party/libexif/BUILD.gn
|
| diff --git a/third_party/libexif/BUILD.gn b/third_party/libexif/BUILD.gn
|
| index 46488979f78769d42f897889656c56e40051c1c5..9504829e4a80a9b53005eaa41d8289a3787845d4 100644
|
| --- a/third_party/libexif/BUILD.gn
|
| +++ b/third_party/libexif/BUILD.gn
|
| @@ -84,16 +84,18 @@ if (!is_linux || is_chromeos) {
|
| }
|
| }
|
|
|
| -# used by libfuzzer fuzzers only atm.
|
| -source_set("libexif_fuzzers") {
|
| - sources = libexif_sources
|
| +if (is_linux) {
|
| + # used by libfuzzer fuzzers only atm.
|
| + source_set("libexif_fuzzers") {
|
| + sources = libexif_sources
|
|
|
| - include_dirs = [ "sources" ]
|
| + include_dirs = [ "sources" ]
|
|
|
| - libs = [ "m" ]
|
| + libs = [ "m" ]
|
|
|
| - configs -= [ "//build/config/compiler:chromium_code" ]
|
| - configs += [ "//build/config/compiler:no_chromium_code" ]
|
| + configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs += [ "//build/config/compiler:no_chromium_code" ]
|
|
|
| - public_configs = [ ":libexif_config" ]
|
| + public_configs = [ ":libexif_config" ]
|
| + }
|
| }
|
|
|