Adds components/history tests to BUILD.gn
Not sure why they weren't added previously. BUG=none TEST=none R=brettw@chromium.org Review URL: https://codereview.chromium.org/1296623003 Cr-Commit-Position: refs/heads/master@{#343425}
This commit is contained in:
1
.gn
1
.gn
@ -37,6 +37,7 @@ check_targets = [
|
||||
"//components/autofill/*",
|
||||
"//components/bookmarks/*",
|
||||
"//components/google/*",
|
||||
"//components/history/*",
|
||||
"//components/html_viewer/*",
|
||||
"//components/omnibox/*",
|
||||
"//components/os_crypt/*",
|
||||
|
@ -315,6 +315,9 @@ test("components_unittests") {
|
||||
"//components/gcm_driver/instance_id:unit_tests",
|
||||
"//components/gcm_driver:unit_tests",
|
||||
"//components/google/core/browser:unit_tests",
|
||||
"//components/history/content/browser:unit_tests",
|
||||
"//components/history/core/browser:unit_tests",
|
||||
"//components/history/core/common:unit_tests",
|
||||
"//components/invalidation/impl:unittests",
|
||||
"//components/login:unit_tests",
|
||||
"//components/metrics:unit_tests",
|
||||
|
@ -24,3 +24,16 @@ static_library("browser") {
|
||||
"//url:url",
|
||||
]
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"content_history_backend_db_unittest.cc",
|
||||
]
|
||||
deps = [
|
||||
":browser",
|
||||
"//components/history/core/browser:browser",
|
||||
"//components/history/core/test",
|
||||
"//testing/gtest",
|
||||
]
|
||||
}
|
||||
|
@ -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" ]
|
||||
}
|
||||
}
|
||||
|
@ -12,3 +12,14 @@ static_library("common") {
|
||||
"//base",
|
||||
]
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"thumbnail_score_unittest.cc",
|
||||
]
|
||||
deps = [
|
||||
":common",
|
||||
"//testing/gtest",
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user