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

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: Make some of the harness factory methods private 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
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | components/translate.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 76b656a94158a6431e2f48480bb008e496294341..d936b7b9550d470bfd54333a7f422ae16f182ae7 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -483,6 +483,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',
« no previous file with comments | « chrome/test/base/chrome_unit_test_suite.cc ('k') | components/translate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698