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

Unified Diff: components/safe_browsing_db/BUILD.gn

Issue 1620813005: Revert of Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/BUILD.gn
diff --git a/components/safe_browsing_db/BUILD.gn b/components/safe_browsing_db/BUILD.gn
index 5315e6eb6bee490af46e25c9e3e58c95056e22ab..513aef45159aad99c0af5a4937e83e31b819974c 100644
--- a/components/safe_browsing_db/BUILD.gn
+++ b/components/safe_browsing_db/BUILD.gn
@@ -10,35 +10,13 @@
]
}
-# GYP version: components/safe_browsing_db.gypi:safe_browsing_metadata_proto
-proto_library("metadata_proto") {
- sources = [
- "metadata.proto",
- ]
-}
-
-group("safe_browsing_db_shared") {
+group("safe_browsing_db") {
deps = [
":database_manager",
":hit_report",
":prefix_set",
":proto",
":util",
- ]
-}
-
-group("safe_browsing_db") {
- deps = [
- ":safe_browsing_db_shared",
- ]
-}
-
-group("safe_browsing_db_mobile") {
- deps = [
- ":remote_database_manager",
- ":safe_browsing_api_handler",
- ":safe_browsing_api_handler_util",
- ":safe_browsing_db_shared",
]
}
@@ -76,45 +54,6 @@
deps = [
":util",
"//base",
- ]
-}
-
-source_set("remote_database_manager") {
- sources = [
- "remote_database_manager.cc",
- "remote_database_manager.h",
- ]
- deps = [
- ":database_manager",
- ":safe_browsing_api_handler",
- "//base:base",
- "//components/variations",
- "//content/public/browser",
- "//url:url",
- ]
-}
-
-source_set("safe_browsing_api_handler") {
- sources = [
- "safe_browsing_api_handler.cc",
- "safe_browsing_api_handler.h",
- ]
- deps = [
- ":util",
- "//base:base",
- "//url:url",
- ]
-}
-
-source_set("safe_browsing_api_handler_util") {
- sources = [
- "safe_browsing_api_handler_util.cc",
- "safe_browsing_api_handler_util.h",
- ]
- deps = [
- ":metadata_proto",
- ":util",
- "//base:base",
]
}
@@ -163,26 +102,3 @@
cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
}
}
-
-source_set("unit_tests_mobile") {
- testonly = true
- sources = [
- "remote_database_manager_unittest.cc",
- "safe_browsing_api_handler_unittest.cc",
- ]
- deps = [
- ":metadata_proto",
- ":remote_database_manager",
- ":safe_browsing_api_handler",
- ":safe_browsing_api_handler_util",
- ":util",
- "//base",
- "//components/variations",
- "//testing/gtest",
- "//url",
- ]
- if (is_win) {
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
- }
-}
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698