| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 1 { | 5 { |
| 2 'variables': { | 6 'variables': { |
| 3 'version_py': '../../chrome/tools/build/version.py', | |
| 4 'version_path': '../../chrome/VERSION', | |
| 5 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 7 'lastchange_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
| 6 # 'branding_dir' is set in the 'conditions' section at the bottom. | 8 # 'branding_dir' is set in the 'conditions' section at the bottom. |
| 7 }, | 9 }, |
| 8 'includes': [ | |
| 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 | |
| 11 # place. | |
| 12 'installer_util.gypi', | |
| 13 ], | |
| 14 'conditions': [ | 10 'conditions': [ |
| 15 ['OS=="win"', { | 11 ['OS=="win"', { |
| 16 'targets': [ | 12 'targets': [ |
| 17 { | 13 { |
| 18 'target_name': 'gcapi_dll', | 14 'target_name': 'gcapi_dll', |
| 19 'type': 'loadable_module', | 15 'type': 'loadable_module', |
| 20 'msvs_guid': 'B802A2FE-E4E2-4F5A-905A-D5128875C954', | 16 'msvs_guid': 'B802A2FE-E4E2-4F5A-905A-D5128875C954', |
| 21 'dependencies': [ | 17 'dependencies': [ |
| 22 '../../google_update/google_update.gyp:google_update', | 18 '<(DEPTH)/google_update/google_update.gyp:google_update', |
| 23 ], | 19 ], |
| 24 'include_dirs': [ | 20 'include_dirs': [ |
| 25 '../..', | 21 '<(DEPTH)', |
| 26 ], | 22 ], |
| 27 'sources': [ | 23 'sources': [ |
| 28 'gcapi/gcapi.cc', | 24 'installer/gcapi/gcapi.cc', |
| 29 'gcapi/gcapi.h', | 25 'installer/gcapi/gcapi.h', |
| 30 ], | 26 ], |
| 31 }, | 27 }, |
| 32 { | 28 { |
| 33 'target_name': 'gcapi_lib', | 29 'target_name': 'gcapi_lib', |
| 34 'type': 'static_library', | 30 'type': 'static_library', |
| 35 'msvs_guid': 'CD2FD73A-6AAB-4886-B887-760D18E8B635', | 31 'msvs_guid': 'CD2FD73A-6AAB-4886-B887-760D18E8B635', |
| 36 'dependencies': [ | 32 'dependencies': [ |
| 37 '../../google_update/google_update.gyp:google_update', | 33 '<(DEPTH)/google_update/google_update.gyp:google_update', |
| 38 ], | 34 ], |
| 39 'include_dirs': [ | 35 'include_dirs': [ |
| 40 '../..', | 36 '<(DEPTH)', |
| 41 ], | 37 ], |
| 42 'sources': [ | 38 'sources': [ |
| 43 'gcapi/gcapi.cc', | 39 'installer/gcapi/gcapi.cc', |
| 44 'gcapi/gcapi.h', | 40 'installer/gcapi/gcapi.h', |
| 45 ], | 41 ], |
| 46 }, | 42 }, |
| 47 { | 43 { |
| 48 'target_name': 'gcapi_test', | 44 'target_name': 'gcapi_test', |
| 49 'type': 'executable', | 45 'type': 'executable', |
| 50 'msvs_guid': 'B64B396B-8EF1-4B6B-A07E-48D40EB961AB', | 46 'msvs_guid': 'B64B396B-8EF1-4B6B-A07E-48D40EB961AB', |
| 51 'dependencies': [ | 47 'dependencies': [ |
| 52 'gcapi_dll', | 48 'gcapi_dll', |
| 53 'gcapi_lib', | 49 'gcapi_lib', |
| 54 ], | 50 ], |
| 55 'include_dirs': [ | 51 'include_dirs': [ |
| 56 '../..', | 52 '<(DEPTH)', |
| 57 ], | 53 ], |
| 58 'sources': [ | 54 'sources': [ |
| 59 'gcapi/gcapi_test.cc', | 55 'installer/gcapi/gcapi_test.cc', |
| 60 'gcapi/gcapi_test.rc', | 56 'installer/gcapi/gcapi_test.rc', |
| 61 'gcapi/resource.h', | 57 'installer/gcapi/resource.h', |
| 62 ], | 58 ], |
| 63 }, | 59 }, |
| 64 { | 60 { |
| 65 'target_name': 'installer_util_unittests', | 61 'target_name': 'installer_util_unittests', |
| 66 'type': 'executable', | 62 'type': 'executable', |
| 67 'msvs_guid': '903F8C1E-537A-4C9E-97BE-075147CBE769', | 63 'msvs_guid': '903F8C1E-537A-4C9E-97BE-075147CBE769', |
| 68 'dependencies': [ | 64 'dependencies': [ |
| 69 'installer_util', | 65 'installer_util', |
| 70 'installer_util_strings', | 66 'installer_util_strings', |
| 71 '../../base/base.gyp:base', | 67 '<(DEPTH)/base/base.gyp:base', |
| 72 '../../base/base.gyp:base_i18n', | 68 '<(DEPTH)/base/base.gyp:base_i18n', |
| 73 '../../build/temp_gyp/googleurl.gyp:googleurl', | 69 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 74 '../../testing/gtest.gyp:gtest', | 70 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 75 ], | 71 ], |
| 76 'include_dirs': [ | 72 'include_dirs': [ |
| 77 '../..', | 73 '<(DEPTH)', |
| 78 ], | 74 ], |
| 79 'sources': [ | 75 'sources': [ |
| 80 'setup/compat_checks_unittest.cc', | 76 'installer/setup/compat_checks_unittest.cc', |
| 81 'setup/setup_constants.cc', | 77 'installer/setup/setup_constants.cc', |
| 82 'util/browser_distribution_unittest.cc', | 78 'installer/util/browser_distribution_unittest.cc', |
| 83 'util/copy_tree_work_item_unittest.cc', | 79 'installer/util/copy_tree_work_item_unittest.cc', |
| 84 'util/create_dir_work_item_unittest.cc', | 80 'installer/util/create_dir_work_item_unittest.cc', |
| 85 'util/create_reg_key_work_item_unittest.cc', | 81 'installer/util/create_reg_key_work_item_unittest.cc', |
| 86 'util/delete_after_reboot_helper_unittest.cc', | 82 'installer/util/delete_after_reboot_helper_unittest.cc', |
| 87 'util/delete_reg_value_work_item_unittest.cc', | 83 'installer/util/delete_reg_value_work_item_unittest.cc', |
| 88 'util/delete_tree_work_item_unittest.cc', | 84 'installer/util/delete_tree_work_item_unittest.cc', |
| 89 'util/google_chrome_distribution_unittest.cc', | 85 'installer/util/google_chrome_distribution_unittest.cc', |
| 90 'util/google_update_settings_unittest.cc', | 86 'installer/util/google_update_settings_unittest.cc', |
| 91 'util/helper_unittest.cc', | 87 'installer/util/helper_unittest.cc', |
| 92 'util/installer_util_unittests.rc', | 88 'installer/util/installer_util_unittests.rc', |
| 93 'util/installer_util_unittests_resource.h', | 89 'installer/util/installer_util_unittests_resource.h', |
| 94 'util/lzma_util_unittest.cc', | 90 'installer/util/lzma_util_unittest.cc', |
| 95 'util/master_preferences_unittest.cc', | 91 'installer/util/master_preferences_unittest.cc', |
| 96 'util/move_tree_work_item_unittest.cc', | 92 'installer/util/move_tree_work_item_unittest.cc', |
| 97 'util/run_all_unittests.cc', | 93 'installer/util/run_all_unittests.cc', |
| 98 'util/set_reg_value_work_item_unittest.cc', | 94 'installer/util/set_reg_value_work_item_unittest.cc', |
| 99 'util/shell_util_unittest.cc', | 95 'installer/util/shell_util_unittest.cc', |
| 100 'util/work_item_list_unittest.cc', | 96 'installer/util/work_item_list_unittest.cc', |
| 101 'util/version_unittest.cc', | 97 'installer/util/version_unittest.cc', |
| 102 ], | 98 ], |
| 103 'msvs_settings': { | 99 'msvs_settings': { |
| 104 'VCManifestTool': { | 100 'VCManifestTool': { |
| 105 'AdditionalManifestFiles': '$(ProjectDir)\\mini_installer\\mini_in
staller.exe.manifest', | 101 'AdditionalManifestFiles': '$(ProjectDir)\\mini_installer\\mini_in
staller.exe.manifest', |
| 106 }, | 102 }, |
| 107 }, | 103 }, |
| 108 }, | 104 }, |
| 109 { | 105 { |
| 110 'target_name': 'installer_util_strings', | 106 'target_name': 'installer_util_strings', |
| 111 'msvs_guid': '0026A376-C4F1-4575-A1BA-578C69F07013', | 107 'msvs_guid': '0026A376-C4F1-4575-A1BA-578C69F07013', |
| 112 'type': 'none', | 108 'type': 'none', |
| 113 'rules': [ | 109 'rules': [ |
| 114 { | 110 { |
| 115 'rule_name': 'installer_util_strings', | 111 'rule_name': 'installer_util_strings', |
| 116 'extension': 'grd', | 112 'extension': 'grd', |
| 117 'inputs': [ | 113 'inputs': [ |
| 118 '<(RULE_INPUT_PATH)', | 114 '<(RULE_INPUT_PATH)', |
| 119 ], | 115 ], |
| 120 'outputs': [ | 116 'outputs': [ |
| 121 # Don't use <(RULE_INPUT_ROOT) to create the output file | 117 # Don't use <(RULE_INPUT_ROOT) to create the output file |
| 122 # name, because the base name of the input | 118 # name, because the base name of the input |
| 123 # (generated_resources.grd) doesn't match the generated file | 119 # (generated_resources.grd) doesn't match the generated file |
| 124 # (installer_util_strings.h). | 120 # (installer_util_strings.h). |
| 125 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings/installer_uti
l_strings.h', | 121 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings/installer_uti
l_strings.h', |
| 126 ], | 122 ], |
| 127 'action': ['python', | 123 'action': ['python', |
| 128 'util/prebuild/create_string_rc.py', | 124 'installer/util/prebuild/create_string_rc.py', |
| 129 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings', | 125 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings', |
| 130 '<(branding)',], | 126 '<(branding)',], |
| 131 'message': 'Generating resources from <(RULE_INPUT_PATH)', | 127 'message': 'Generating resources from <(RULE_INPUT_PATH)', |
| 132 }, | 128 }, |
| 133 ], | 129 ], |
| 134 'sources': [ | 130 'sources': [ |
| 135 '../app/chromium_strings.grd', | 131 'installer/app/chromium_strings.grd', |
| 136 ], | 132 ], |
| 137 'direct_dependent_settings': { | 133 'direct_dependent_settings': { |
| 138 'include_dirs': [ | 134 'include_dirs': [ |
| 139 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings', | 135 '<(SHARED_INTERMEDIATE_DIR)/installer_util_strings', |
| 140 ], | 136 ], |
| 141 }, | 137 }, |
| 142 }, | 138 }, |
| 143 { | 139 { |
| 144 'target_name': 'mini_installer_test', | 140 'target_name': 'mini_installer_test', |
| 145 'type': 'executable', | 141 'type': 'executable', |
| 146 'msvs_guid': '4B6E199A-034A-49BD-AB93-458DD37E45B1', | 142 'msvs_guid': '4B6E199A-034A-49BD-AB93-458DD37E45B1', |
| 147 'dependencies': [ | 143 'dependencies': [ |
| 148 'installer_util', | 144 'installer_util', |
| 149 '../../base/base.gyp:base', | 145 '<(DEPTH)/base/base.gyp:base', |
| 150 '../../base/base.gyp:base_i18n', | 146 '<(DEPTH)/base/base.gyp:base_i18n', |
| 151 '../../testing/gtest.gyp:gtest', | 147 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 152 ], | 148 ], |
| 153 'include_dirs': [ | 149 'include_dirs': [ |
| 154 '../..', | 150 '<(DEPTH)', |
| 155 ], | 151 ], |
| 156 'sources': [ | 152 'sources': [ |
| 157 '../test/mini_installer_test/run_all_unittests.cc', | 153 'installer/test/mini_installer_test/run_all_unittests.cc', |
| 158 '../test/mini_installer_test/chrome_mini_installer.cc', | 154 'installer/test/mini_installer_test/chrome_mini_installer.cc', |
| 159 '../test/mini_installer_test/chrome_mini_installer.h', | 155 'installer/test/mini_installer_test/chrome_mini_installer.h', |
| 160 '../test/mini_installer_test/mini_installer_test_constants.cc', | 156 'installer/test/mini_installer_test/mini_installer_test_constants.cc
', |
| 161 '../test/mini_installer_test/mini_installer_test_constants.h', | 157 'installer/test/mini_installer_test/mini_installer_test_constants.h'
, |
| 162 '../test/mini_installer_test/mini_installer_test_util.cc', | 158 'installer/test/mini_installer_test/mini_installer_test_util.cc', |
| 163 '../test/mini_installer_test/mini_installer_test_util.h', | 159 'installer/test/mini_installer_test/mini_installer_test_util.h', |
| 164 '../test/mini_installer_test/test.cc', | 160 'installer/test/mini_installer_test/test.cc', |
| 165 ], | 161 ], |
| 166 'msvs_settings': { | 162 'msvs_settings': { |
| 167 'VCManifestTool': { | 163 'VCManifestTool': { |
| 168 'AdditionalManifestFiles': '$(ProjectDir)\\mini_installer\\mini_in
staller.exe.manifest', | 164 'AdditionalManifestFiles': '$(ProjectDir)\\mini_installer\\mini_in
staller.exe.manifest', |
| 169 }, | 165 }, |
| 170 }, | 166 }, |
| 171 }, | 167 }, |
| 172 { | 168 { |
| 173 'target_name': 'setup', | 169 'target_name': 'setup', |
| 174 'type': 'executable', | 170 'type': 'executable', |
| 175 'msvs_guid': '21C76E6E-8B38-44D6-8148-B589C13B9554', | 171 'msvs_guid': '21C76E6E-8B38-44D6-8148-B589C13B9554', |
| 176 'dependencies': [ | 172 'dependencies': [ |
| 177 'installer_util', | 173 'installer_util', |
| 178 'installer_util_strings', | 174 'installer_util_strings', |
| 179 '../../build/temp_gyp/googleurl.gyp:googleurl', | 175 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 180 '../../build/util/build_util.gyp:lastchange', | 176 '<(DEPTH)/build/util/build_util.gyp:lastchange', |
| 181 '../../build/util/support/support.gyp:*', | 177 '<(DEPTH)/build/util/support/support.gyp:*', |
| 182 '../../build/win/system.gyp:cygwin', | 178 '<(DEPTH)/build/win/system.gyp:cygwin', |
| 183 '../../chrome_frame/chrome_frame.gyp:npchrome_frame', | 179 '<(DEPTH)/chrome_frame/chrome_frame.gyp:npchrome_frame', |
| 184 ], | 180 ], |
| 185 'include_dirs': [ | 181 'include_dirs': [ |
| 186 '../..', | 182 '<(DEPTH)', |
| 187 '<(INTERMEDIATE_DIR)', | 183 '<(INTERMEDIATE_DIR)', |
| 188 '<(SHARED_INTERMEDIATE_DIR)/setup', | 184 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 189 ], | 185 ], |
| 190 'direct_dependent_settings': { | 186 'direct_dependent_settings': { |
| 191 'include_dirs': [ | 187 'include_dirs': [ |
| 192 '<(SHARED_INTERMEDIATE_DIR)/setup', | 188 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 193 ], | 189 ], |
| 194 }, | 190 }, |
| 195 'sources': [ | 191 'sources': [ |
| 196 'mini_installer/chrome_frame.release', | 192 'installer/mini_installer/chrome_frame.release', |
| 197 'setup/install.cc', | 193 'installer/setup/install.cc', |
| 198 'setup/install.h', | 194 'installer/setup/install.h', |
| 199 'setup/setup_main.cc', | 195 'installer/setup/setup_main.cc', |
| 200 'setup/setup.ico', | 196 'installer/setup/setup.ico', |
| 201 'setup/setup.rc', | 197 'installer/setup/setup.rc', |
| 202 'setup/setup_constants.cc', | 198 'installer/setup/setup_constants.cc', |
| 203 'setup/setup_constants.h', | 199 'installer/setup/setup_constants.h', |
| 204 'setup/setup_exe_version.rc.version', | 200 'installer/setup/setup_exe_version.rc.version', |
| 205 'setup/setup_resource.h', | 201 'installer/setup/setup_resource.h', |
| 206 'setup/setup_util.cc', | 202 'installer/setup/setup_util.cc', |
| 207 'setup/setup_util.h', | 203 'installer/setup/setup_util.h', |
| 208 'setup/uninstall.cc', | 204 'installer/setup/uninstall.cc', |
| 209 'setup/uninstall.h', | 205 'installer/setup/uninstall.h', |
| 210 ], | 206 ], |
| 211 'msvs_settings': { | 207 'msvs_settings': { |
| 212 'VCLinkerTool': { | 208 'VCLinkerTool': { |
| 213 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 209 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 214 }, | 210 }, |
| 215 'VCManifestTool': { | 211 'VCManifestTool': { |
| 216 'AdditionalManifestFiles': '$(ProjectDir)\\setup\\setup.exe.manife
st', | 212 'AdditionalManifestFiles': '$(ProjectDir)\\setup\\setup.exe.manife
st', |
| 217 }, | 213 }, |
| 218 }, | 214 }, |
| 219 'rules': [ | 215 'rules': [ |
| 220 { | 216 { |
| 221 'rule_name': 'setup_version', | 217 'rule_name': 'setup_version', |
| 222 'extension': 'version', | 218 'extension': 'version', |
| 223 'variables': { | 219 'variables': { |
| 224 'version_py': '../../chrome/tools/build/version.py', | 220 'version_py_path': '<(DEPTH)/chrome/tools/build/version.py', |
| 225 'template_input_path': 'setup/setup_exe_version.rc.version', | 221 'template_input_path': 'installer/setup/setup_exe_version.rc.ver
sion', |
| 226 }, | 222 }, |
| 227 'inputs': [ | 223 'inputs': [ |
| 228 '<(template_input_path)', | 224 '<(template_input_path)', |
| 229 '<(version_path)', | 225 '<(version_path)', |
| 230 '<(lastchange_path)', | 226 '<(lastchange_path)', |
| 231 '<(branding_dir)/BRANDING', | 227 '<(branding_dir)/BRANDING', |
| 232 ], | 228 ], |
| 233 'outputs': [ | 229 'outputs': [ |
| 234 '<(SHARED_INTERMEDIATE_DIR)/setup/setup_exe_version.rc', | 230 '<(SHARED_INTERMEDIATE_DIR)/setup/setup_exe_version.rc', |
| 235 ], | 231 ], |
| 236 'action': [ | 232 'action': [ |
| 237 'python', '<(version_py)', | 233 'python', '<(version_py_path)', |
| 238 '-f', '<(version_path)', | 234 '-f', '<(version_path)', |
| 239 '-f', '<(lastchange_path)', | 235 '-f', '<(lastchange_path)', |
| 240 '-f', '<(branding_dir)/BRANDING', | 236 '-f', '<(branding_dir)/BRANDING', |
| 241 '<(template_input_path)', | 237 '<(template_input_path)', |
| 242 '<@(_outputs)', | 238 '<@(_outputs)', |
| 243 ], | 239 ], |
| 244 'process_outputs_as_sources': 1, | 240 'process_outputs_as_sources': 1, |
| 245 'message': 'Generating version information' | 241 'message': 'Generating version information' |
| 246 }, | 242 }, |
| 247 { | 243 { |
| 248 'rule_name': 'server_dlls', | 244 'rule_name': 'server_dlls', |
| 249 'extension': 'release', | 245 'extension': 'release', |
| 250 'variables': { | 246 'variables': { |
| 251 'scan_server_dlls_py' : '../tools/build/win/scan_server_dlls.py'
, | 247 'scan_server_dlls_py' : 'tools/build/win/scan_server_dlls.py', |
| 252 'template_file': 'mini_installer/chrome_frame.release', | 248 'template_file': 'mini_installer/chrome_frame.release', |
| 253 }, | 249 }, |
| 254 'inputs': [ | 250 'inputs': [ |
| 255 '<(scan_server_dlls_py)', | 251 '<(scan_server_dlls_py)', |
| 256 '<(template_file)' | 252 '<(template_file)' |
| 257 ], | 253 ], |
| 258 'outputs': [ | 254 'outputs': [ |
| 259 '<(INTERMEDIATE_DIR)/registered_dlls.h', | 255 '<(INTERMEDIATE_DIR)/registered_dlls.h', |
| 260 ], | 256 ], |
| 261 'action': [ | 257 'action': [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 273 'conditions': [ | 269 'conditions': [ |
| 274 # TODO(mark): <(branding_dir) should be defined by the | 270 # TODO(mark): <(branding_dir) should be defined by the |
| 275 # global condition block at the bottom of the file, but | 271 # global condition block at the bottom of the file, but |
| 276 # this doesn't work due to the following issue: | 272 # this doesn't work due to the following issue: |
| 277 # | 273 # |
| 278 # http://code.google.com/p/gyp/issues/detail?id=22 | 274 # http://code.google.com/p/gyp/issues/detail?id=22 |
| 279 # | 275 # |
| 280 # Remove this block once the above issue is fixed. | 276 # Remove this block once the above issue is fixed. |
| 281 [ 'branding == "Chrome"', { | 277 [ 'branding == "Chrome"', { |
| 282 'variables': { | 278 'variables': { |
| 283 'branding_dir': '../app/theme/google_chrome', | 279 'branding_dir': 'app/theme/google_chrome', |
| 284 }, | 280 }, |
| 285 }, { # else branding!="Chrome" | 281 }, { # else branding!="Chrome" |
| 286 'variables': { | 282 'variables': { |
| 287 'branding_dir': '../app/theme/chromium', | 283 'branding_dir': 'app/theme/chromium', |
| 288 }, | 284 }, |
| 289 }], | 285 }], |
| 290 ], | 286 ], |
| 291 }, | 287 }, |
| 292 { | 288 { |
| 293 'target_name': 'setup_unittests', | 289 'target_name': 'setup_unittests', |
| 294 'type': 'executable', | 290 'type': 'executable', |
| 295 'msvs_guid': 'C0AE4E06-F023-460F-BC14-6302CEAC51F8', | 291 'msvs_guid': 'C0AE4E06-F023-460F-BC14-6302CEAC51F8', |
| 296 'dependencies': [ | 292 'dependencies': [ |
| 297 'installer_util', | 293 'installer_util', |
| 298 '../../base/base.gyp:base', | 294 '<(DEPTH)/base/base.gyp:base', |
| 299 '../../base/base.gyp:base_i18n', | 295 '<(DEPTH)/base/base.gyp:base_i18n', |
| 300 '../../build/temp_gyp/googleurl.gyp:googleurl', | 296 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 301 '../../testing/gtest.gyp:gtest', | 297 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 302 ], | 298 ], |
| 303 'include_dirs': [ | 299 'include_dirs': [ |
| 304 '../..', | 300 '<(DEPTH)', |
| 305 ], | 301 ], |
| 306 'sources': [ | 302 'sources': [ |
| 307 'setup/run_all_unittests.cc', | 303 'installer/setup/run_all_unittests.cc', |
| 308 'setup/setup_util.cc', | 304 'installer/setup/setup_util.cc', |
| 309 'setup/setup_util_unittest.cc', | 305 'installer/setup/setup_util_unittest.cc', |
| 310 ], | 306 ], |
| 311 }, | 307 }, |
| 312 ], | 308 ], |
| 313 }], | 309 }], |
| 314 ['OS=="linux" and branding=="Chrome"', { | 310 ['OS=="linux" and branding=="Chrome"', { |
| 315 'variables': { | 311 'variables': { |
| 316 # Always google_chrome since this only applies to branding==Chrome. | 312 # Always google_chrome since this only applies to branding==Chrome. |
| 317 'branding_dir': '../app/theme/google_chrome', | 313 'branding_dir': 'app/theme/google_chrome', |
| 318 'version' : '<!(python <(version_py) -f ../../chrome/VERSION -t "@MAJOR@
.@MINOR@.@BUILD@.@PATCH@")', | 314 'version' : '<!(python <(version_py_path) -f <(DEPTH)/chrome/VERSION -t
"@MAJOR@.@MINOR@.@BUILD@.@PATCH@")', |
| 319 'revision' : '<!(python ../../build/util/lastchange.py | cut -d "=" -f 2
)', | 315 'revision' : '<!(python <(DEPTH)/build/util/lastchange.py | cut -d "=" -
f 2)', |
| 320 'packaging_files_common': [ | 316 'packaging_files_common': [ |
| 321 'linux/internal/common/apt.include', | 317 'installer/linux/internal/common/apt.include', |
| 322 'linux/internal/common/default-app.template', | 318 'installer/linux/internal/common/default-app.template', |
| 323 'linux/internal/common/default-app-block.template', | 319 'installer/linux/internal/common/default-app-block.template', |
| 324 'linux/internal/common/desktop.template', | 320 'installer/linux/internal/common/desktop.template', |
| 325 'linux/internal/common/google-chrome/google-chrome.info', | 321 'installer/linux/internal/common/google-chrome/google-chrome.info', |
| 326 'linux/internal/common/installer.include', | 322 'installer/linux/internal/common/installer.include', |
| 327 'linux/internal/common/postinst.include', | 323 'installer/linux/internal/common/postinst.include', |
| 328 'linux/internal/common/prerm.include', | 324 'installer/linux/internal/common/prerm.include', |
| 329 'linux/internal/common/repo.cron', | 325 'installer/linux/internal/common/repo.cron', |
| 330 'linux/internal/common/rpm.include', | 326 'installer/linux/internal/common/rpm.include', |
| 331 'linux/internal/common/rpmrepo.cron', | 327 'installer/linux/internal/common/rpmrepo.cron', |
| 332 'linux/internal/common/updater', | 328 'installer/linux/internal/common/updater', |
| 333 'linux/internal/common/variables.include', | 329 'installer/linux/internal/common/variables.include', |
| 334 'linux/internal/common/wrapper', | 330 'installer/linux/internal/common/wrapper', |
| 335 ], | 331 ], |
| 336 'packaging_files_deb': [ | 332 'packaging_files_deb': [ |
| 337 'linux/internal/debian/build.sh', | 333 'installer/linux/internal/debian/build.sh', |
| 338 'linux/internal/debian/changelog.template', | 334 'installer/linux/internal/debian/changelog.template', |
| 339 'linux/internal/debian/control.template', | 335 'installer/linux/internal/debian/control.template', |
| 340 'linux/internal/debian/debian.menu', | 336 'installer/linux/internal/debian/debian.menu', |
| 341 'linux/internal/debian/postinst', | 337 'installer/linux/internal/debian/postinst', |
| 342 'linux/internal/debian/postrm', | 338 'installer/linux/internal/debian/postrm', |
| 343 'linux/internal/debian/prerm', | 339 'installer/linux/internal/debian/prerm', |
| 344 ], | 340 ], |
| 345 'packaging_files_rpm': [ | 341 'packaging_files_rpm': [ |
| 346 'linux/internal/rpm/build.sh', | 342 'installer/linux/internal/rpm/build.sh', |
| 347 'linux/internal/rpm/chrome.spec.template', | 343 'installer/linux/internal/rpm/chrome.spec.template', |
| 348 ], | 344 ], |
| 349 'packaging_files_binaries': [ | 345 'packaging_files_binaries': [ |
| 350 # TODO(mmoss) Any convenient way to get all the relevant build | 346 # TODO(mmoss) Any convenient way to get all the relevant build |
| 351 # files? (e.g. all locales, resources, etc.) | 347 # files? (e.g. all locales, resources, etc.) |
| 352 '<(PRODUCT_DIR)/chrome', | 348 '<(PRODUCT_DIR)/chrome', |
| 353 '<(PRODUCT_DIR)/chrome.pak', | 349 '<(PRODUCT_DIR)/chrome.pak', |
| 354 '<(PRODUCT_DIR)/chrome_sandbox', | 350 '<(PRODUCT_DIR)/chrome_sandbox', |
| 355 '<(PRODUCT_DIR)/libffmpegsumo.so', | 351 '<(PRODUCT_DIR)/libffmpegsumo.so', |
| 356 '<(PRODUCT_DIR)/xdg-settings', | 352 '<(PRODUCT_DIR)/xdg-settings', |
| 357 '<(PRODUCT_DIR)/locales/en-US.pak', | 353 '<(PRODUCT_DIR)/locales/en-US.pak', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 381 'target_name': 'linux_installer_configs', | 377 'target_name': 'linux_installer_configs', |
| 382 'type': 'none', | 378 'type': 'none', |
| 383 # Add these files to the build output so the build archives will be | 379 # Add these files to the build output so the build archives will be |
| 384 # "hermetic" for packaging. This is only for branding="Chrome" since | 380 # "hermetic" for packaging. This is only for branding="Chrome" since |
| 385 # we only create packages for official builds. | 381 # we only create packages for official builds. |
| 386 'copies': [ | 382 'copies': [ |
| 387 # Copy tools for generating packages from the build archive. | 383 # Copy tools for generating packages from the build archive. |
| 388 { | 384 { |
| 389 'destination': '<(PRODUCT_DIR)/installer/', | 385 'destination': '<(PRODUCT_DIR)/installer/', |
| 390 'files': [ | 386 'files': [ |
| 391 'linux/internal/build_from_archive.sh', | 387 'installer/linux/internal/build_from_archive.sh', |
| 392 ] | 388 ] |
| 393 }, | 389 }, |
| 394 { | 390 { |
| 395 'destination': '<(PRODUCT_DIR)/installer/debian/', | 391 'destination': '<(PRODUCT_DIR)/installer/debian/', |
| 396 'files': [ | 392 'files': [ |
| 397 '<@(packaging_files_deb)', | 393 '<@(packaging_files_deb)', |
| 398 ] | 394 ] |
| 399 }, | 395 }, |
| 400 { | 396 { |
| 401 'destination': '<(PRODUCT_DIR)/installer/rpm/', | 397 'destination': '<(PRODUCT_DIR)/installer/rpm/', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 432 'inputs': [ | 428 'inputs': [ |
| 433 '<(branding_dir)/BRANDING', | 429 '<(branding_dir)/BRANDING', |
| 434 '<(version_path)', | 430 '<(version_path)', |
| 435 '<(lastchange_path)', | 431 '<(lastchange_path)', |
| 436 ], | 432 ], |
| 437 'outputs': [ | 433 'outputs': [ |
| 438 '<(PRODUCT_DIR)/installer/version.txt', | 434 '<(PRODUCT_DIR)/installer/version.txt', |
| 439 ], | 435 ], |
| 440 # Just output the default version info variables. | 436 # Just output the default version info variables. |
| 441 'action': [ | 437 'action': [ |
| 442 'python', '<(version_py)', | 438 'python', '<(version_py_path)', |
| 443 '-f', '<(branding_dir)/BRANDING', | 439 '-f', '<(branding_dir)/BRANDING', |
| 444 '-f', '<(version_path)', | 440 '-f', '<(version_path)', |
| 445 '-f', '<(lastchange_path)', | 441 '-f', '<(lastchange_path)', |
| 446 '-o', '<@(_outputs)' | 442 '-o', '<@(_outputs)' |
| 447 ], | 443 ], |
| 448 }, | 444 }, |
| 449 ], | 445 ], |
| 450 }, | 446 }, |
| 451 { | 447 { |
| 452 'target_name': 'linux_packages_all', | 448 'target_name': 'linux_packages_all', |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 }], | 520 }], |
| 525 ], | 521 ], |
| 526 }, | 522 }, |
| 527 # TODO(mmoss) gyp looping construct would be handy here ... | 523 # TODO(mmoss) gyp looping construct would be handy here ... |
| 528 # These package actions are the same except for the 'channel' variable. | 524 # These package actions are the same except for the 'channel' variable. |
| 529 { | 525 { |
| 530 'target_name': 'linux_packages_trunk_deb', | 526 'target_name': 'linux_packages_trunk_deb', |
| 531 'suppress_wildcard': 1, | 527 'suppress_wildcard': 1, |
| 532 'type': 'none', | 528 'type': 'none', |
| 533 'dependencies': [ | 529 'dependencies': [ |
| 534 '../chrome.gyp:chrome', | 530 'chrome', |
| 535 'linux_installer_configs', | 531 'linux_installer_configs', |
| 536 ], | 532 ], |
| 537 'actions': [ | 533 'actions': [ |
| 538 { | 534 { |
| 539 'variables': { | 535 'variables': { |
| 540 'channel': 'trunk', | 536 'channel': 'trunk', |
| 541 }, | 537 }, |
| 542 'action_name': 'deb_packages_<(channel)', | 538 'action_name': 'deb_packages_<(channel)', |
| 543 'process_outputs_as_sources': 1, | 539 'process_outputs_as_sources': 1, |
| 544 'inputs': [ | 540 'inputs': [ |
| 545 '<(deb_build)', | 541 '<(deb_build)', |
| 546 '<@(packaging_files_binaries)', | 542 '<@(packaging_files_binaries)', |
| 547 '<@(packaging_files_common)', | 543 '<@(packaging_files_common)', |
| 548 '<@(packaging_files_deb)', | 544 '<@(packaging_files_deb)', |
| 549 ], | 545 ], |
| 550 'outputs': [ | 546 'outputs': [ |
| 551 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 547 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
| 552 ], | 548 ], |
| 553 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 549 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
| 554 }, | 550 }, |
| 555 ], | 551 ], |
| 556 }, | 552 }, |
| 557 { | 553 { |
| 558 'target_name': 'linux_packages_unstable_deb', | 554 'target_name': 'linux_packages_unstable_deb', |
| 559 'suppress_wildcard': 1, | 555 'suppress_wildcard': 1, |
| 560 'type': 'none', | 556 'type': 'none', |
| 561 'dependencies': [ | 557 'dependencies': [ |
| 562 '../chrome.gyp:chrome', | 558 'chrome', |
| 563 'linux_installer_configs', | 559 'linux_installer_configs', |
| 564 ], | 560 ], |
| 565 'actions': [ | 561 'actions': [ |
| 566 { | 562 { |
| 567 'variables': { | 563 'variables': { |
| 568 'channel': 'unstable', | 564 'channel': 'unstable', |
| 569 }, | 565 }, |
| 570 'action_name': 'deb_packages_<(channel)', | 566 'action_name': 'deb_packages_<(channel)', |
| 571 'process_outputs_as_sources': 1, | 567 'process_outputs_as_sources': 1, |
| 572 'inputs': [ | 568 'inputs': [ |
| 573 '<(deb_build)', | 569 '<(deb_build)', |
| 574 '<@(packaging_files_binaries)', | 570 '<@(packaging_files_binaries)', |
| 575 '<@(packaging_files_common)', | 571 '<@(packaging_files_common)', |
| 576 '<@(packaging_files_deb)', | 572 '<@(packaging_files_deb)', |
| 577 ], | 573 ], |
| 578 'outputs': [ | 574 'outputs': [ |
| 579 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 575 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
| 580 ], | 576 ], |
| 581 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 577 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
| 582 }, | 578 }, |
| 583 ], | 579 ], |
| 584 }, | 580 }, |
| 585 { | 581 { |
| 586 'target_name': 'linux_packages_beta_deb', | 582 'target_name': 'linux_packages_beta_deb', |
| 587 'suppress_wildcard': 1, | 583 'suppress_wildcard': 1, |
| 588 'type': 'none', | 584 'type': 'none', |
| 589 'dependencies': [ | 585 'dependencies': [ |
| 590 '../chrome.gyp:chrome', | 586 'chrome', |
| 591 'linux_installer_configs', | 587 'linux_installer_configs', |
| 592 ], | 588 ], |
| 593 'actions': [ | 589 'actions': [ |
| 594 { | 590 { |
| 595 'variables': { | 591 'variables': { |
| 596 'channel': 'beta', | 592 'channel': 'beta', |
| 597 }, | 593 }, |
| 598 'action_name': 'deb_packages_<(channel)', | 594 'action_name': 'deb_packages_<(channel)', |
| 599 'process_outputs_as_sources': 1, | 595 'process_outputs_as_sources': 1, |
| 600 'inputs': [ | 596 'inputs': [ |
| 601 '<(deb_build)', | 597 '<(deb_build)', |
| 602 '<@(packaging_files_binaries)', | 598 '<@(packaging_files_binaries)', |
| 603 '<@(packaging_files_common)', | 599 '<@(packaging_files_common)', |
| 604 '<@(packaging_files_deb)', | 600 '<@(packaging_files_deb)', |
| 605 ], | 601 ], |
| 606 'outputs': [ | 602 'outputs': [ |
| 607 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 603 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
| 608 ], | 604 ], |
| 609 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 605 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
| 610 }, | 606 }, |
| 611 ], | 607 ], |
| 612 }, | 608 }, |
| 613 { | 609 { |
| 614 'target_name': 'linux_packages_stable_deb', | 610 'target_name': 'linux_packages_stable_deb', |
| 615 'suppress_wildcard': 1, | 611 'suppress_wildcard': 1, |
| 616 'type': 'none', | 612 'type': 'none', |
| 617 'dependencies': [ | 613 'dependencies': [ |
| 618 '../chrome.gyp:chrome', | 614 'chrome', |
| 619 'linux_installer_configs', | 615 'linux_installer_configs', |
| 620 ], | 616 ], |
| 621 'actions': [ | 617 'actions': [ |
| 622 { | 618 { |
| 623 'variables': { | 619 'variables': { |
| 624 'channel': 'stable', | 620 'channel': 'stable', |
| 625 }, | 621 }, |
| 626 'action_name': 'deb_packages_<(channel)', | 622 'action_name': 'deb_packages_<(channel)', |
| 627 'process_outputs_as_sources': 1, | 623 'process_outputs_as_sources': 1, |
| 628 'inputs': [ | 624 'inputs': [ |
| 629 '<(deb_build)', | 625 '<(deb_build)', |
| 630 '<@(packaging_files_binaries)', | 626 '<@(packaging_files_binaries)', |
| 631 '<@(packaging_files_common)', | 627 '<@(packaging_files_common)', |
| 632 '<@(packaging_files_deb)', | 628 '<@(packaging_files_deb)', |
| 633 ], | 629 ], |
| 634 'outputs': [ | 630 'outputs': [ |
| 635 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', | 631 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)
_<(deb_arch).deb', |
| 636 ], | 632 ], |
| 637 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], | 633 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], |
| 638 }, | 634 }, |
| 639 ], | 635 ], |
| 640 }, | 636 }, |
| 641 { | 637 { |
| 642 'target_name': 'linux_packages_trunk_rpm', | 638 'target_name': 'linux_packages_trunk_rpm', |
| 643 'suppress_wildcard': 1, | 639 'suppress_wildcard': 1, |
| 644 'type': 'none', | 640 'type': 'none', |
| 645 'dependencies': [ | 641 'dependencies': [ |
| 646 '../chrome.gyp:chrome', | 642 'chrome', |
| 647 'linux_installer_configs', | 643 'linux_installer_configs', |
| 648 ], | 644 ], |
| 649 'actions': [ | 645 'actions': [ |
| 650 { | 646 { |
| 651 'variables': { | 647 'variables': { |
| 652 'channel': 'trunk', | 648 'channel': 'trunk', |
| 653 }, | 649 }, |
| 654 'action_name': 'rpm_packages_<(channel)', | 650 'action_name': 'rpm_packages_<(channel)', |
| 655 'process_outputs_as_sources': 1, | 651 'process_outputs_as_sources': 1, |
| 656 'inputs': [ | 652 'inputs': [ |
| 657 '<(rpm_build)', | 653 '<(rpm_build)', |
| 658 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | 654 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 659 '<@(packaging_files_binaries)', | 655 '<@(packaging_files_binaries)', |
| 660 '<@(packaging_files_common)', | 656 '<@(packaging_files_common)', |
| 661 '<@(packaging_files_rpm)', | 657 '<@(packaging_files_rpm)', |
| 662 ], | 658 ], |
| 663 'outputs': [ | 659 'outputs': [ |
| 664 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', | 660 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 665 ], | 661 ], |
| 666 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | 662 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 667 }, | 663 }, |
| 668 ], | 664 ], |
| 669 }, | 665 }, |
| 670 { | 666 { |
| 671 'target_name': 'linux_packages_unstable_rpm', | 667 'target_name': 'linux_packages_unstable_rpm', |
| 672 'suppress_wildcard': 1, | 668 'suppress_wildcard': 1, |
| 673 'type': 'none', | 669 'type': 'none', |
| 674 'dependencies': [ | 670 'dependencies': [ |
| 675 '../chrome.gyp:chrome', | 671 'chrome', |
| 676 'linux_installer_configs', | 672 'linux_installer_configs', |
| 677 ], | 673 ], |
| 678 'actions': [ | 674 'actions': [ |
| 679 { | 675 { |
| 680 'variables': { | 676 'variables': { |
| 681 'channel': 'unstable', | 677 'channel': 'unstable', |
| 682 }, | 678 }, |
| 683 'action_name': 'rpm_packages_<(channel)', | 679 'action_name': 'rpm_packages_<(channel)', |
| 684 'process_outputs_as_sources': 1, | 680 'process_outputs_as_sources': 1, |
| 685 'inputs': [ | 681 'inputs': [ |
| 686 '<(rpm_build)', | 682 '<(rpm_build)', |
| 687 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | 683 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 688 '<@(packaging_files_binaries)', | 684 '<@(packaging_files_binaries)', |
| 689 '<@(packaging_files_common)', | 685 '<@(packaging_files_common)', |
| 690 '<@(packaging_files_rpm)', | 686 '<@(packaging_files_rpm)', |
| 691 ], | 687 ], |
| 692 'outputs': [ | 688 'outputs': [ |
| 693 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', | 689 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 694 ], | 690 ], |
| 695 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | 691 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 696 }, | 692 }, |
| 697 ], | 693 ], |
| 698 }, | 694 }, |
| 699 { | 695 { |
| 700 'target_name': 'linux_packages_beta_rpm', | 696 'target_name': 'linux_packages_beta_rpm', |
| 701 'suppress_wildcard': 1, | 697 'suppress_wildcard': 1, |
| 702 'type': 'none', | 698 'type': 'none', |
| 703 'dependencies': [ | 699 'dependencies': [ |
| 704 '../chrome.gyp:chrome', | 700 'chrome', |
| 705 'linux_installer_configs', | 701 'linux_installer_configs', |
| 706 ], | 702 ], |
| 707 'actions': [ | 703 'actions': [ |
| 708 { | 704 { |
| 709 'variables': { | 705 'variables': { |
| 710 'channel': 'beta', | 706 'channel': 'beta', |
| 711 }, | 707 }, |
| 712 'action_name': 'rpm_packages_<(channel)', | 708 'action_name': 'rpm_packages_<(channel)', |
| 713 'process_outputs_as_sources': 1, | 709 'process_outputs_as_sources': 1, |
| 714 'inputs': [ | 710 'inputs': [ |
| 715 '<(rpm_build)', | 711 '<(rpm_build)', |
| 716 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | 712 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 717 '<@(packaging_files_binaries)', | 713 '<@(packaging_files_binaries)', |
| 718 '<@(packaging_files_common)', | 714 '<@(packaging_files_common)', |
| 719 '<@(packaging_files_rpm)', | 715 '<@(packaging_files_rpm)', |
| 720 ], | 716 ], |
| 721 'outputs': [ | 717 'outputs': [ |
| 722 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', | 718 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 723 ], | 719 ], |
| 724 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | 720 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 725 }, | 721 }, |
| 726 ], | 722 ], |
| 727 }, | 723 }, |
| 728 { | 724 { |
| 729 'target_name': 'linux_packages_stable_rpm', | 725 'target_name': 'linux_packages_stable_rpm', |
| 730 'suppress_wildcard': 1, | 726 'suppress_wildcard': 1, |
| 731 'type': 'none', | 727 'type': 'none', |
| 732 'dependencies': [ | 728 'dependencies': [ |
| 733 '../chrome.gyp:chrome', | 729 'chrome', |
| 734 'linux_installer_configs', | 730 'linux_installer_configs', |
| 735 ], | 731 ], |
| 736 'actions': [ | 732 'actions': [ |
| 737 { | 733 { |
| 738 'variables': { | 734 'variables': { |
| 739 'channel': 'stable', | 735 'channel': 'stable', |
| 740 }, | 736 }, |
| 741 'action_name': 'rpm_packages_<(channel)', | 737 'action_name': 'rpm_packages_<(channel)', |
| 742 'process_outputs_as_sources': 1, | 738 'process_outputs_as_sources': 1, |
| 743 'inputs': [ | 739 'inputs': [ |
| 744 '<(rpm_build)', | 740 '<(rpm_build)', |
| 745 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', | 741 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', |
| 746 '<@(packaging_files_binaries)', | 742 '<@(packaging_files_binaries)', |
| 747 '<@(packaging_files_common)', | 743 '<@(packaging_files_common)', |
| 748 '<@(packaging_files_rpm)', | 744 '<@(packaging_files_rpm)', |
| 749 ], | 745 ], |
| 750 'outputs': [ | 746 'outputs': [ |
| 751 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', | 747 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).
<(rpm_arch).rpm', |
| 752 ], | 748 ], |
| 753 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], | 749 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], |
| 754 }, | 750 }, |
| 755 ], | 751 ], |
| 756 }, | 752 }, |
| 757 ], | 753 ], |
| 758 }], | 754 }], |
| 759 [ 'branding == "Chrome"', { | 755 [ 'branding == "Chrome"', { |
| 760 'variables': { | 756 'variables': { |
| 761 'branding_dir': '../app/theme/google_chrome', | 757 'branding_dir': 'app/theme/google_chrome', |
| 762 }, | 758 }, |
| 763 }, { # else branding!="Chrome" | 759 }, { # else branding!="Chrome" |
| 764 'variables': { | 760 'variables': { |
| 765 'branding_dir': '../app/theme/chromium', | 761 'branding_dir': 'app/theme/chromium', |
| 766 }, | 762 }, |
| 767 }], | 763 }], |
| 768 ], | 764 ], |
| 769 } | 765 } |
| 770 | 766 |
| 771 # Local Variables: | 767 # Local Variables: |
| 772 # tab-width:2 | 768 # tab-width:2 |
| 773 # indent-tabs-mode:nil | 769 # indent-tabs-mode:nil |
| 774 # End: | 770 # End: |
| 775 # vim: set expandtab tabstop=2 shiftwidth=2: | 771 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |