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

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: Merge TOT 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
« no previous file with comments | « no previous file | device/bluetooth/android/bluetooth_jni_registrar.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") # For generate_jni(). 6 import("//build/config/android/rules.gni") # For generate_jni().
7 } 7 }
8 8
9 config("bluetooth_config") { 9 config("bluetooth_config") {
10 if (is_win) { 10 if (is_win) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 "bluetooth_audio_sink.cc", 46 "bluetooth_audio_sink.cc",
47 "bluetooth_audio_sink.h", 47 "bluetooth_audio_sink.h",
48 "bluetooth_audio_sink_chromeos.cc", 48 "bluetooth_audio_sink_chromeos.cc",
49 "bluetooth_audio_sink_chromeos.h", 49 "bluetooth_audio_sink_chromeos.h",
50 "bluetooth_channel_mac.h", 50 "bluetooth_channel_mac.h",
51 "bluetooth_channel_mac.mm", 51 "bluetooth_channel_mac.mm",
52 "bluetooth_classic_device_mac.h", 52 "bluetooth_classic_device_mac.h",
53 "bluetooth_classic_device_mac.mm", 53 "bluetooth_classic_device_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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 ":bluetooth", 186 ":bluetooth",
185 "//base", 187 "//base",
186 "//net", 188 "//net",
187 "//testing/gmock", 189 "//testing/gmock",
188 ] 190 ]
189 } 191 }
190 192
191 if (is_android) { 193 if (is_android) {
192 java_sources_needing_jni = [ 194 java_sources_needing_jni = [
193 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java" , 195 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java" ,
196 "android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java",
194 "android/java/src/org/chromium/device/bluetooth/Wrappers.java", 197 "android/java/src/org/chromium/device/bluetooth/Wrappers.java",
195 ] 198 ]
196 199
197 generate_jni("jni_headers") { 200 generate_jni("jni_headers") {
198 sources = java_sources_needing_jni 201 sources = java_sources_needing_jni
199 jni_package = "bluetooth" 202 jni_package = "bluetooth"
200 } 203 }
201 204
202 android_library("java") { 205 android_library("java") {
203 java_files = java_sources_needing_jni 206 java_files = java_sources_needing_jni
204 deps = [ 207 deps = [
205 "//base:base_java", 208 "//base:base_java",
206 ] 209 ]
207 } 210 }
208 } 211 }
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/android/bluetooth_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698