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

Unified Diff: components/translate/core/language_detection/BUILD.gn

Issue 1920853002: Drop support for Compact Language Detector v1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preserve yfriedman@ comment in chrome/android/chrome_apk.gyp Created 4 years, 8 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
Index: components/translate/core/language_detection/BUILD.gn
diff --git a/components/translate/core/language_detection/BUILD.gn b/components/translate/core/language_detection/BUILD.gn
index dd8c57f0c85ea1931dd7240ebd87dd649384a857..71b4a01ed3d70f74e9f0b6c67d05476d5b1e041a 100644
--- a/components/translate/core/language_detection/BUILD.gn
+++ b/components/translate/core/language_detection/BUILD.gn
@@ -14,15 +14,8 @@ source_set("language_detection") {
"//base",
"//components/translate/core/common",
"//url",
+ "//third_party/cld_2:cld2_platform_impl",
]
-
- if (cld_version == 1) {
- deps += [ "//third_party/cld" ]
- } else if (cld_version == 2) {
- deps += [ "//third_party/cld_2:cld2_platform_impl" ]
- } else {
- assert(false, "Need a CLD version")
- }
}
source_set("unit_tests") {

Powered by Google App Engine
This is Rietveld 408576698