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", |
+ ] |
+} |