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 | |
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')
-rw-r--r-- | components/search/BUILD.gn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/components/search/BUILD.gn b/components/search/BUILD.gn index 21c49c4d..8e18d8c 100644 --- a/components/search/BUILD.gn +++ b/components/search/BUILD.gn @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -static_library("search") { +source_set("search") { sources = [ "search.cc", "search.h", @@ -17,3 +17,15 @@ static_library("search") { "//url", ] } + +source_set("unit_tests") { + testonly = true + sources = [ + "search_android_unittest.cc", + "search_unittest.cc", + ] + deps = [ + ":search", + "//testing/gtest", + ] +} |