summaryrefslogtreecommitdiff
path: root/chromium/components/prefs/android/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/prefs/android/BUILD.gn')
-rw-r--r--chromium/components/prefs/android/BUILD.gn19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/components/prefs/android/BUILD.gn b/chromium/components/prefs/android/BUILD.gn
new file mode 100644
index 00000000000..2aa2728dc22
--- /dev/null
+++ b/chromium/components/prefs/android/BUILD.gn
@@ -0,0 +1,19 @@
+# Copyright 2020 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/rules.gni")
+
+generate_jni("jni_headers") {
+ sources = [ "java/src/org/chromium/components/prefs/PrefService.java" ]
+}
+
+android_library("java") {
+ sources = [ "java/src/org/chromium/components/prefs/PrefService.java" ]
+ deps = [
+ "//base:base_java",
+ "//base:jni_java",
+ "//third_party/android_deps:androidx_annotation_annotation_java",
+ ]
+ annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
+}