summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mini_installer.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/mini_installer.gyp')
-rw-r--r--chrome/installer/mini_installer.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/installer/mini_installer.gyp b/chrome/installer/mini_installer.gyp
index 70a607e..e0980db 100644
--- a/chrome/installer/mini_installer.gyp
+++ b/chrome/installer/mini_installer.gyp
@@ -213,6 +213,15 @@
'enable_metro_flag': '',
},
}],
+ ['component == "shared_library"', {
+ 'variables': {
+ 'component_build_flag': '--component_build=1',
+ },
+ }, {
+ 'variables': {
+ 'component_build_flag': '',
+ },
+ }],
],
'inputs': [
'<(create_installer_archive_py_path)',
@@ -241,6 +250,7 @@
'--resource_file_path', '<(INTERMEDIATE_DIR)/packed_files.rc',
'<(enable_hidpi_flag)',
'<(enable_metro_flag)',
+ '<(component_build_flag)',
# TODO(sgk): may just use environment variables
#'--distribution=$(CHROMIUM_BUILD)',
'--distribution=_google_chrome',