diff options
author | Brett Wilson <brettw@chromium.org> | 2015-08-20 13:25:03 -0700 |
---|---|---|
committer | Brett Wilson <brettw@chromium.org> | 2015-08-20 20:26:24 +0000 |
commit | a7cde4bd39dc814952d885e54eee33ffdac1a881 (patch) | |
tree | 842881556f027dba803fe94ec0e3a16aef0e509f /components/search | |
parent | 28ebede2a1270ad1ecaf2ed1df07a7c4dea036c4 (diff) | |
download | chromium_src-a7cde4bd39dc814952d885e54eee33ffdac1a881.zip chromium_src-a7cde4bd39dc814952d885e54eee33ffdac1a881.tar.gz chromium_src-a7cde4bd39dc814952d885e54eee33ffdac1a881.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.
BUG=
R=dpranke@chromium.org
Review URL: https://codereview.chromium.org/1301743003 .
Cr-Commit-Position: refs/heads/master@{#344577}
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", + ] +} |