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

Unified Diff: device/bluetooth/android/BUILD.gn

Issue 1119113002: bluetooth: Initial JNI setup for device/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
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"
+}

Powered by Google App Engine
This is Rietveld 408576698