|
Delete the non-static CLD data source logic.
This obviates the following instructions, which also explain the
concept:
https://www.chromium.org/developers/how-tos/compact-language-detector-cld-data-source-configuration
Basically, nobody ever used the non-static CLD data source and it was a
bunch of dead code hanging around that needed to be maintained. There is
no plan to use anything other than static linking for CLD at this point.
CLD2 is in maintenance mode at this point and will not be receiving any
further improvements. As we look to its replacement, the first step is
to simplify all the code for dealing with CLD.
This is a spiritual revert of this old CL:
https://codereview.chromium.org/461633002/
It was impossible to directly revert due to changes that have entered
the codebase over the past 18 months, but in principle undoes it all.
BUG= 367239
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/1e7cf43d74e1343cb4ad64901297040a2cfdfef0
Cr-Commit-Position: refs/heads/master@{#398851}
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+8 lines, -3015 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/android/chrome_apk.gyp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
chrome/browser/component_updater/cld_component_installer.h
|
View
|
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
|
D |
chrome/browser/component_updater/cld_component_installer.cc
|
View
|
|
1 chunk |
+0 lines, -149 lines |
0 comments
|
Download
|
|
D |
chrome/browser/component_updater/cld_component_installer_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -140 lines |
0 comments
|
Download
|
|
M |
chrome/browser/policy/policy_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/chromeos/chromevox/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/translate_internals/prefs.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/translate/chrome_translate_client.cc
|
View
|
|
3 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/cld_data_harness.h
|
View
|
|
1 chunk |
+0 lines, -113 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/cld_data_harness.cc
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/cld_data_harness_factory.h
|
View
|
|
1 chunk |
+0 lines, -76 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/cld_data_harness_factory.cc
|
View
|
|
1 chunk |
+0 lines, -107 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/component_cld_data_harness.h
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/component_cld_data_harness.cc
|
View
|
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/standalone_cld_data_harness.h
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
D |
chrome/browser/translate/standalone_cld_data_harness.cc
|
View
|
|
1 chunk |
+0 lines, -76 lines |
0 comments
|
Download
|
|
M |
chrome/browser/translate/translate_manager_browsertest.cc
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/browser_browsertest.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc
|
View
|
1
2
6
|
2 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/chrome.gyp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_dll.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
|
M |
chrome/test/base/chrome_unit_test_suite.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
components/translate.gypi
|
View
|
|
3 chunks |
+0 lines, -20 lines |
0 comments
|
Download
|
|
M |
components/translate/content/browser/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_data_provider.h
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_data_provider.cc
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_data_provider_factory.h
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_data_provider_factory.cc
|
View
|
|
1 chunk |
+0 lines, -59 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_utils.h
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/browser_cld_utils.cc
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
M |
components/translate/content/browser/content_translate_driver.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/translate/content/browser/content_translate_driver.cc
|
View
|
|
3 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/data_file_browser_cld_data_provider.h
|
View
|
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
|
D |
components/translate/content/browser/data_file_browser_cld_data_provider.cc
|
View
|
|
1 chunk |
+0 lines, -242 lines |
0 comments
|
Download
|
|
M |
components/translate/content/common/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
D |
components/translate/content/common/cld_data_source.h
|
View
|
|
1 chunk |
+0 lines, -135 lines |
0 comments
|
Download
|
|
D |
components/translate/content/common/cld_data_source.cc
|
View
|
|
1 chunk |
+0 lines, -112 lines |
0 comments
|
Download
|
|
D |
components/translate/content/common/data_file_cld_data_provider_messages.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
|
D |
components/translate/content/common/data_file_cld_data_provider_messages.cc
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
|
M |
components/translate/content/renderer/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/data_file_renderer_cld_data_provider.h
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/data_file_renderer_cld_data_provider.cc
|
View
|
|
1 chunk |
+0 lines, -126 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_data_provider.h
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_data_provider.cc
|
View
|
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_data_provider_factory.h
|
View
|
|
1 chunk |
+0 lines, -74 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_data_provider_factory.cc
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_utils.h
|
View
|
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
|
D |
components/translate/content/renderer/renderer_cld_utils.cc
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
components/translate/content/renderer/translate_helper.h
|
View
|
1
2
|
5 chunks |
+0 lines, -84 lines |
0 comments
|
Download
|
|
M |
components/translate/content/renderer/translate_helper.cc
|
View
|
1
2
|
9 chunks |
+0 lines, -154 lines |
0 comments
|
Download
|
|
M |
components/translate/core/language_detection/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/extensions.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/shell/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/shell/app_shell.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/cld_2/BUILD.gn
|
View
|
|
4 chunks |
+2 lines, -96 lines |
0 comments
|
Download
|
|
M |
third_party/cld_2/cld_2.gyp
|
View
|
1
|
4 chunks |
+0 lines, -95 lines |
0 comments
|
Download
|
|
M |
tools/ipc_fuzzer/message_tools/message_list.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 26 (11 generated)
|