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

Unified Diff: build/common.gypi

Issue 11361051: Remove dependency on language detection library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using enable_language_detection feature flag Created 8 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/renderer/translate_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 569772f121f601f5e81c3740f79b2232c2df08b0..da4019d72bed01acc07422d0b783922c288d2595 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -286,6 +286,9 @@
# Enable browser automation.
'enable_automation%': 1,
+ # Enable language detection.
+ 'enable_language_detection%': 1,
+
# Enable printing support and UI.
'enable_printing%': 1,
@@ -459,6 +462,7 @@
['OS=="android"', {
'enable_extensions%': 0,
+ 'enable_language_detection%': 0,
'enable_printing%': 0,
'enable_themes%': 0,
'enable_webrtc%': 0,
@@ -471,6 +475,7 @@
'disable_ftp_support%': 1,
'enable_automation%': 0,
'enable_extensions%': 0,
+ 'enable_language_detection%': 0,
'enable_printing%': 0,
'enable_themes%': 0,
'enable_webrtc%': 0,
@@ -652,6 +657,7 @@
'test_isolation_outdir%': '<(test_isolation_outdir)',
'enable_automation%': '<(enable_automation)',
'enable_printing%': '<(enable_printing)',
+ 'enable_language_detection%': '<(enable_language_detection)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_ftp_support%': '<(disable_ftp_support)',
'enable_task_manager%': '<(enable_task_manager)',
@@ -1779,6 +1785,9 @@
['enable_automation==1', {
'defines': ['ENABLE_AUTOMATION=1'],
}],
+ ['enable_language_detection==1', {
+ 'defines': ['ENABLE_LANGUAGE_DETECTION=1'],
+ }],
['enable_printing==1', {
'defines': ['ENABLE_PRINTING=1'],
}],
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/renderer/translate_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698