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

Unified Diff: chrome/browser/extensions/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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/BUILD.gn
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn
index beb0f01b554950433943ccfbe9579230a6761985..537af73c39e29353a87842d7a1c44017c8e5cbd7 100644
--- a/chrome/browser/extensions/BUILD.gn
+++ b/chrome/browser/extensions/BUILD.gn
@@ -99,7 +99,9 @@ source_set("extensions") {
".",
"//chrome")
sources -= [ "api/music_manager_private/device_id_linux.cc" ]
- configs += [ "//build/config/linux/dbus" ]
+ if (use_dbus) {
+ configs += [ "//build/config/linux/dbus" ]
+ }
deps += [
"//components/chrome_apps",
"//remoting/host/it2me:common",
@@ -143,10 +145,12 @@ source_set("extensions") {
}
if (is_linux) {
- deps += [
- "//build/linux:fontconfig",
- "//dbus",
- ]
+ deps += [ "//build/linux:fontconfig" ]
+
+ if (use_dbus) {
+ deps += [ "//dbus" ]
+ }
+
if (use_x11) {
configs += [ "//build/config/linux:x11" ]
deps += [
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698