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

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: All remaining comments addressed Created 6 years, 2 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
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index f547c5f78b3ae17e6c3886800e7951c4924936de..f6e5d0e48dad9aa588ac3e52461476b288ac615e 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -476,6 +476,11 @@
'components.gyp:constrained_window',
]
}],
+ [ 'cld_version==2', {
+ 'dependencies': [
+ # Unit tests should always use statically-linked CLD data.
+ '../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