Index: content/browser/BUILD.gn |
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn |
index 35b2f198f77181648b747a85d1b78592258bec0e..83c5903be420f07a17529ffdab223ee6c921f064 100644 |
--- a/content/browser/BUILD.gn |
+++ b/content/browser/BUILD.gn |
@@ -279,9 +279,15 @@ source_set("browser") { |
configs += [ |
"//build/config/linux/atk", |
"//build/config/linux/atk:warnings", |
- "//build/config/linux/gconf", |
- "//build/config/linux:glib", |
] |
+ |
+ if (use_gconf) { |
+ configs += [ "//build/config/linux/gconf" ] |
+ } |
+ |
+ if (use_glib) { |
+ configs += [ "//build/config/linux:glib" ] |
+ } |
} |
if (is_linux && use_aura) { |