OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/rules.gni") |
| 7 |
| 8 assert(is_android) |
| 9 |
| 10 source_set("android") { |
| 11 sources = [ |
| 12 "bluetooth_jni_registrar.cc", |
| 13 "bluetooth_jni_registrar.h", |
| 14 ] |
| 15 |
| 16 defines = [ "DEVICE_BLUETOOTH_IMPLEMENTATION" ] |
| 17 |
| 18 deps = [ |
| 19 "//base", |
| 20 ] |
| 21 } |
| 22 |
| 23 generate_jni("bluetooth_jni") { |
| 24 sources = [ |
| 25 "java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", |
| 26 ] |
| 27 jni_package = "bluetooth" |
| 28 } |
OLD | NEW |