| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 if ((is_chromeos || is_linux) && use_dbus) { | 156 if ((is_chromeos || is_linux) && use_dbus) { |
| 157 configs += [ "//build/config/linux:dbus" ] | 157 configs += [ "//build/config/linux:dbus" ] |
| 158 | 158 |
| 159 sources += [ | 159 sources += [ |
| 160 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc", | 160 "bluetooth/bluetooth_adapter_profile_bluez_unittest.cc", |
| 161 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", | 161 "bluetooth/bluetooth_advertisement_bluez_unittest.cc", |
| 162 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", | 162 "bluetooth/bluetooth_audio_sink_bluez_unittest.cc", |
| 163 "bluetooth/bluetooth_bluez_unittest.cc", | 163 "bluetooth/bluetooth_bluez_unittest.cc", |
| 164 "bluetooth/bluetooth_gatt_bluez_unittest.cc", | 164 "bluetooth/bluetooth_gatt_bluez_unittest.cc", |
| 165 "bluetooth/bluetooth_socket_bluez_unittest.cc", | 165 "bluetooth/bluetooth_socket_bluez_unittest.cc", |
| 166 "bluetooth/test/bluetooth_test_bluez.cc", |
| 167 "bluetooth/test/bluetooth_test_bluez.h", |
| 166 ] | 168 ] |
| 167 | 169 |
| 168 deps += [ "//dbus" ] | 170 deps += [ "//dbus" ] |
| 169 } | 171 } |
| 170 | 172 |
| 171 if (is_mac) { | 173 if (is_mac) { |
| 172 deps += [ "//third_party/ocmock" ] | 174 deps += [ "//third_party/ocmock" ] |
| 173 ldflags = [ "-ObjC" ] | 175 ldflags = [ "-ObjC" ] |
| 174 libs = [ "IOBluetooth.framework" ] | 176 libs = [ "IOBluetooth.framework" ] |
| 175 | 177 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 204 } | 206 } |
| 205 | 207 |
| 206 android_library("bluetooth_test_java") { | 208 android_library("bluetooth_test_java") { |
| 207 java_files = bluetooth_java_sources_needing_jni | 209 java_files = bluetooth_java_sources_needing_jni |
| 208 deps = [ | 210 deps = [ |
| 209 "//base:base_java", | 211 "//base:base_java", |
| 210 "//device/bluetooth:java", | 212 "//device/bluetooth:java", |
| 211 ] | 213 ] |
| 212 } | 214 } |
| 213 } | 215 } |
| OLD | NEW |