| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'lastchange_path': '../build/util/LASTCHANGE', | 7 'lastchange_path': '../build/util/LASTCHANGE', |
| 8 'branding_dir': 'app/theme/<(branding_path_component)', | 8 'branding_dir': 'app/theme/<(branding_path_component)', |
| 9 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component
)', | 9 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component
)', |
| 10 }, | 10 }, |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 'dependencies': [ | 204 'dependencies': [ |
| 205 '<(DEPTH)/base/base.gyp:base', | 205 '<(DEPTH)/base/base.gyp:base', |
| 206 ], | 206 ], |
| 207 'sources': [ | 207 'sources': [ |
| 208 'installer/launcher_support/chrome_launcher_support.cc', | 208 'installer/launcher_support/chrome_launcher_support.cc', |
| 209 'installer/launcher_support/chrome_launcher_support.h', | 209 'installer/launcher_support/chrome_launcher_support.h', |
| 210 ], | 210 ], |
| 211 }, | 211 }, |
| 212 { | 212 { |
| 213 # GN version: //chrome/installer/setup | 213 # GN version: //chrome/installer/setup |
| 214 'target_name': 'setup', | 214 'target_name': 'setup_lib', |
| 215 'type': 'executable', | 215 'type': 'static_library', |
| 216 'dependencies': [ | 216 'dependencies': [ |
| 217 'installer_util', | 217 'installer_util', |
| 218 'installer_util_strings', | 218 'installer_util_strings', |
| 219 '../base/base.gyp:base', | 219 '../base/base.gyp:base', |
| 220 '../chrome/common_constants.gyp:common_constants', | |
| 221 '../chrome/common_constants.gyp:version_header', | |
| 222 '../chrome_elf/chrome_elf.gyp:chrome_elf_constants', | |
| 223 '../components/components.gyp:crash_component', | 220 '../components/components.gyp:crash_component', |
| 224 '../rlz/rlz.gyp:rlz_lib', | |
| 225 '../third_party/zlib/zlib.gyp:zlib', | |
| 226 ], | 221 ], |
| 227 'include_dirs': [ | 222 'include_dirs': [ |
| 228 '..', | 223 '..', |
| 229 '<(INTERMEDIATE_DIR)', | 224 '<(INTERMEDIATE_DIR)', |
| 230 '<(SHARED_INTERMEDIATE_DIR)/setup', | |
| 231 ], | 225 ], |
| 232 'direct_dependent_settings': { | |
| 233 'include_dirs': [ | |
| 234 '<(SHARED_INTERMEDIATE_DIR)/setup', | |
| 235 ], | |
| 236 }, | |
| 237 'sources': [ | 226 'sources': [ |
| 238 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_str
ings.rc', | |
| 239 'installer/mini_installer/chrome.release', | 227 'installer/mini_installer/chrome.release', |
| 240 'installer/setup/app_launcher_installer.cc', | 228 'installer/setup/app_launcher_installer.cc', |
| 241 'installer/setup/app_launcher_installer.h', | 229 'installer/setup/app_launcher_installer.h', |
| 242 'installer/setup/archive_patch_helper.cc', | 230 'installer/setup/archive_patch_helper.cc', |
| 243 'installer/setup/archive_patch_helper.h', | 231 'installer/setup/archive_patch_helper.h', |
| 244 'installer/setup/install.cc', | 232 'installer/setup/install.cc', |
| 245 'installer/setup/install.h', | 233 'installer/setup/install.h', |
| 246 'installer/setup/install_worker.cc', | 234 'installer/setup/install_worker.cc', |
| 247 'installer/setup/install_worker.h', | 235 'installer/setup/install_worker.h', |
| 248 'installer/setup/installer_crash_reporter_client.cc', | 236 'installer/setup/installer_crash_reporter_client.cc', |
| 249 'installer/setup/installer_crash_reporter_client.h', | 237 'installer/setup/installer_crash_reporter_client.h', |
| 250 'installer/setup/installer_crash_reporting.cc', | 238 'installer/setup/installer_crash_reporting.cc', |
| 251 'installer/setup/installer_crash_reporting.h', | 239 'installer/setup/installer_crash_reporting.h', |
| 240 'installer/setup/setup_constants.cc', |
| 241 'installer/setup/setup_constants.h', |
| 242 'installer/setup/setup_util.cc', |
| 243 'installer/setup/setup_util.h', |
| 244 'installer/setup/update_active_setup_version_work_item.cc', |
| 245 'installer/setup/update_active_setup_version_work_item.h', |
| 246 ], |
| 247 'conditions': [ |
| 248 ['win_use_allocator_shim==1', { |
| 249 'dependencies': [ |
| 250 '<(allocator_target)', |
| 251 ], |
| 252 }], |
| 253 ], |
| 254 }, |
| 255 { |
| 256 # GN version: //chrome/installer/setup |
| 257 'target_name': 'setup', |
| 258 'type': 'executable', |
| 259 'dependencies': [ |
| 260 'setup_lib', |
| 261 '../chrome/common_constants.gyp:common_constants', |
| 262 '../chrome/common_constants.gyp:version_header', |
| 263 '../chrome_elf/chrome_elf.gyp:chrome_elf_constants', |
| 264 '../rlz/rlz.gyp:rlz_lib', |
| 265 '../third_party/zlib/zlib.gyp:zlib', |
| 266 ], |
| 267 'include_dirs': [ |
| 268 '..', |
| 269 '<(INTERMEDIATE_DIR)', |
| 270 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 271 ], |
| 272 'direct_dependent_settings': { |
| 273 'include_dirs': [ |
| 274 '<(SHARED_INTERMEDIATE_DIR)/setup', |
| 275 ], |
| 276 }, |
| 277 'sources': [ |
| 278 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_str
ings.rc', |
| 252 'installer/setup/setup.ico', | 279 'installer/setup/setup.ico', |
| 253 'installer/setup/setup.rc', | 280 'installer/setup/setup.rc', |
| 254 'installer/setup/setup_constants.cc', | |
| 255 'installer/setup/setup_constants.h', | |
| 256 'installer/setup/setup_exe_version.rc.version', | 281 'installer/setup/setup_exe_version.rc.version', |
| 257 'installer/setup/setup_main.cc', | 282 'installer/setup/setup_main.cc', |
| 258 'installer/setup/setup_main.h', | 283 'installer/setup/setup_main.h', |
| 259 'installer/setup/setup_resource.h', | 284 'installer/setup/setup_resource.h', |
| 260 'installer/setup/setup_util.cc', | |
| 261 'installer/setup/setup_util.h', | |
| 262 'installer/setup/uninstall.cc', | 285 'installer/setup/uninstall.cc', |
| 263 'installer/setup/uninstall.h', | 286 'installer/setup/uninstall.h', |
| 264 'installer/setup/update_active_setup_version_work_item.cc', | |
| 265 'installer/setup/update_active_setup_version_work_item.h', | |
| 266 ], | 287 ], |
| 267 'msvs_settings': { | 288 'msvs_settings': { |
| 268 'VCLinkerTool': { | 289 'VCLinkerTool': { |
| 269 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 290 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 270 }, | 291 }, |
| 271 'VCManifestTool': { | 292 'VCManifestTool': { |
| 272 'AdditionalManifestFiles': [ | 293 'AdditionalManifestFiles': [ |
| 273 '$(ProjectDir)\\installer\\setup\\setup.exe.manifest', | 294 '$(ProjectDir)\\installer\\setup\\setup.exe.manifest', |
| 274 ], | 295 ], |
| 275 }, | 296 }, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 '<(allocator_target)', | 337 '<(allocator_target)', |
| 317 ], | 338 ], |
| 318 }], | 339 }], |
| 319 ], | 340 ], |
| 320 }, | 341 }, |
| 321 { | 342 { |
| 322 # GN version: //chrome/installer/setup:setup_unittests | 343 # GN version: //chrome/installer/setup:setup_unittests |
| 323 'target_name': 'setup_unittests', | 344 'target_name': 'setup_unittests', |
| 324 'type': 'executable', | 345 'type': 'executable', |
| 325 'dependencies': [ | 346 'dependencies': [ |
| 326 'installer_util', | 347 'setup_lib', |
| 327 'installer_util_strings', | |
| 328 '../base/base.gyp:base', | |
| 329 '../base/base.gyp:base_i18n', | 348 '../base/base.gyp:base_i18n', |
| 330 '../base/base.gyp:test_support_base', | 349 '../base/base.gyp:test_support_base', |
| 331 '../testing/gmock.gyp:gmock', | 350 '../testing/gmock.gyp:gmock', |
| 332 '../testing/gtest.gyp:gtest', | 351 '../testing/gtest.gyp:gtest', |
| 333 ], | 352 ], |
| 334 'include_dirs': [ | 353 'include_dirs': [ |
| 335 '..', | 354 '..', |
| 336 '<(INTERMEDIATE_DIR)', | 355 '<(INTERMEDIATE_DIR)', |
| 337 ], | 356 ], |
| 338 # TODO(robertshield): Move the items marked with "Move to lib" | |
| 339 # below into a separate lib and then link both setup.exe and | |
| 340 # setup_unittests.exe against that. | |
| 341 'sources': [ | 357 'sources': [ |
| 342 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_str
ings.rc', | 358 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_str
ings.rc', |
| 343 'installer/mini_installer/chrome.release', # Move to lib | |
| 344 'installer/mini_installer/appid.h', | 359 'installer/mini_installer/appid.h', |
| 345 'installer/mini_installer/chrome_appid.cc', | 360 'installer/mini_installer/chrome_appid.cc', |
| 346 'installer/mini_installer/configuration.cc', | 361 'installer/mini_installer/configuration.cc', |
| 347 'installer/mini_installer/configuration.h', | 362 'installer/mini_installer/configuration.h', |
| 348 'installer/mini_installer/configuration_test.cc', | 363 'installer/mini_installer/configuration_test.cc', |
| 349 'installer/mini_installer/decompress.cc', | 364 'installer/mini_installer/decompress.cc', |
| 350 'installer/mini_installer/decompress.h', | 365 'installer/mini_installer/decompress.h', |
| 351 'installer/mini_installer/decompress_test.cc', | 366 'installer/mini_installer/decompress_test.cc', |
| 352 'installer/mini_installer/mini_installer_constants.cc', | 367 'installer/mini_installer/mini_installer_constants.cc', |
| 353 'installer/mini_installer/mini_installer_constants.h', | 368 'installer/mini_installer/mini_installer_constants.h', |
| 354 'installer/mini_installer/mini_string.cc', | 369 'installer/mini_installer/mini_string.cc', |
| 355 'installer/mini_installer/mini_string.h', | 370 'installer/mini_installer/mini_string.h', |
| 356 'installer/mini_installer/mini_string_test.cc', | 371 'installer/mini_installer/mini_string_test.cc', |
| 357 'installer/mini_installer/regkey.cc', | 372 'installer/mini_installer/regkey.cc', |
| 358 'installer/mini_installer/regkey.h', | 373 'installer/mini_installer/regkey.h', |
| 359 'installer/setup/app_launcher_installer.cc', # Move to lib | |
| 360 'installer/setup/app_launcher_installer.h', # Move to lib | |
| 361 'installer/setup/archive_patch_helper.cc', # Move to lib | |
| 362 'installer/setup/archive_patch_helper.h', # Move to lib | |
| 363 'installer/setup/archive_patch_helper_unittest.cc', | 374 'installer/setup/archive_patch_helper_unittest.cc', |
| 364 'installer/setup/install.cc', # Move to lib | |
| 365 'installer/setup/install.h', # Move to lib | |
| 366 'installer/setup/install_unittest.cc', | 375 'installer/setup/install_unittest.cc', |
| 367 'installer/setup/install_worker.cc', # Move to lib | |
| 368 'installer/setup/install_worker.h', # Move to lib | |
| 369 'installer/setup/install_worker_unittest.cc', | 376 'installer/setup/install_worker_unittest.cc', |
| 370 'installer/setup/memory_unittest.cc', | 377 'installer/setup/memory_unittest.cc', |
| 371 'installer/setup/run_all_unittests.cc', | 378 'installer/setup/run_all_unittests.cc', |
| 372 'installer/setup/setup_constants.cc', # Move to lib | |
| 373 'installer/setup/setup_constants.h', # Move to lib | |
| 374 'installer/setup/setup_util.cc', | |
| 375 'installer/setup/setup_util_unittest.cc', | 379 'installer/setup/setup_util_unittest.cc', |
| 376 'installer/setup/setup_util_unittest.h', | 380 'installer/setup/setup_util_unittest.h', |
| 377 'installer/setup/update_active_setup_version_work_item.cc', # Move
to lib | |
| 378 'installer/setup/update_active_setup_version_work_item.h', # Move
to lib | |
| 379 'installer/setup/update_active_setup_version_work_item_unittest.cc', | 381 'installer/setup/update_active_setup_version_work_item_unittest.cc', |
| 380 ], | 382 ], |
| 381 'conditions': [ | 383 'conditions': [ |
| 382 ['win_use_allocator_shim==1', { | 384 ['win_use_allocator_shim==1', { |
| 383 'dependencies': [ | 385 'dependencies': [ |
| 384 '<(allocator_target)', | 386 '<(allocator_target)', |
| 385 ], | 387 ], |
| 386 }], | 388 }], |
| 387 ], | 389 ], |
| 388 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 390 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 '../build/isolate.gypi', | 1142 '../build/isolate.gypi', |
| 1141 ], | 1143 ], |
| 1142 'sources': [ | 1144 'sources': [ |
| 1143 'setup_unittests.isolate', | 1145 'setup_unittests.isolate', |
| 1144 ], | 1146 ], |
| 1145 }, | 1147 }, |
| 1146 ], | 1148 ], |
| 1147 }], | 1149 }], |
| 1148 ], | 1150 ], |
| 1149 } | 1151 } |
| OLD | NEW |