| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") # For generate_jni(). | 9 import("//build/config/android/rules.gni") # For generate_jni(). |
| 10 } | 10 } |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 } | 148 } |
| 149 | 149 |
| 150 if (is_chromeos) { | 150 if (is_chromeos) { |
| 151 deps += [ | 151 deps += [ |
| 152 "//chromeos", | 152 "//chromeos", |
| 153 "//chromeos:test_support", | 153 "//chromeos:test_support", |
| 154 "//chromeos:test_support_without_gmock", | 154 "//chromeos:test_support_without_gmock", |
| 155 ] | 155 ] |
| 156 } | 156 } |
| 157 | 157 |
| 158 if (is_chromeos || is_linux) { | 158 if ((is_chromeos || is_linux) && use_dbus) { |
| 159 configs += [ "//build/config/linux:dbus" ] | 159 configs += [ "//build/config/linux:dbus" ] |
| 160 | 160 |
| 161 sources += [ | 161 sources += [ |
| 162 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc", | 162 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc", |
| 163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", | 163 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", |
| 164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", | 164 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", |
| 165 "bluetooth/bluetooth_bluez_unittest.cc", | 165 "bluetooth/bluetooth_bluez_unittest.cc", |
| 166 "bluetooth/bluetooth_gatt_bluez_unittest.cc", | 166 "bluetooth/bluetooth_gatt_bluez_unittest.cc", |
| 167 "bluetooth/bluetooth_socket_bluez_unittest.cc", | 167 "bluetooth/bluetooth_socket_bluez_unittest.cc", |
| 168 ] | 168 ] |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 } | 201 } |
| 202 | 202 |
| 203 android_library("bluetooth_test_java") { | 203 android_library("bluetooth_test_java") { |
| 204 java_files = bluetooth_java_sources_needing_jni | 204 java_files = bluetooth_java_sources_needing_jni |
| 205 deps = [ | 205 deps = [ |
| 206 "//base:base_java", | 206 "//base:base_java", |
| 207 "//device/bluetooth:java", | 207 "//device/bluetooth:java", |
| 208 ] | 208 ] |
| 209 } | 209 } |
| 210 } | 210 } |
| OLD | NEW |