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

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

Issue 1132173002: Implement the advertising functions for the BLE API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 "device_bluetooth_strings_zh-CN.pak", 208 "device_bluetooth_strings_zh-CN.pak",
209 "device_bluetooth_strings_zh-TW.pak", 209 "device_bluetooth_strings_zh-TW.pak",
210 ] 210 ]
211 } 211 }
212 212
213 static_library("mocks") { 213 static_library("mocks") {
214 testonly = true 214 testonly = true
215 sources = [ 215 sources = [
216 "test/mock_bluetooth_adapter.cc", 216 "test/mock_bluetooth_adapter.cc",
217 "test/mock_bluetooth_adapter.h", 217 "test/mock_bluetooth_adapter.h",
218 "test/mock_bluetooth_advertisement.cc",
219 "test/mock_bluetooth_advertisement.h",
218 "test/mock_bluetooth_device.cc", 220 "test/mock_bluetooth_device.cc",
219 "test/mock_bluetooth_device.h", 221 "test/mock_bluetooth_device.h",
220 "test/mock_bluetooth_discovery_session.cc", 222 "test/mock_bluetooth_discovery_session.cc",
221 "test/mock_bluetooth_discovery_session.h", 223 "test/mock_bluetooth_discovery_session.h",
222 "test/mock_bluetooth_gatt_characteristic.cc", 224 "test/mock_bluetooth_gatt_characteristic.cc",
223 "test/mock_bluetooth_gatt_characteristic.h", 225 "test/mock_bluetooth_gatt_characteristic.h",
224 "test/mock_bluetooth_gatt_connection.cc", 226 "test/mock_bluetooth_gatt_connection.cc",
225 "test/mock_bluetooth_gatt_connection.h", 227 "test/mock_bluetooth_gatt_connection.h",
226 "test/mock_bluetooth_gatt_descriptor.cc", 228 "test/mock_bluetooth_gatt_descriptor.cc",
227 "test/mock_bluetooth_gatt_descriptor.h", 229 "test/mock_bluetooth_gatt_descriptor.h",
(...skipping 14 matching lines...) Expand all
242 } 244 }
243 245
244 if (is_android) { 246 if (is_android) {
245 generate_jni("bluetooth_jni") { 247 generate_jni("bluetooth_jni") {
246 sources = [ 248 sources = [
247 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", 249 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java",
248 ] 250 ]
249 jni_package = "bluetooth" 251 jni_package = "bluetooth"
250 } 252 }
251 } 253 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698