OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'version_py': '../../chrome/tools/build/version.py', | 3 'version_py': '../../chrome/tools/build/version.py', |
4 'version_path': '../../chrome/VERSION', | 4 'version_path': '../../chrome/VERSION', |
5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
6 # 'branding_dir' is set in the 'conditions' section at the bottom. | 6 # 'branding_dir' is set in the 'conditions' section at the bottom. |
7 'msvs_use_common_release': 0, | 7 'msvs_use_common_release': 0, |
8 'msvs_use_common_linker_extras': 0, | 8 'msvs_use_common_linker_extras': 0, |
9 }, | 9 }, |
10 'includes': [ | 10 'includes': [ |
11 '../../build/win_precompile.gypi', | 11 '../../build/win_precompile.gypi', |
12 ], | 12 ], |
13 'conditions': [ | 13 'conditions': [ |
14 ['OS=="win"', { | 14 ['OS=="win"', { |
15 'target_defaults': { | 15 'target_defaults': { |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../chrome.gyp:chrome', | 17 '../chrome.gyp:chrome', |
18 '../chrome.gyp:chrome_nacl_win64', | 18 '../chrome.gyp:chrome_nacl_win64', |
19 '../chrome.gyp:chrome_dll', | 19 '../chrome.gyp:chrome_dll', |
20 '../chrome.gyp:default_extensions', | 20 '../chrome.gyp:default_extensions', |
21 '../chrome.gyp:setup', | 21 '../chrome.gyp:setup', |
22 ], | 22 ], |
23 'include_dirs': [ | 23 'include_dirs': [ |
24 '../..', | 24 '../..', |
| 25 '<(PRODUCT_DIR)', |
25 '<(INTERMEDIATE_DIR)', | 26 '<(INTERMEDIATE_DIR)', |
26 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 27 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
27 ], | 28 ], |
28 'sources': [ | 29 'sources': [ |
29 'mini_installer/appid.h', | 30 'mini_installer/appid.h', |
30 'mini_installer/configuration.cc', | 31 'mini_installer/configuration.cc', |
31 'mini_installer/configuration.h', | 32 'mini_installer/configuration.h', |
32 'mini_installer/decompress.cc', | 33 'mini_installer/decompress.cc', |
33 'mini_installer/decompress.h', | 34 'mini_installer/decompress.h', |
34 'mini_installer/mini_installer.cc', | 35 'mini_installer/mini_installer.cc', |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', | 202 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', |
202 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | 203 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', |
203 '<(PRODUCT_DIR)/locales/en-US.pak', | 204 '<(PRODUCT_DIR)/locales/en-US.pak', |
204 '<(PRODUCT_DIR)/icudt.dll', | 205 '<(PRODUCT_DIR)/icudt.dll', |
205 ], | 206 ], |
206 'outputs': [ | 207 'outputs': [ |
207 'xxx.out', | 208 'xxx.out', |
208 '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).7z', | 209 '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).7z', |
209 '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).packed.7z', | 210 '<(PRODUCT_DIR)/<(RULE_INPUT_NAME).packed.7z', |
210 '<(PRODUCT_DIR)/setup.ex_', | 211 '<(PRODUCT_DIR)/setup.ex_', |
211 '<(INTERMEDIATE_DIR)/packed_files.rc', | 212 '<(PRODUCT_DIR)/packed_files.txt', |
212 ], | 213 ], |
213 'action': [ | 214 'action': [ |
214 'python', | 215 'python', |
215 '<(create_installer_archive_py_path)', | 216 '<(create_installer_archive_py_path)', |
216 '--build_dir', '<(PRODUCT_DIR)', | 217 '--output_dir=<(PRODUCT_DIR)', |
217 '--staging_dir', '<(INTERMEDIATE_DIR)', | 218 '--input_file=<(RULE_INPUT_PATH)', |
218 '--input_file', '<(RULE_INPUT_PATH)', | |
219 '--resource_file_path', '<(INTERMEDIATE_DIR)/packed_files.rc', | |
220 # TODO(sgk): may just use environment variables | 219 # TODO(sgk): may just use environment variables |
221 #'--distribution=$(CHROMIUM_BUILD)', | 220 #'--distribution=$(CHROMIUM_BUILD)', |
222 '--distribution=_google_chrome', | 221 '--distribution=_google_chrome', |
223 # Optional arguments to generate diff installer | 222 # Optional arguments to generate diff installer |
224 #'--last_chrome_installer=C:/Temp/base', | 223 #'--last_chrome_installer=C:/Temp/base', |
225 #'--setup_exe_format=DIFF', | 224 #'--setup_exe_format=DIFF', |
226 #'--diff_algorithm=COURGETTE', | 225 #'--diff_algorithm=COURGETTE', |
227 ], | 226 ], |
228 'message': 'Create installer archive' | 227 'message': 'Create installer archive' |
229 }, | 228 }, |
230 ], | 229 ], |
231 }, | 230 }, |
232 ], | 231 ], |
233 }], | 232 }], |
234 [ 'branding == "Chrome"', { | 233 [ 'branding == "Chrome"', { |
235 'variables': { | 234 'variables': { |
236 'branding_dir': '../app/theme/google_chrome', | 235 'branding_dir': '../app/theme/google_chrome', |
237 }, | 236 }, |
238 }, { # else branding!="Chrome" | 237 }, { # else branding!="Chrome" |
239 'variables': { | 238 'variables': { |
240 'branding_dir': '../app/theme/chromium', | 239 'branding_dir': '../app/theme/chromium', |
241 }, | 240 }, |
242 }], | 241 }], |
243 ], | 242 ], |
244 } | 243 } |
OLD | NEW |