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

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: Remove unnecessary //dbus when //dbus:test_support exists 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
« no previous file with comments | « 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..831c1d08fb15a3ddedcb0a613aec61288f37b99e 100644
--- a/extensions/browser/BUILD.gn
+++ b/extensions/browser/BUILD.gn
@@ -85,8 +85,9 @@ source_set("browser") {
sources += nonchromeos_sources
if (is_linux) {
- configs += [ "//build/config/linux/dbus" ]
- deps += [ "//dbus" ]
+ if (use_dbus) {
+ deps += [ "//dbus" ]
+ }
linux_sources = rebase_path(
extensions_gypi_values.extensions_browser_sources_linux_nonchromeos,
".",
« no previous file with comments | « device/media_transfer_protocol/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698