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

Unified Diff: components/safe_browsing_db/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/BUILD.gn
diff --git a/components/safe_browsing_db/BUILD.gn b/components/safe_browsing_db/BUILD.gn
index 13bdd1b82594bc0dcde5c95af0ca127a5cedc63f..24803b5ede7949088caeaa814e99abc427f56a38 100644
--- a/components/safe_browsing_db/BUILD.gn
+++ b/components/safe_browsing_db/BUILD.gn
@@ -118,14 +118,26 @@ static_library("remote_database_manager") {
source_set("safe_browsing_api_handler") {
sources = [
+ "android/jni_registrar.cc",
+ "android/jni_registrar.h",
"safe_browsing_api_handler.cc",
"safe_browsing_api_handler.h",
]
deps = [
+ ":safe_browsing_api_handler_util",
":util",
"//base",
+ "//content/public/browser:browser",
"//url",
]
+
+ if (is_android) {
+ deps += [ "//components/safe_browsing_db/android:jni_headers" ]
+ sources += [
+ "android/safe_browsing_api_handler_bridge.cc",
+ "android/safe_browsing_api_handler_bridge.h",
+ ]
+ }
}
static_library("safe_browsing_api_handler_util") {
« no previous file with comments | « chrome/browser/android/safe_browsing/safe_browsing_api_handler_bridge.cc ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698