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") { |