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

Unified Diff: chrome/chrome_tests_unit.gypi

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: chrome/chrome_tests_unit.gypi
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi
index 28ca1ba25af80b09f26c0a48025db0a3eb125517..7d9f569b12438e7071c35e085e560d96fd50ee56 100644
--- a/chrome/chrome_tests_unit.gypi
+++ b/chrome/chrome_tests_unit.gypi
@@ -2349,6 +2349,12 @@
'../ui/events/devices/events_devices.gyp:events_devices',
],
}],
+ [ 'cld_version==0 or cld_version==2', {
+ 'dependencies': [
+ # Unit tests should be independent of the CLD2 access mechanism,
+ # just use static for simplicity.
+ '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
+ }],
['OS=="linux"', {
'dependencies': [
'../build/linux/system.gyp:ssl',
@@ -2744,7 +2750,7 @@
'browser/extensions/blacklist_unittest.cc',
],
}],
- ['cld_version==0 or cld_version==1', {
+ ['cld_version==1', {
'defines': [
'CLD_WINDOWS',
],

Powered by Google App Engine
This is Rietveld 408576698