summaryrefslogtreecommitdiffstats
path: root/components/translate/core/browser/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'components/translate/core/browser/BUILD.gn')
-rw-r--r--components/translate/core/browser/BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/translate/core/browser/BUILD.gn b/components/translate/core/browser/BUILD.gn
index 13728f4..862d2d0 100644
--- a/components/translate/core/browser/BUILD.gn
+++ b/components/translate/core/browser/BUILD.gn
@@ -51,3 +51,18 @@ source_set("browser") {
"//url",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "language_state_unittest.cc",
+ "translate_browser_metrics_unittest.cc",
+ "translate_language_list_unittest.cc",
+ "translate_prefs_unittest.cc",
+ "translate_script_unittest.cc",
+ ]
+ deps = [
+ ":browser",
+ "//testing/gtest",
+ ]
+}