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

Unified Diff: components/components_tests.gyp

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 1 month 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/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 87730603624fb31ecf6b4a2c90944c0ed6e966d3..e76ee7dd3ece452960ca910509ea7991ddbd9330 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -481,6 +481,11 @@
'<(DEPTH)/base/allocator/allocator.gyp:allocator',
],
}],
+ [ 'cld_version==0 or cld_version==2', {
+ 'dependencies': [
+ # Unit tests should always use statically-linked CLD data.
+ '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
+ }],
['OS != "ios"', {
'sources': [
'autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc',

Powered by Google App Engine
This is Rietveld 408576698