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

Unified Diff: components/feedback/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/favicon/core/BUILD.gn ('k') | components/guest_view/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/BUILD.gn
diff --git a/components/feedback/BUILD.gn b/components/feedback/BUILD.gn
index 4d6f40b0792411f8db106aab5ce4427ba65b9680..1669df4d6e0e270b052f8d44e5b6299c1ce979ca 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",
+ ]
+}
« no previous file with comments | « components/favicon/core/BUILD.gn ('k') | components/guest_view/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698