diff options
author | brettw <brettw@chromium.org> | 2015-08-21 15:06:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-21 22:06:45 +0000 |
commit | 0741cb1c9b944e7a218a84870bdc177a72cb2998 (patch) | |
tree | 4dbdb50320213f29523e2695eb9561b1a4d93826 /components/search_engines | |
parent | 3306c2ace12f90742bae7c265cf4e77a2b8033d7 (diff) | |
download | chromium_src-0741cb1c9b944e7a218a84870bdc177a72cb2998.zip chromium_src-0741cb1c9b944e7a218a84870bdc177a72cb2998.tar.gz chromium_src-0741cb1c9b944e7a218a84870bdc177a72cb2998.tar.bz2 |
Sync more GN unit tests with GYP.
This adds about 600 more tests.
Tests added: invalidation, navigation interception, feedback, search, sync driver, enhanced bookmarks, search engines, sessions, data reduction proxy, favicon, constrained window, autofill, metrics, keyed service, bookmarks, suggestions, audio modem
I renamed ui_zoom to "zoom" according to GN style. I tweaked some jingle public dependencies so the right include directories get forwarded along with the corresponding uses in the headers.
Reland of http://crrev.com/1301743003
TBR=dpranke@chromium.org
Review URL: https://codereview.chromium.org/1304163005
Cr-Commit-Position: refs/heads/master@{#344874}
Diffstat (limited to 'components/search_engines')
-rw-r--r-- | components/search_engines/BUILD.gn | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn index c5aeec9..4c555bd 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 = [ ":*" ] |