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

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 merge error in chrome/browser/BUILD.gn 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 2b6197b4321321b5fec9211edb85cc46d5126720..d0820c7aa2b586db803269bacb0a8fcbd4971bed 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==2', {
+ 'chromium_child_dependencies': [
+ # Use whatever CLD2 data access mode that the application
+ # embedder is using.
+ '../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