| Index: chrome/test/BUILD.gn
|
| diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
| index 26bb379a84cf9c3a55ea48d126640ca08c45eb9f..6e3e938af909888d2d5f00e737dfb03d06feb1d5 100644
|
| --- a/chrome/test/BUILD.gn
|
| +++ b/chrome/test/BUILD.gn
|
| @@ -1113,10 +1113,12 @@ if (!is_android) {
|
| "//chromeos/ime:gencode",
|
| "//components/arc:arc_test_support",
|
| "//components/user_manager:test_support",
|
| - "//dbus",
|
| - "//dbus:test_support",
|
| "//ui/login:resources",
|
| ]
|
| +
|
| + if (use_dbus) {
|
| + deps += [ "//dbus:test_support" ]
|
| + }
|
| } else {
|
| sources -= [
|
| "../browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc",
|
| @@ -2044,11 +2046,10 @@ test("unit_tests") {
|
| deps += [ "//third_party/libsecret" ]
|
| }
|
| if (is_linux && use_aura) {
|
| - deps += [
|
| - "//dbus",
|
| - "//dbus:test_support",
|
| - "//ui/aura:test_support",
|
| - ]
|
| + deps += [ "//ui/aura:test_support" ]
|
| + if (use_dbus) {
|
| + deps += [ "//dbus:test_support" ]
|
| + }
|
| }
|
| if (is_linux && is_chrome_branded && current_cpu == "x86") {
|
| ldflags = [ "-Wl,--strip-debug" ]
|
|
|