Index: build/config/linux/dbus/BUILD.gn |
diff --git a/build/config/linux/dbus/BUILD.gn b/build/config/linux/dbus/BUILD.gn |
index a26ca92b5fcfdfd2b175d3cf5d481b75db4cadeb..55959721c11f6061aa1110ad66d389963256b54e 100644 |
--- a/build/config/linux/dbus/BUILD.gn |
+++ b/build/config/linux/dbus/BUILD.gn |
@@ -2,10 +2,13 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/features.gni") |
import("//build/config/linux/pkg_config.gni") |
# Note: if your target also depends on //dbus, you don't need to add this |
# config (it will get added automatically if you depend on //dbus). |
-pkg_config("dbus") { |
- packages = [ "dbus-1" ] |
+if (use_dbus) { |
mbjorge
2016/05/31 20:38:39
Changed this to an assert also
|
+ pkg_config("dbus") { |
+ packages = [ "dbus-1" ] |
+ } |
} |