summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorandrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 11:27:19 +0000
committerandrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-30 11:27:19 +0000
commitfb53e6560669a1b4753c9d603d54103535cef824 (patch)
tree0c8f1a3670b16527fa01699509249f5eb5e3137f /build
parent10955d3b8976ffb9a2aada7f135798c5171fc424 (diff)
downloadchromium_src-fb53e6560669a1b4753c9d603d54103535cef824.zip
chromium_src-fb53e6560669a1b4753c9d603d54103535cef824.tar.gz
chromium_src-fb53e6560669a1b4753c9d603d54103535cef824.tar.bz2
Add a component updater for the CLD2 data file.
BUG=326023,367239 Review URL: https://codereview.chromium.org/216923006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index df2858e..9fae86e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -446,6 +446,14 @@
# be loaded at runtime.
'cld2_dynamic%': 0,
+ # Whether CLD2 is a component. Only evaluated if cld_version == 2 and
+ # cld2_dynamic == 1.
+ # 0: Not a component. If cld2_dynamic == 1, it is up to the distribution
+ # to ensure that the data file is provided if desired.
+ # 1: Componentized. CLD data should be obtained via the Component
+ # Updater.
+ 'cld2_is_component%': 0,
+
# Enable spell checker.
'enable_spellcheck%': 1,
@@ -646,6 +654,7 @@
'enable_google_now%': 0,
'cld_version%': 1,
'cld2_dynamic%': 0,
+ 'cld2_is_component%': 0,
'enable_spellcheck%': 0,
'enable_themes%': 0,
'remoting%': 0,
@@ -1015,6 +1024,7 @@
'cld_version%': '<(cld_version)',
'cld2_table_size%': '<(cld2_table_size)',
'cld2_dynamic%': '<(cld2_dynamic)',
+ 'cld2_is_component%': '<(cld2_is_component)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_ftp_support%': '<(disable_ftp_support)',
'enable_task_manager%': '<(enable_task_manager)',
@@ -2562,6 +2572,9 @@
['cld2_dynamic!=0', {
'defines': ['CLD2_DYNAMIC_MODE=1'],
}],
+ ['cld2_is_component!=0', {
+ 'defines': ['CLD2_IS_COMPONENT=1'],
+ }],
['enable_printing==1', {
'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
}],