| 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 | 4 |
| 5 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") # For generate_jni(). | 8 import("//build/config/android/rules.gni") # For generate_jni(). |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "bluetooth_audio_sink.cc", | 48 "bluetooth_audio_sink.cc", |
| 49 "bluetooth_audio_sink.h", | 49 "bluetooth_audio_sink.h", |
| 50 "bluetooth_audio_sink_chromeos.cc", | 50 "bluetooth_audio_sink_chromeos.cc", |
| 51 "bluetooth_audio_sink_chromeos.h", | 51 "bluetooth_audio_sink_chromeos.h", |
| 52 "bluetooth_channel_mac.h", | 52 "bluetooth_channel_mac.h", |
| 53 "bluetooth_channel_mac.mm", | 53 "bluetooth_channel_mac.mm", |
| 54 "bluetooth_classic_device_mac.h", | 54 "bluetooth_classic_device_mac.h", |
| 55 "bluetooth_classic_device_mac.mm", | 55 "bluetooth_classic_device_mac.mm", |
| 56 "bluetooth_device.cc", | 56 "bluetooth_device.cc", |
| 57 "bluetooth_device.h", | 57 "bluetooth_device.h", |
| 58 "bluetooth_device_android.cc", |
| 59 "bluetooth_device_android.h", |
| 58 "bluetooth_device_chromeos.cc", | 60 "bluetooth_device_chromeos.cc", |
| 59 "bluetooth_device_chromeos.h", | 61 "bluetooth_device_chromeos.h", |
| 60 "bluetooth_device_mac.h", | 62 "bluetooth_device_mac.h", |
| 61 "bluetooth_device_mac.mm", | 63 "bluetooth_device_mac.mm", |
| 62 "bluetooth_device_win.cc", | 64 "bluetooth_device_win.cc", |
| 63 "bluetooth_device_win.h", | 65 "bluetooth_device_win.h", |
| 64 "bluetooth_discovery_filter.cc", | 66 "bluetooth_discovery_filter.cc", |
| 65 "bluetooth_discovery_filter.h", | 67 "bluetooth_discovery_filter.h", |
| 66 "bluetooth_discovery_manager_mac.h", | 68 "bluetooth_discovery_manager_mac.h", |
| 67 "bluetooth_discovery_manager_mac.mm", | 69 "bluetooth_discovery_manager_mac.mm", |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 ":bluetooth", | 249 ":bluetooth", |
| 248 "//base", | 250 "//base", |
| 249 "//net", | 251 "//net", |
| 250 "//testing/gmock", | 252 "//testing/gmock", |
| 251 ] | 253 ] |
| 252 } | 254 } |
| 253 | 255 |
| 254 if (is_android) { | 256 if (is_android) { |
| 255 java_sources_needing_jni = [ | 257 java_sources_needing_jni = [ |
| 256 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java"
, | 258 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java"
, |
| 259 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java", |
| 257 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", | 260 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", |
| 258 ] | 261 ] |
| 259 | 262 |
| 260 generate_jni("jni_headers") { | 263 generate_jni("jni_headers") { |
| 261 sources = java_sources_needing_jni | 264 sources = java_sources_needing_jni |
| 262 jni_package = "bluetooth" | 265 jni_package = "bluetooth" |
| 263 } | 266 } |
| 264 | 267 |
| 265 android_library("java") { | 268 android_library("java") { |
| 266 java_files = java_sources_needing_jni | 269 java_files = java_sources_needing_jni |
| 267 deps = [ | 270 deps = [ |
| 268 "//base:base_java", | 271 "//base:base_java", |
| 269 ] | 272 ] |
| 270 } | 273 } |
| 271 } | 274 } |
| OLD | NEW |