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

Unified Diff: components/translate/content/renderer/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
« no previous file with comments | « components/translate.gypi ('k') | components/translate/core/language_detection/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/content/renderer/BUILD.gn
diff --git a/components/translate/content/renderer/BUILD.gn b/components/translate/content/renderer/BUILD.gn
index 54ecfd6db40a47e45cd23e61ff9268283e1aba3d..350040beeddf895a986b8e0d053152f8509ee916 100644
--- a/components/translate/content/renderer/BUILD.gn
+++ b/components/translate/content/renderer/BUILD.gn
@@ -6,6 +6,8 @@ import("//build/config/features.gni")
static_library("renderer") {
sources = [
+ "data_file_renderer_cld_data_provider.cc",
+ "data_file_renderer_cld_data_provider.h",
"renderer_cld_data_provider.cc",
"renderer_cld_data_provider.h",
"renderer_cld_data_provider_factory.cc",
@@ -25,15 +27,8 @@ static_library("renderer") {
"//content/public/renderer",
"//ipc",
"//third_party/WebKit/public:blink",
+ "//third_party/cld_2",
"//url",
"//v8",
]
-
- if (cld_version == 2) {
- sources += [
- "data_file_renderer_cld_data_provider.cc",
- "data_file_renderer_cld_data_provider.h",
- ]
- deps += [ "//third_party/cld_2" ]
- }
}
« no previous file with comments | « components/translate.gypi ('k') | components/translate/core/language_detection/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698