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

Unified Diff: chrome/chrome.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: Fix linux/mac/windows compile issues 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: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index b7d4fce58e4bb475ad7ad16765df78681fbb0fc5..2ddeb21babeed31ede6ae26070f7221e4e34234e 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -39,6 +39,14 @@
'../content/content.gyp:content_ppapi_plugin',
'../third_party/WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resources',
],
+ 'conditions': [
+ [ 'cld_version==0 or cld_version==2', {
+ 'chromium_child_dependencies': [
+ # Use whatever CLD2 data access mode that the application
+ # embedder is using.
+ '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
+ }],
+ ],
}],
['enable_printing!=0', {
'chromium_browser_dependencies': [

Powered by Google App Engine
This is Rietveld 408576698