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

Unified Diff: chrome/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 | « build/config/linux/dbus/BUILD.gn ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 5df14a4b99031d956c4dd09a748975acb727e6f3..dfc340a72e169dfde46317a528532c45b04a2af6 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -867,11 +867,10 @@ source_set("browser") {
if (is_linux) {
if (use_aura) {
- configs += [ "//build/config/linux/dbus" ]
- deps += [
- "//build/linux:fontconfig",
- "//dbus",
- ]
+ deps += [ "//build/linux:fontconfig" ]
+ if (use_dbus) {
+ deps += [ "//dbus" ]
+ }
}
if (use_x11) {
configs += [ "//build/config/linux:x11" ]
« no previous file with comments | « build/config/linux/dbus/BUILD.gn ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698