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

Unified Diff: chrome/installer/mini_installer.gyp

Issue 9701050: Make setup.exe compatible with the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment nits Created 8 years, 7 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/installer/mini_installer.gyp
diff --git a/chrome/installer/mini_installer.gyp b/chrome/installer/mini_installer.gyp
index 70a607ebe39fed4af5e796ff9f71fe0daef641df..e0980db6a46c341a97cc3fb89d66dbc063f6e582 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',

Powered by Google App Engine
This is Rietveld 408576698