| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 4 import("//build/config/features.gni") |
| 5 | 5 |
| 6 if (is_android) { | 6 if (is_android) { |
| 7 import("//build/config/android/rules.gni") # For generate_jni(). | 7 import("//build/config/android/rules.gni") # For generate_jni(). |
| 8 } | 8 } |
| 9 | 9 |
| 10 config("bluetooth_config") { | 10 config("bluetooth_config") { |
| 11 if (is_win) { | 11 if (is_win) { |
| 12 ldflags = [ | 12 ldflags = [ |
| 13 "/DELAYLOAD:BluetoothApis.dll", | 13 "/DELAYLOAD:BluetoothApis.dll", |
| 14 | 14 |
| 15 # Despite MSDN stating that Bthprops.dll contains the | 15 # Despite MSDN stating that Bthprops.dll contains the |
| 16 # symbols declared by bthprops.lib, they actually reside here: | 16 # symbols declared by bthprops.lib, they actually reside here: |
| 17 "/DELAYLOAD:Bthprops.cpl", | 17 "/DELAYLOAD:Bthprops.cpl", |
| 18 "/DELAYLOAD:setupapi.dll", | 18 "/DELAYLOAD:setupapi.dll", |
| 19 ] | 19 ] |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 | 22 |
| 23 source_set("mojo") { |
| 24 sources = [ |
| 25 "adapter.cc", |
| 26 "adapter.h", |
| 27 ] |
| 28 |
| 29 public_deps = [ |
| 30 ":bluetooth", |
| 31 "//device/bluetooth/public/interfaces:experimental_interfaces", |
| 32 ] |
| 33 } |
| 34 |
| 23 component("bluetooth") { | 35 component("bluetooth") { |
| 24 sources = [ | 36 sources = [ |
| 25 "android/bluetooth_jni_registrar.cc", | 37 "android/bluetooth_jni_registrar.cc", |
| 26 "android/bluetooth_jni_registrar.h", | 38 "android/bluetooth_jni_registrar.h", |
| 27 "android/wrappers.cc", | 39 "android/wrappers.cc", |
| 28 "android/wrappers.h", | 40 "android/wrappers.h", |
| 29 "bluetooth_adapter.cc", | 41 "bluetooth_adapter.cc", |
| 30 "bluetooth_adapter.h", | 42 "bluetooth_adapter.h", |
| 31 "bluetooth_adapter_android.cc", | 43 "bluetooth_adapter_android.cc", |
| 32 "bluetooth_adapter_android.h", | 44 "bluetooth_adapter_android.h", |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 } | 404 } |
| 393 | 405 |
| 394 android_library("java") { | 406 android_library("java") { |
| 395 java_files = java_sources_needing_jni | 407 java_files = java_sources_needing_jni |
| 396 deps = [ | 408 deps = [ |
| 397 "//base:base_java", | 409 "//base:base_java", |
| 398 "//components/location/android:location_java", | 410 "//components/location/android:location_java", |
| 399 ] | 411 ] |
| 400 } | 412 } |
| 401 } | 413 } |
| OLD | NEW |