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

Unified Diff: components/search_engines/BUILD.gn

Issue 1304163005: Sync more GN unit tests with GYP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes 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/search/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/BUILD.gn
diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn
index c5aeec92dc99711a969ccba3e0282ad01678fe61..4c555bdbdc86569f23203a1222b6319aa58757b1 100644
--- a/components/search_engines/BUILD.gn
+++ b/components/search_engines/BUILD.gn
@@ -86,12 +86,31 @@ source_set("test_support") {
"testing_search_terms_data.h",
]
- deps = [
+ public_deps = [
":search_engines",
"//testing/gtest",
]
}
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "default_search_manager_unittest.cc",
+ "default_search_policy_handler_unittest.cc",
+ "default_search_pref_migration_unittest.cc",
+ "keyword_table_unittest.cc",
+ "search_host_to_urls_map_unittest.cc",
+ "template_url_prepopulate_data_unittest.cc",
+ "template_url_service_util_unittest.cc",
+ "template_url_unittest.cc",
+ ]
+ deps = [
+ ":test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
+
json_to_struct("prepopulated_engines") {
visibility = [ ":*" ]
« no previous file with comments | « components/search/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698