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

Unified Diff: extensions/browser/BUILD.gn

Issue 2009983002: Guard dbus component and config with assert(use_dbus) (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 7 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
« dbus/BUILD.gn ('K') | « device/media_transfer_protocol/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/BUILD.gn
diff --git a/extensions/browser/BUILD.gn b/extensions/browser/BUILD.gn
index f145569871fef33e86e67048e932f1476deabe40..9454fc3c09c6689ff79882a3619de47c99da4fb8 100644
--- a/extensions/browser/BUILD.gn
+++ b/extensions/browser/BUILD.gn
@@ -85,8 +85,10 @@ source_set("browser") {
sources += nonchromeos_sources
if (is_linux) {
- configs += [ "//build/config/linux/dbus" ]
- deps += [ "//dbus" ]
+ if (use_dbus) {
+ configs += [ "//build/config/linux/dbus" ]
slan 2016/05/25 22:35:19 ditto; rm
mbjorge 2016/05/31 20:38:39 Done
+ deps += [ "//dbus" ]
+ }
linux_sources = rebase_path(
extensions_gypi_values.extensions_browser_sources_linux_nonchromeos,
".",
« dbus/BUILD.gn ('K') | « device/media_transfer_protocol/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698