| 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") { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 "bluetooth_low_energy_defs_win.cc", | 80 "bluetooth_low_energy_defs_win.cc", |
| 81 "bluetooth_low_energy_defs_win.h", | 81 "bluetooth_low_energy_defs_win.h", |
| 82 "bluetooth_low_energy_device_mac.h", | 82 "bluetooth_low_energy_device_mac.h", |
| 83 "bluetooth_low_energy_device_mac.mm", | 83 "bluetooth_low_energy_device_mac.mm", |
| 84 "bluetooth_low_energy_discovery_manager_mac.h", | 84 "bluetooth_low_energy_discovery_manager_mac.h", |
| 85 "bluetooth_low_energy_discovery_manager_mac.mm", | 85 "bluetooth_low_energy_discovery_manager_mac.mm", |
| 86 "bluetooth_low_energy_win.cc", | 86 "bluetooth_low_energy_win.cc", |
| 87 "bluetooth_low_energy_win.h", | 87 "bluetooth_low_energy_win.h", |
| 88 "bluetooth_remote_gatt_characteristic_android.cc", | 88 "bluetooth_remote_gatt_characteristic_android.cc", |
| 89 "bluetooth_remote_gatt_characteristic_android.h", | 89 "bluetooth_remote_gatt_characteristic_android.h", |
| 90 "bluetooth_remote_gatt_descriptor_android.cc", |
| 91 "bluetooth_remote_gatt_descriptor_android.h", |
| 90 "bluetooth_remote_gatt_service_android.cc", | 92 "bluetooth_remote_gatt_service_android.cc", |
| 91 "bluetooth_remote_gatt_service_android.h", | 93 "bluetooth_remote_gatt_service_android.h", |
| 92 "bluetooth_rfcomm_channel_mac.h", | 94 "bluetooth_rfcomm_channel_mac.h", |
| 93 "bluetooth_rfcomm_channel_mac.mm", | 95 "bluetooth_rfcomm_channel_mac.mm", |
| 94 "bluetooth_service_record_win.cc", | 96 "bluetooth_service_record_win.cc", |
| 95 "bluetooth_service_record_win.h", | 97 "bluetooth_service_record_win.h", |
| 96 "bluetooth_socket.cc", | 98 "bluetooth_socket.cc", |
| 97 "bluetooth_socket.h", | 99 "bluetooth_socket.h", |
| 98 "bluetooth_socket_mac.h", | 100 "bluetooth_socket_mac.h", |
| 99 "bluetooth_socket_mac.mm", | 101 "bluetooth_socket_mac.mm", |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 "//net", | 293 "//net", |
| 292 "//testing/gmock", | 294 "//testing/gmock", |
| 293 ] | 295 ] |
| 294 } | 296 } |
| 295 | 297 |
| 296 if (is_android) { | 298 if (is_android) { |
| 297 java_sources_needing_jni = [ | 299 java_sources_needing_jni = [ |
| 298 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java"
, | 300 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java"
, |
| 299 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java", | 301 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java", |
| 300 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCha
racteristic.java", | 302 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCha
racteristic.java", |
| 303 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattDes
criptor.java", |
| 301 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattSer
vice.java", | 304 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattSer
vice.java", |
| 302 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", | 305 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", |
| 303 ] | 306 ] |
| 304 | 307 |
| 305 generate_jni("jni_headers") { | 308 generate_jni("jni_headers") { |
| 306 sources = java_sources_needing_jni | 309 sources = java_sources_needing_jni |
| 307 jni_package = "bluetooth" | 310 jni_package = "bluetooth" |
| 308 } | 311 } |
| 309 | 312 |
| 310 android_library("java") { | 313 android_library("java") { |
| 311 java_files = java_sources_needing_jni | 314 java_files = java_sources_needing_jni |
| 312 deps = [ | 315 deps = [ |
| 313 "//base:base_java", | 316 "//base:base_java", |
| 314 ] | 317 ] |
| 315 } | 318 } |
| 316 } | 319 } |
| OLD | NEW |