summaryrefslogtreecommitdiffstats
path: root/components/feedback
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-08-21 15:06:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-21 22:06:45 +0000
commit0741cb1c9b944e7a218a84870bdc177a72cb2998 (patch)
tree4dbdb50320213f29523e2695eb9561b1a4d93826 /components/feedback
parent3306c2ace12f90742bae7c265cf4e77a2b8033d7 (diff)
downloadchromium_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/feedback')
-rw-r--r--components/feedback/BUILD.gn18
1 files changed, 17 insertions, 1 deletions
diff --git a/components/feedback/BUILD.gn b/components/feedback/BUILD.gn
index 4d6f40b..1669df4 100644
--- a/components/feedback/BUILD.gn
+++ b/components/feedback/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("feedback") {
+source_set("feedback") {
sources = [
"feedback_common.cc",
"feedback_common.h",
@@ -36,3 +36,19 @@ static_library("feedback") {
"//third_party/zlib:zip",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "feedback_common_unittest.cc",
+ "feedback_data_unittest.cc",
+ "feedback_uploader_chrome_unittest.cc",
+ "feedback_uploader_unittest.cc",
+ ]
+ deps = [
+ ":feedback",
+ "//components/variations/net",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}