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

Unified Diff: components/history/core/browser/BUILD.gn

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compilation Created 5 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/history/core/browser/BUILD.gn
diff --git a/components/history/core/browser/BUILD.gn b/components/history/core/browser/BUILD.gn
index a895c757856c3bd28191c4e510c76c957a097246..a84de5bb746da134dc21d17fd845bb970b7bb91b 100644
--- a/components/history/core/browser/BUILD.gn
+++ b/components/history/core/browser/BUILD.gn
@@ -20,6 +20,10 @@ static_library("browser") {
"history_constants.cc",
"history_constants.h",
"history_context.h",
+ "history_database.cc",
+ "history_database.h",
+ "history_database_params.cc",
+ "history_database_params.h",
"history_db_task.h",
"history_match.cc",
"history_match.h",
@@ -68,6 +72,28 @@ static_library("browser") {
"//ui/gfx",
"//url",
]
+
+ if (is_android) {
+ sources += [
+ "android/android_cache_database.cc",
+ "android/android_cache_database.h",
+ "android/android_history_types.cc",
+ "android/android_history_types.h",
+ "android/android_time.h",
+ "android/android_urls_database.cc",
+ "android/android_urls_database.h",
+ "android/android_urls_sql_handler.cc",
+ "android/android_urls_sql_handler.h",
+ "android/favicon_sql_handler.cc",
+ "android/favicon_sql_handler.h",
+ "android/sql_handler.cc",
+ "android/sql_handler.h",
+ "android/urls_sql_handler.cc",
+ "android/urls_sql_handler.h",
+ "android/visit_sql_handler.cc",
+ "android/visit_sql_handler.h",
+ ]
+ }
}
proto_library("proto") {
« no previous file with comments | « components/history/core/android/visit_sql_handler.cc ('k') | components/history/core/browser/android/android_cache_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698