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

Unified Diff: ios/chrome/browser/translate/BUILD.gn

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years 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 | « ios/chrome/browser/test/BUILD.gn ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/translate/BUILD.gn
diff --git a/ios/chrome/browser/translate/BUILD.gn b/ios/chrome/browser/translate/BUILD.gn
index c2eb31fba747f5566cd7a52cf296e3bcb5c68f8d..46432c06a4e4d7f312a95b1e6e4577a54e0d60cf 100644
--- a/ios/chrome/browser/translate/BUILD.gn
+++ b/ios/chrome/browser/translate/BUILD.gn
@@ -49,13 +49,45 @@ source_set("translate") {
source_set("unit_tests") {
testonly = true
sources = [
+ "js_language_detection_manager_unittest.mm",
"translate_service_ios_unittest.cc",
]
deps = [
":translate",
+ "//base",
+ "//base/test:test_support",
+ "//components/translate/ios/browser",
"//ios/chrome/browser",
+ "//ios/chrome/browser/web:test_support",
+ "//ios/chrome/common",
"//ios/public/provider/chrome/browser:test_support",
+ "//ios/web",
+ "//ios/web:test_support",
"//testing/gtest",
"//url",
]
}
+
+source_set("eg_tests") {
+ testonly = true
+ sources = [
+ "translate_egtest.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/strings",
+ "//components/translate/core/browser",
+ "//components/translate/core/common",
+ "//components/translate/ios/browser",
+ "//ios/chrome/browser/browser_state",
+ "//ios/chrome/browser/translate",
+ "//ios/chrome/test/app:test_support",
+ "//ios/chrome/test/earl_grey:test_support",
+ "//ios/testing:ios_test_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web:test_support",
+ "//net",
+ "//ui/base",
+ ]
+ libs = [ "XCTest.framework" ]
+}
« no previous file with comments | « ios/chrome/browser/test/BUILD.gn ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698