Index: device/bluetooth/android/BUILD.gn |
diff --git a/device/bluetooth/android/BUILD.gn b/device/bluetooth/android/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5209a6ae91a8ced0d50db9fe68c9034c9ad414d9 |
--- /dev/null |
+++ b/device/bluetooth/android/BUILD.gn |
@@ -0,0 +1,28 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/config.gni") |
+import("//build/config/android/rules.gni") |
+ |
+assert(is_android) |
+ |
+source_set("android") { |
+ sources = [ |
+ "bluetooth_jni_registrar.cc", |
+ "bluetooth_jni_registrar.h", |
+ ] |
+ |
+ defines = [ "DEVICE_BLUETOOTH_IMPLEMENTATION" ] |
+ |
+ deps = [ |
+ "//base", |
+ ] |
+} |
+ |
+generate_jni("bluetooth_jni") { |
+ sources = [ |
+ "java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", |
+ ] |
+ jni_package = "bluetooth" |
+} |