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

Unified Diff: third_party/libexif/BUILD.gn

Issue 1579213002: build libexif_fuzzer only on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
« 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