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

Unified Diff: components/safe_browsing_db/android/BUILD.gn

Issue 2622773002: Componentize SafeBrowsingApi{Bridge,Handler} (Closed)
Patch Set: Addressing vakh@'s comments Created 3 years, 11 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: components/safe_browsing_db/android/BUILD.gn
diff --git a/components/safe_browsing_db/android/BUILD.gn b/components/safe_browsing_db/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..32b2ff2f402eb086a0d82f4cc895f39fd6e37a3e
--- /dev/null
+++ b/components/safe_browsing_db/android/BUILD.gn
@@ -0,0 +1,23 @@
+# Copyright 2017 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")
+android_library("safe_browsing_java") {
+ deps = [
+ "//base:base_java",
+ "//third_party/android_tools:android_support_annotations_java",
+ ]
+ java_files = [
+ "java/src/org/chromium/components/safe_browsing/SafeBrowsingApiBridge.java",
+ "java/src/org/chromium/components/safe_browsing/SafeBrowsingApiHandler.java",
+ ]
+}
+
+generate_jni("jni_headers") {
+ sources = [
+ "java/src/org/chromium/components/safe_browsing/SafeBrowsingApiBridge.java",
+ ]
+ jni_package = "components/safe_browsing_db/android"
+}

Powered by Google App Engine
This is Rietveld 408576698