| 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 }, | 7 }, |
| 8 'includes': [ | 8 'includes': [ |
| 9 # Two versions of installer_util target are defined in installer_util.gypi. | 9 # Two versions of installer_util target are defined in installer_util.gypi. |
| 10 # This allows to keep all the settings relevant to these targets in one | 10 # This allows to keep all the settings relevant to these targets in one |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 { | 169 { |
| 170 'target_name': 'setup', | 170 'target_name': 'setup', |
| 171 'type': 'executable', | 171 'type': 'executable', |
| 172 'msvs_guid': '21C76E6E-8B38-44D6-8148-B589C13B9554', | 172 'msvs_guid': '21C76E6E-8B38-44D6-8148-B589C13B9554', |
| 173 'dependencies': [ | 173 'dependencies': [ |
| 174 'installer_util', | 174 'installer_util', |
| 175 'installer_util_strings', | 175 'installer_util_strings', |
| 176 '../../build/util/build_util.gyp:lastchange', | 176 '../../build/util/build_util.gyp:lastchange', |
| 177 '../../build/util/support/support.gyp:*', | 177 '../../build/util/support/support.gyp:*', |
| 178 '../../build/win/system.gyp:cygwin', | 178 '../../build/win/system.gyp:cygwin', |
| 179 '../../chrome_frame/chrome_frame.gyp:npchrome_frame', |
| 179 ], | 180 ], |
| 180 'include_dirs': [ | 181 'include_dirs': [ |
| 181 '../..', | 182 '../..', |
| 182 '<(INTERMEDIATE_DIR)', | 183 '<(INTERMEDIATE_DIR)', |
| 183 '<(SHARED_INTERMEDIATE_DIR)/setup', | 184 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 184 ], | 185 ], |
| 185 'direct_dependent_settings': { | 186 'direct_dependent_settings': { |
| 186 'include_dirs': [ | 187 'include_dirs': [ |
| 187 '<(SHARED_INTERMEDIATE_DIR)/setup', | 188 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 188 ], | 189 ], |
| 189 }, | 190 }, |
| 190 'sources': [ | 191 'sources': [ |
| 191 'mini_installer/chrome.release', | 192 'mini_installer/chrome_frame.release', |
| 192 'setup/install.cc', | 193 'setup/install.cc', |
| 193 'setup/install.h', | 194 'setup/install.h', |
| 194 'setup/setup_main.cc', | 195 'setup/setup_main.cc', |
| 195 'setup/setup.ico', | 196 'setup/setup.ico', |
| 196 'setup/setup.rc', | 197 'setup/setup.rc', |
| 197 'setup/setup_constants.cc', | 198 'setup/setup_constants.cc', |
| 198 'setup/setup_constants.h', | 199 'setup/setup_constants.h', |
| 199 'setup/setup_exe_version.rc.version', | 200 'setup/setup_exe_version.rc.version', |
| 200 'setup/setup_resource.h', | 201 'setup/setup_resource.h', |
| 201 'setup/setup_util.cc', | 202 'setup/setup_util.cc', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 '<@(_outputs)', | 238 '<@(_outputs)', |
| 238 ], | 239 ], |
| 239 'process_outputs_as_sources': 1, | 240 'process_outputs_as_sources': 1, |
| 240 'message': 'Generating version information' | 241 'message': 'Generating version information' |
| 241 }, | 242 }, |
| 242 { | 243 { |
| 243 'rule_name': 'server_dlls', | 244 'rule_name': 'server_dlls', |
| 244 'extension': 'release', | 245 'extension': 'release', |
| 245 'variables': { | 246 'variables': { |
| 246 'scan_server_dlls_py' : '../tools/build/win/scan_server_dlls.py'
, | 247 'scan_server_dlls_py' : '../tools/build/win/scan_server_dlls.py'
, |
| 248 'template_file': 'mini_installer/chrome_frame.release', |
| 247 }, | 249 }, |
| 248 'inputs': [ | 250 'inputs': [ |
| 249 '<scan_server_dlls_py)', | 251 '<(scan_server_dlls_py)', |
| 252 '<(template_file)' |
| 250 ], | 253 ], |
| 251 'outputs': [ | 254 'outputs': [ |
| 252 '<(INTERMEDIATE_DIR)/registered_dlls.h', | 255 '<(INTERMEDIATE_DIR)/registered_dlls.h', |
| 253 ], | 256 ], |
| 254 'action': [ | 257 'action': [ |
| 255 'python', | 258 'python', |
| 256 '<(scan_server_dlls_py)', | 259 '<(scan_server_dlls_py)', |
| 257 '--output_dir=<(PRODUCT_DIR)', | 260 '--output_dir=<(PRODUCT_DIR)', |
| 258 '--input_file=<(RULE_INPUT_PATH)', | 261 '--input_file=<(RULE_INPUT_PATH)', |
| 259 '--header_output_dir=<(INTERMEDIATE_DIR)', | 262 '--header_output_dir=<(INTERMEDIATE_DIR)', |
| 260 # TODO(sgk): may just use environment variables | 263 # TODO(sgk): may just use environment variables |
| 261 #'--distribution=$(CHROMIUM_BUILD)', | 264 #'--distribution=$(CHROMIUM_BUILD)', |
| 262 '--distribution=_google_chrome', | 265 '--distribution=_google_chrome', |
| 263 ], | 266 ], |
| 264 }, | 267 }, |
| 265 ], | 268 ], |
| 266 'conditions': [ | 269 'conditions': [ |
| 267 ['chrome_frame_define==1', { | |
| 268 'dependencies': [ | |
| 269 '../../chrome_frame/chrome_frame.gyp:npchrome_frame', | |
| 270 ], | |
| 271 }], | |
| 272 # TODO(mark): <(branding_dir) should be defined by the | 270 # TODO(mark): <(branding_dir) should be defined by the |
| 273 # global condition block at the bottom of the file, but | 271 # global condition block at the bottom of the file, but |
| 274 # this doesn't work due to the following issue: | 272 # this doesn't work due to the following issue: |
| 275 # | 273 # |
| 276 # http://code.google.com/p/gyp/issues/detail?id=22 | 274 # http://code.google.com/p/gyp/issues/detail?id=22 |
| 277 # | 275 # |
| 278 # Remove this block once the above issue is fixed. | 276 # Remove this block once the above issue is fixed. |
| 279 [ 'branding == "Chrome"', { | 277 [ 'branding == "Chrome"', { |
| 280 'variables': { | 278 'variables': { |
| 281 'branding_dir': '../app/theme/google_chrome', | 279 'branding_dir': '../app/theme/google_chrome', |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 }, | 755 }, |
| 758 }], | 756 }], |
| 759 ], | 757 ], |
| 760 } | 758 } |
| 761 | 759 |
| 762 # Local Variables: | 760 # Local Variables: |
| 763 # tab-width:2 | 761 # tab-width:2 |
| 764 # indent-tabs-mode:nil | 762 # indent-tabs-mode:nil |
| 765 # End: | 763 # End: |
| 766 # vim: set expandtab tabstop=2 shiftwidth=2: | 764 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |