| 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 += [
|
|
|