Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: device/bluetooth/BUILD.gn

Issue 1215303006: bluetooth: android: Initial BluetoothDeviceAndroid implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-discovery-
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "bluetooth_advertisement_chromeos.cc", 46 "bluetooth_advertisement_chromeos.cc",
47 "bluetooth_advertisement_chromeos.h", 47 "bluetooth_advertisement_chromeos.h",
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_device.cc", 54 "bluetooth_device.cc",
55 "bluetooth_device.h", 55 "bluetooth_device.h",
56 "bluetooth_device_android.cc",
57 "bluetooth_device_android.h",
56 "bluetooth_device_chromeos.cc", 58 "bluetooth_device_chromeos.cc",
57 "bluetooth_device_chromeos.h", 59 "bluetooth_device_chromeos.h",
58 "bluetooth_device_mac.h", 60 "bluetooth_device_mac.h",
59 "bluetooth_device_mac.mm", 61 "bluetooth_device_mac.mm",
60 "bluetooth_device_win.cc", 62 "bluetooth_device_win.cc",
61 "bluetooth_device_win.h", 63 "bluetooth_device_win.h",
62 "bluetooth_discovery_filter.cc", 64 "bluetooth_discovery_filter.cc",
63 "bluetooth_discovery_filter.h", 65 "bluetooth_discovery_filter.h",
64 "bluetooth_discovery_manager_mac.h", 66 "bluetooth_discovery_manager_mac.h",
65 "bluetooth_discovery_manager_mac.mm", 67 "bluetooth_discovery_manager_mac.mm",
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 ":bluetooth", 247 ":bluetooth",
246 "//base", 248 "//base",
247 "//net", 249 "//net",
248 "//testing/gmock", 250 "//testing/gmock",
249 ] 251 ]
250 } 252 }
251 253
252 if (is_android) { 254 if (is_android) {
253 java_sources_needing_jni = [ 255 java_sources_needing_jni = [
254 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java" , 256 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java" ,
257 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java",
255 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", 258 "android/java/src/org/chromium/device/bluetooth/Wrappers.java",
256 ] 259 ]
257 260
258 generate_jni("jni_headers") { 261 generate_jni("jni_headers") {
259 sources = java_sources_needing_jni 262 sources = java_sources_needing_jni
260 jni_package = "bluetooth" 263 jni_package = "bluetooth"
261 } 264 }
262 265
263 android_library("java") { 266 android_library("java") {
264 java_files = java_sources_needing_jni 267 java_files = java_sources_needing_jni
265 deps = [ 268 deps = [
266 "//base:base_java", 269 "//base:base_java",
267 ] 270 ]
268 } 271 }
269 } 272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698