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

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

Issue 1296623003: Adds components/history tests to BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/history/content/browser/BUILD.gn ('k') | components/history/core/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/BUILD.gn
diff --git a/components/history/core/browser/BUILD.gn b/components/history/core/browser/BUILD.gn
index fa8cc4dd8aa6ab59617e4514deb4e9c0a5fe974d..4ce64215f11fa6b319e5d2927c7b8c8afb0dd47e 100644
--- a/components/history/core/browser/BUILD.gn
+++ b/components/history/core/browser/BUILD.gn
@@ -128,3 +128,44 @@ static_library("browser") {
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "expire_history_backend_unittest.cc",
+ "history_backend_db_unittest.cc",
+ "history_backend_unittest.cc",
+ "history_database_unittest.cc",
+ "history_querying_unittest.cc",
+ "history_service_unittest.cc",
+ "history_types_unittest.cc",
+ "thumbnail_database_unittest.cc",
+ "top_sites_cache_unittest.cc",
+ "top_sites_database_unittest.cc",
+ "top_sites_impl_unittest.cc",
+ "typed_url_syncable_service_unittest.cc",
+ "url_database_unittest.cc",
+ "url_utils_unittest.cc",
+ "visit_database_unittest.cc",
+ "visit_filter_unittest.cc",
+ "visit_tracker_unittest.cc",
+ ]
+ deps = [
+ ":browser",
+ "//base",
+ "//base:prefs_test_support",
+ "//base/test:test_support",
+ "//components/favicon_base",
+ "//components/history/core/common",
+ "//components/history/core/test",
+ "//sql",
+ "//sql:test_support",
+ "//sync:test_support_sync_api",
+ "//testing/gtest",
+ "//ui/gfx:gfx",
+ "//url",
+ ]
+ if (is_android) {
+ sources += [ "android/android_history_types_unittest.cc" ]
+ }
+}
« no previous file with comments | « components/history/content/browser/BUILD.gn ('k') | components/history/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698