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
3 # found in the LICENSE file.
7 'lastchange_path': '../build/util/LASTCHANGE',
8 'branding_dir': 'app/theme/<(branding_path_component)',
9 'branding_dir_100': 'app/theme/default_100_percent/<(branding_path_component)',
15 'target_name': 'gcapi_dll',
16 'type': 'loadable_module',
24 'installer/gcapi/gcapi.def',
25 'installer/gcapi/gcapi_dll.cc',
29 'target_name': 'gcapi_lib',
30 'type': 'static_library',
33 '../base/base.gyp:base',
34 '../chrome/chrome.gyp:launcher_support',
35 '../components/components.gyp:variations',
36 '../google_update/google_update.gyp:google_update',
42 'installer/gcapi/gcapi.cc',
43 'installer/gcapi/gcapi.h',
44 'installer/gcapi/gcapi_omaha_experiment.cc',
45 'installer/gcapi/gcapi_omaha_experiment.h',
46 'installer/gcapi/gcapi_reactivation.cc',
47 'installer/gcapi/gcapi_reactivation.h',
49 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
50 'msvs_disabled_warnings': [ 4267, ],
53 'target_name': 'gcapi_test',
60 '../base/base.gyp:base',
61 '../base/base.gyp:test_support_base',
62 '../components/components.gyp:variations',
63 '../testing/gtest.gyp:gtest',
69 'installer/gcapi/gcapi_last_run_test.cc',
70 'installer/gcapi/gcapi_omaha_experiment_test.cc',
71 'installer/gcapi/gcapi_reactivation_test.cc',
72 'installer/gcapi/gcapi_test.cc',
73 'installer/gcapi/gcapi_test.rc',
74 'installer/gcapi/gcapi_test_registry_overrider.cc',
75 'installer/gcapi/gcapi_test_registry_overrider.h',
76 'installer/gcapi/resource.h',
80 # GN version: //chrome/installer/util:installer_util_unittests
81 'target_name': 'installer_util_unittests',
85 'installer_util_strings',
86 'installer/upgrade_test.gyp:alternate_version_generator_lib',
87 '../base/base.gyp:base',
88 '../base/base.gyp:base_i18n',
89 '../base/base.gyp:test_support_base',
90 '../chrome/chrome.gyp:chrome_version_resources',
91 '../components/components.gyp:variations',
92 '../content/content.gyp:content_common',
93 '../testing/gmock.gyp:gmock',
94 '../testing/gtest.gyp:gtest',
100 # List duplicated in GN build.
101 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
102 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_strings.rc',
103 'installer/setup/compat_checks_unittest.cc',
104 'installer/setup/setup_constants.cc',
105 'installer/util/advanced_firewall_manager_win_unittest.cc',
106 'installer/util/beacons_unittest.cc',
107 'installer/util/callback_work_item_unittest.cc',
108 'installer/util/channel_info_unittest.cc',
109 'installer/util/copy_tree_work_item_unittest.cc',
110 'installer/util/create_dir_work_item_unittest.cc',
111 'installer/util/create_reg_key_work_item_unittest.cc',
112 'installer/util/delete_after_reboot_helper_unittest.cc',
113 'installer/util/delete_reg_key_work_item_unittest.cc',
114 'installer/util/delete_reg_value_work_item_unittest.cc',
115 'installer/util/delete_tree_work_item_unittest.cc',
116 'installer/util/duplicate_tree_detector_unittest.cc',
117 'installer/util/fake_installation_state.h',
118 'installer/util/fake_product_state.h',
119 'installer/util/google_update_settings_unittest.cc',
120 'installer/util/install_util_unittest.cc',
121 'installer/util/installation_validation_helper.cc',
122 'installer/util/installation_validation_helper.h',
123 'installer/util/installation_validator_unittest.cc',
124 'installer/util/installer_state_unittest.cc',
125 'installer/util/installer_util_test_common.cc',
126 'installer/util/installer_util_test_common.h',
127 'installer/util/language_selector_unittest.cc',
128 'installer/util/legacy_firewall_manager_win_unittest.cc',
129 'installer/util/logging_installer_unittest.cc',
130 'installer/util/lzma_util_unittest.cc',
131 'installer/util/master_preferences_unittest.cc',
132 'installer/util/move_tree_work_item_unittest.cc',
133 'installer/util/product_state_unittest.cc',
134 'installer/util/product_unittest.cc',
135 'installer/util/registry_key_backup_unittest.cc',
136 'installer/util/registry_test_data.cc',
137 'installer/util/registry_test_data.h',
138 'installer/util/run_all_unittests.cc',
139 'installer/util/self_cleaning_temp_dir_unittest.cc',
140 'installer/util/set_reg_value_work_item_unittest.cc',
141 'installer/util/shell_util_unittest.cc',
142 'installer/util/test_app_registration_data.cc',
143 'installer/util/test_app_registration_data.h',
144 'installer/util/uninstall_metrics_unittest.cc',
145 'installer/util/wmi_unittest.cc',
146 'installer/util/work_item_list_unittest.cc',
150 'AdditionalManifestFiles': [
151 '$(ProjectDir)\\installer\\mini_installer\\mini_installer.exe.manifest',
157 # GN version: //chrome/installer/util:strings
158 'target_name': 'installer_util_strings',
162 'action_name': 'installer_util_strings',
164 'create_string_rc_py': 'installer/util/prebuild/create_string_rc.py',
165 'brand_strings': '<(branding_path_component)_strings',
166 'gen_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util',
170 '<(create_string_rc_py)',
171 'app/<(brand_strings).grd',
174 '<(gen_dir)/installer_util_strings.h',
175 '<(gen_dir)/installer_util_strings.rc',
178 '<(create_string_rc_py)',
179 '-i', 'app/<(brand_strings).grd:resources',
180 '-n', 'installer_util_strings',
181 '-o', '<(gen_dir)',],
182 'message': 'Generating installer_util_strings',
185 'direct_dependent_settings': {
187 '<(SHARED_INTERMEDIATE_DIR)',
192 # GN version: //chrome/installer/launcher_support
193 'target_name': 'launcher_support',
194 'type': 'static_library',
198 'direct_dependent_settings': {
204 '<(DEPTH)/base/base.gyp:base',
207 'installer/launcher_support/chrome_launcher_support.cc',
208 'installer/launcher_support/chrome_launcher_support.h',
212 # GN version: //chrome/installer/setup
213 'target_name': 'setup',
214 'type': 'executable',
216 'chrome_version_header',
218 'installer_util_strings',
219 '../base/base.gyp:base',
220 '../breakpad/breakpad.gyp:breakpad_handler',
221 '../chrome/common_constants.gyp:common_constants',
222 '../chrome_elf/chrome_elf.gyp:chrome_elf_constants',
223 '../rlz/rlz.gyp:rlz_lib',
224 '../third_party/zlib/zlib.gyp:zlib',
228 '<(INTERMEDIATE_DIR)',
229 '<(SHARED_INTERMEDIATE_DIR)/setup',
231 'direct_dependent_settings': {
233 '<(SHARED_INTERMEDIATE_DIR)/setup',
237 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_strings.rc',
238 'installer/mini_installer/chrome.release',
239 'installer/setup/app_launcher_installer.cc',
240 'installer/setup/app_launcher_installer.h',
241 'installer/setup/archive_patch_helper.cc',
242 'installer/setup/archive_patch_helper.h',
243 'installer/setup/install.cc',
244 'installer/setup/install.h',
245 'installer/setup/install_worker.cc',
246 'installer/setup/install_worker.h',
247 'installer/setup/setup.ico',
248 'installer/setup/setup.rc',
249 'installer/setup/setup_constants.cc',
250 'installer/setup/setup_constants.h',
251 'installer/setup/setup_exe_version.rc.version',
252 'installer/setup/setup_main.cc',
253 'installer/setup/setup_main.h',
254 'installer/setup/setup_resource.h',
255 'installer/setup/setup_util.cc',
256 'installer/setup/setup_util.h',
257 'installer/setup/uninstall.cc',
258 'installer/setup/uninstall.h',
259 'installer/setup/update_active_setup_version_work_item.cc',
260 'installer/setup/update_active_setup_version_work_item.h',
264 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
267 'AdditionalManifestFiles': [
268 '$(ProjectDir)\\installer\\setup\\setup.exe.manifest',
274 'rule_name': 'setup_version',
275 'extension': 'version',
277 'version_py_path': '<(DEPTH)/build/util/version.py',
278 'template_input_path': 'installer/setup/setup_exe_version.rc.version',
281 '<(template_input_path)',
283 '<(lastchange_path)',
284 '<(branding_dir)/BRANDING',
287 '<(SHARED_INTERMEDIATE_DIR)/setup/setup_exe_version.rc',
290 'python', '<(version_py_path)',
291 '-f', '<(version_path)',
292 '-f', '<(lastchange_path)',
293 '-f', '<(branding_dir)/BRANDING',
294 '<(template_input_path)',
297 'process_outputs_as_sources': 1,
298 'message': 'Generating version information'
302 ['target_arch=="ia32"', {
304 'VCCLCompilerTool': {
305 'EnableEnhancedInstructionSet': '4', # NoExtensions
312 # GN version: //chrome/installer/setup:setup_unittests
313 'target_name': 'setup_unittests',
314 'type': 'executable',
317 'installer_util_strings',
318 '../base/base.gyp:base',
319 '../base/base.gyp:base_i18n',
320 '../base/base.gyp:test_support_base',
321 '../testing/gmock.gyp:gmock',
322 '../testing/gtest.gyp:gtest',
326 '<(INTERMEDIATE_DIR)',
328 # TODO(robertshield): Move the items marked with "Move to lib"
329 # below into a separate lib and then link both setup.exe and
330 # setup_unittests.exe against that.
332 '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/util/installer_util_strings.rc',
333 'installer/mini_installer/chrome.release', # Move to lib
334 'installer/mini_installer/appid.h',
335 'installer/mini_installer/chrome_appid.cc',
336 'installer/mini_installer/configuration.cc',
337 'installer/mini_installer/configuration.h',
338 'installer/mini_installer/configuration_test.cc',
339 'installer/mini_installer/decompress.cc',
340 'installer/mini_installer/decompress.h',
341 'installer/mini_installer/decompress_test.cc',
342 'installer/mini_installer/mini_installer_constants.cc',
343 'installer/mini_installer/mini_installer_constants.h',
344 'installer/mini_installer/mini_string.cc',
345 'installer/mini_installer/mini_string.h',
346 'installer/mini_installer/mini_string_test.cc',
347 'installer/mini_installer/regkey.cc',
348 'installer/mini_installer/regkey.h',
349 'installer/setup/app_launcher_installer.cc', # Move to lib
350 'installer/setup/app_launcher_installer.h', # Move to lib
351 'installer/setup/archive_patch_helper.cc', # Move to lib
352 'installer/setup/archive_patch_helper.h', # Move to lib
353 'installer/setup/archive_patch_helper_unittest.cc',
354 'installer/setup/install.cc', # Move to lib
355 'installer/setup/install.h', # Move to lib
356 'installer/setup/install_unittest.cc',
357 'installer/setup/install_worker.cc', # Move to lib
358 'installer/setup/install_worker.h', # Move to lib
359 'installer/setup/install_worker_unittest.cc',
360 'installer/setup/run_all_unittests.cc',
361 'installer/setup/setup_constants.cc', # Move to lib
362 'installer/setup/setup_constants.h', # Move to lib
363 'installer/setup/setup_util.cc',
364 'installer/setup/setup_util_unittest.cc',
365 'installer/setup/setup_util_unittest.h',
366 'installer/setup/update_active_setup_version_work_item.cc', # Move to lib
367 'installer/setup/update_active_setup_version_work_item.h', # Move to lib
368 'installer/setup/update_active_setup_version_work_item_unittest.cc',
370 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
371 'msvs_disabled_warnings': [ 4267, ],
375 ['OS=="win" and target_arch=="ia32"', {
378 'target_name': 'launcher_support64',
379 'type': 'static_library',
383 'direct_dependent_settings': {
389 '<@(nacl_win64_defines)',
392 '<(DEPTH)/base/base.gyp:base_win64',
396 'msvs_target_platform': 'x64',
400 'installer/launcher_support/chrome_launcher_support.cc',
401 'installer/launcher_support/chrome_launcher_support.h',
406 ['OS=="linux" and branding=="Chrome"', {
408 # Always google_chrome since this only applies to branding==Chrome.
409 'branding_dir': 'app/theme/google_chrome',
410 'branding_dir_100': 'app/theme/default_100_percent/google_chrome',
411 'version' : '<!(python <(version_py_path) -f ../chrome/VERSION -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")',
412 'revision' : '<!(python ../build/util/lastchange.py --revision-only)',
413 'packaging_files_common': [
414 'installer/linux/common/apt.include',
415 'installer/linux/common/default-app.template',
416 'installer/linux/common/default-app-block.template',
417 'installer/linux/common/desktop.template',
418 'installer/linux/common/google-chrome/google-chrome.info',
419 'installer/linux/common/installer.include',
420 'installer/linux/common/postinst.include',
421 'installer/linux/common/prerm.include',
422 'installer/linux/common/repo.cron',
423 'installer/linux/common/rpm.include',
424 'installer/linux/common/rpmrepo.cron',
425 'installer/linux/common/symlinks.include',
426 'installer/linux/common/variables.include',
427 'installer/linux/common/wrapper',
429 'packaging_files_deb': [
430 'installer/linux/debian/build.sh',
431 'installer/linux/debian/changelog.template',
432 'installer/linux/debian/control.template',
433 'installer/linux/debian/debian.menu',
434 'installer/linux/debian/expected_deps_ia32',
435 'installer/linux/debian/expected_deps_x64',
436 'installer/linux/debian/postinst',
437 'installer/linux/debian/postrm',
438 'installer/linux/debian/prerm',
440 'packaging_files_rpm': [
441 'installer/linux/rpm/build.sh',
442 'installer/linux/rpm/chrome.spec.template',
443 'installer/linux/rpm/expected_deps_i386',
444 'installer/linux/rpm/expected_deps_x86_64',
446 'packaging_files_binaries': [
447 # TODO(mmoss) Any convenient way to get all the relevant build
448 # files? (e.g. all locales, resources, etc.)
449 '<(PRODUCT_DIR)/chrome',
450 '<(PRODUCT_DIR)/chrome_sandbox',
451 '<(PRODUCT_DIR)/xdg-mime',
452 '<(PRODUCT_DIR)/xdg-settings',
453 '<(PRODUCT_DIR)/locales/en-US.pak',
454 '<(PRODUCT_DIR)/nacl_helper',
455 '<(PRODUCT_DIR)/nacl_helper_bootstrap',
456 '<(PRODUCT_DIR)/PepperFlash/libpepflashplayer.so',
457 '<(PRODUCT_DIR)/PepperFlash/manifest.json',
458 '<@(default_apps_list_linux_dest)',
460 'flock_bash': ['flock', '--', '/tmp/linux_package_lock', 'bash'],
461 'deb_build': '<(PRODUCT_DIR)/installer/debian/build.sh',
462 'rpm_build': '<(PRODUCT_DIR)/installer/rpm/build.sh',
463 # The script expects either "google_chrome" or "chromium" for -d,
464 # which is also what branding_path_component contains.
465 'deb_cmd': ['<@(flock_bash)', '<(deb_build)', '-o' '<(PRODUCT_DIR)',
466 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)',
467 '-d', '<(branding_path_component)'],
468 'rpm_cmd': ['<@(flock_bash)', '<(rpm_build)', '-o' '<(PRODUCT_DIR)',
469 '-b', '<(PRODUCT_DIR)', '-a', '<(target_arch)',
470 '-d', '<(branding_path_component)'],
472 ['target_arch=="ia32"', {
475 'packaging_files_binaries': [
476 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe',
477 '<(PRODUCT_DIR)/libwidevinecdmadapter.so',
478 '<(PRODUCT_DIR)/libwidevinecdm.so',
480 'packaging_files_common': [
481 '<(DEPTH)/build/linux/bin/eu-strip',
484 ['target_arch=="x64"', {
486 'rpm_arch': 'x86_64',
487 'packaging_files_binaries': [
488 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
489 '<(PRODUCT_DIR)/libwidevinecdmadapter.so',
490 '<(PRODUCT_DIR)/libwidevinecdm.so',
492 'packaging_files_common': [
493 '<!(which eu-strip)',
496 ['target_arch=="arm"', {
501 'packaging_files_binaries': [
502 '<(PRODUCT_DIR)/lib/libc++.so',
509 'target_name': 'linux_installer_configs',
511 # Add these files to the build output so the build archives will be
512 # "hermetic" for packaging. This is only for branding="Chrome" since
513 # we only create packages for official builds.
516 # GN version: //chrome/installer/linux:deb_packaging_files
517 'destination': '<(PRODUCT_DIR)/installer/debian/',
519 '<@(packaging_files_deb)',
523 # GN version: //chrome/installer/linux:rpm_packaging_files
524 'destination': '<(PRODUCT_DIR)/installer/rpm/',
526 '<@(packaging_files_rpm)',
530 # GN version: //chrome/installer/linux:common_packaging_files
531 'destination': '<(PRODUCT_DIR)/installer/common/',
533 '<@(packaging_files_common)',
536 # Additional theme resources needed for package building.
538 # GN version: //chrome/installer/linux:theme_files
539 'destination': '<(PRODUCT_DIR)/installer/theme/',
541 '<(branding_dir)/linux/product_logo_32.xpm',
542 '<(branding_dir_100)/product_logo_16.png',
543 '<(branding_dir)/product_logo_22.png',
544 '<(branding_dir)/product_logo_24.png',
545 '<(branding_dir_100)/product_logo_32.png',
546 '<(branding_dir)/product_logo_48.png',
547 '<(branding_dir)/product_logo_64.png',
548 '<(branding_dir)/product_logo_128.png',
549 '<(branding_dir)/product_logo_256.png',
550 '<(branding_dir)/BRANDING',
556 # GN version: //chrome/installer/linux:save_build_info
557 'action_name': 'save_build_info',
559 '<(branding_dir)/BRANDING',
561 '<(lastchange_path)',
564 '<(PRODUCT_DIR)/installer/version.txt',
566 # Just output the default version info variables.
568 'python', '<(version_py_path)',
569 '-f', '<(branding_dir)/BRANDING',
570 '-f', '<(version_path)',
571 '-f', '<(lastchange_path)',
578 # GN version: //chrome/installer/linux
579 'target_name': 'linux_packages_all',
580 'suppress_wildcard': 1,
583 'linux_packages_unstable',
584 'linux_packages_beta',
585 'linux_packages_stable',
589 # 'asan' is a developer, testing-only package, so it shouldn't be
590 # included in the 'linux_packages_all' collection.
591 'target_name': 'linux_packages_asan',
592 'suppress_wildcard': 1,
595 'linux_packages_asan_deb',
597 # ChromeOS doesn't care about RPM packages.
601 'linux_packages_asan_rpm',
607 # 'trunk' is a developer, testing-only package, so it shouldn't be
608 # included in the 'linux_packages_all' collection.
609 'target_name': 'linux_packages_trunk',
610 'suppress_wildcard': 1,
613 'linux_packages_trunk_deb',
615 # ChromeOS doesn't care about RPM packages.
619 'linux_packages_trunk_rpm',
625 # GN version: //chrome/installer/linux:unstable
626 'target_name': 'linux_packages_unstable',
627 'suppress_wildcard': 1,
630 'linux_packages_unstable_deb',
632 # ChromeOS doesn't care about RPM packages.
636 'linux_packages_unstable_rpm',
642 # GN version: //chrome/installer/linux:beta
643 'target_name': 'linux_packages_beta',
644 'suppress_wildcard': 1,
647 'linux_packages_beta_deb',
649 # ChromeOS doesn't care about RPM packages.
653 'linux_packages_beta_rpm',
659 # GN version: //chrome/installer/linux:stable
660 'target_name': 'linux_packages_stable',
661 'suppress_wildcard': 1,
664 'linux_packages_stable_deb',
666 # ChromeOS doesn't care about RPM packages.
670 'linux_packages_stable_rpm',
675 # TODO(mmoss) gyp looping construct would be handy here ...
676 # These package actions are the same except for the 'channel' variable.
678 # GN version: //chrome/installer/linux:asan
679 'target_name': 'linux_packages_asan_deb',
680 'suppress_wildcard': 1,
684 'linux_installer_configs',
691 'action_name': 'deb_packages_<(channel)',
692 'process_outputs_as_sources': 1,
695 '<@(packaging_files_binaries)',
696 '<@(packaging_files_common)',
697 '<@(packaging_files_deb)',
700 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch).deb',
702 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
707 # GN version: //chrome/installer/linux:trunk
708 'target_name': 'linux_packages_trunk_deb',
709 'suppress_wildcard': 1,
713 'linux_installer_configs',
720 'action_name': 'deb_packages_<(channel)',
721 'process_outputs_as_sources': 1,
724 '<@(packaging_files_binaries)',
725 '<@(packaging_files_common)',
726 '<@(packaging_files_deb)',
729 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch).deb',
731 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
736 # GN version: //chrome/installer/linux:unstable
737 'target_name': 'linux_packages_unstable_deb',
738 'suppress_wildcard': 1,
742 'linux_installer_configs',
747 'channel': 'unstable',
749 'action_name': 'deb_packages_<(channel)',
750 'process_outputs_as_sources': 1,
753 '<@(packaging_files_binaries)',
754 '<@(packaging_files_common)',
755 '<@(packaging_files_deb)',
758 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch).deb',
760 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
765 # GN version: //chrome/installer/linux:beta
766 'target_name': 'linux_packages_beta_deb',
767 'suppress_wildcard': 1,
771 'linux_installer_configs',
778 'action_name': 'deb_packages_<(channel)',
779 'process_outputs_as_sources': 1,
782 '<@(packaging_files_binaries)',
783 '<@(packaging_files_common)',
784 '<@(packaging_files_deb)',
787 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch).deb',
789 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
794 # GN version: //chrome/installer/linux:stable
795 'target_name': 'linux_packages_stable_deb',
796 'suppress_wildcard': 1,
800 'linux_installer_configs',
807 'action_name': 'deb_packages_<(channel)',
808 'process_outputs_as_sources': 1,
811 '<@(packaging_files_binaries)',
812 '<@(packaging_files_common)',
813 '<@(packaging_files_deb)',
816 '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-1_<(deb_arch).deb',
818 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ],
823 # GN version: //chrome/installer/linux:asan
824 'target_name': 'linux_packages_asan_rpm',
825 'suppress_wildcard': 1,
829 'linux_installer_configs',
836 'action_name': 'rpm_packages_<(channel)',
837 'process_outputs_as_sources': 1,
840 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
841 '<@(packaging_files_binaries)',
842 '<@(packaging_files_common)',
843 '<@(packaging_files_rpm)',
846 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch).rpm',
848 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
853 # GN version: //chrome/installer/linux:trunk
854 'target_name': 'linux_packages_trunk_rpm',
855 'suppress_wildcard': 1,
859 'linux_installer_configs',
866 'action_name': 'rpm_packages_<(channel)',
867 'process_outputs_as_sources': 1,
870 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
871 '<@(packaging_files_binaries)',
872 '<@(packaging_files_common)',
873 '<@(packaging_files_rpm)',
876 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch).rpm',
878 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
883 # GN version: //chrome/installer/linux:unstable
884 'target_name': 'linux_packages_unstable_rpm',
885 'suppress_wildcard': 1,
889 'linux_installer_configs',
894 'channel': 'unstable',
896 'action_name': 'rpm_packages_<(channel)',
897 'process_outputs_as_sources': 1,
900 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
901 '<@(packaging_files_binaries)',
902 '<@(packaging_files_common)',
903 '<@(packaging_files_rpm)',
906 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch).rpm',
908 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
913 # GN version: //chrome/installer/linux:beta
914 'target_name': 'linux_packages_beta_rpm',
915 'suppress_wildcard': 1,
919 'linux_installer_configs',
926 'action_name': 'rpm_packages_<(channel)',
927 'process_outputs_as_sources': 1,
930 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
931 '<@(packaging_files_binaries)',
932 '<@(packaging_files_common)',
933 '<@(packaging_files_rpm)',
936 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch).rpm',
938 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
943 # GN version: //chrome/installer/linux:stable
944 'target_name': 'linux_packages_stable_rpm',
945 'suppress_wildcard': 1,
949 'linux_installer_configs',
956 'action_name': 'rpm_packages_<(channel)',
957 'process_outputs_as_sources': 1,
960 '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template',
961 '<@(packaging_files_binaries)',
962 '<@(packaging_files_common)',
963 '<@(packaging_files_rpm)',
966 '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-1.<(rpm_arch).rpm',
968 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ],
977 '<(PRODUCT_DIR)/<(mac_product_name) Packaging',
978 # <(PRODUCT_DIR) expands to $(BUILT_PRODUCTS_DIR), which doesn't
979 # work properly in a shell script, where ${BUILT_PRODUCTS_DIR} is
981 'mac_packaging_sh_dir':
982 '${BUILT_PRODUCTS_DIR}/<(mac_product_name) Packaging',
986 'target_name': 'installer_packaging',
989 'installer/mac/third_party/bsdiff/goobsdiff.gyp:*',
990 'installer/mac/third_party/xz/xz.gyp:*',
993 ['buildtype=="Official"', {
996 # Create sign.sh, the script that the packaging system will
997 # use to sign the .app bundle.
998 'action_name': 'Make sign.sh',
1000 'make_signers_sh_path': 'installer/mac/make_signers.sh',
1003 '<(make_signers_sh_path)',
1004 'installer/mac/sign_app.sh.in',
1005 'installer/mac/sign_versioned_dir.sh.in',
1006 'installer/mac/app_resource_rules.plist.in',
1010 '<(mac_packaging_dir)/sign_app.sh',
1011 '<(mac_packaging_dir)/sign_versioned_dir.sh',
1012 '<(mac_packaging_dir)/app_resource_rules.plist',
1015 '<(make_signers_sh_path)',
1016 '<(mac_packaging_sh_dir)',
1017 '<(mac_product_name)',
1022 }], # buildtype=="Official"
1026 # Put the files where the packaging system will find them. The
1027 # packager will use these when building the "full installer"
1028 # disk images and delta/differential update disk images.
1029 'destination': '<(mac_packaging_dir)',
1031 '<(PRODUCT_DIR)/goobsdiff',
1032 '<(PRODUCT_DIR)/goobspatch',
1033 '<(PRODUCT_DIR)/liblzma_decompress.dylib',
1034 '<(PRODUCT_DIR)/xz',
1035 '<(PRODUCT_DIR)/xzdec',
1036 'installer/mac/dirdiffer.sh',
1037 'installer/mac/dirpatcher.sh',
1038 'installer/mac/dmgdiffer.sh',
1039 'installer/mac/pkg-dmg',
1042 ['mac_keystone==1', {
1044 'installer/mac/keystone_install.sh',
1047 ['branding=="Chrome" and buildtype=="Official"', {
1049 'app/theme/google_chrome/mac/app_canary.icns',
1050 'app/theme/google_chrome/mac/document_canary.icns',
1051 'installer/mac/internal/chrome_canary_dmg_dsstore',
1052 'installer/mac/internal/chrome_canary_dmg_icon.icns',
1053 'installer/mac/internal/chrome_dmg_background.png',
1054 'installer/mac/internal/chrome_dmg_dsstore',
1055 'installer/mac/internal/chrome_dmg_icon.icns',
1056 'installer/mac/internal/generate_dmgs',
1058 }], # branding=="Chrome" and buildtype=="Official"
1062 }, # target: installer_packaging
1064 'target_name': 'gcapi_lib',
1065 'type': 'static_library',
1070 'installer/gcapi_mac/gcapi.h',
1071 'installer/gcapi_mac/gcapi.mm',
1075 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
1079 'ARCHS': [ 'i386', 'x86_64' ],
1080 'MACOSX_DEPLOYMENT_TARGET': '10.5',
1081 'GCC_ENABLE_OBJC_GC': 'supported',
1085 'target_name': 'gcapi_example',
1086 'type': 'executable',
1094 'installer/gcapi_mac/gcapi_example_client.mm',
1099 ['OS=="win" and test_isolation_mode != "noop"', {
1102 'target_name': 'installer_util_unittests_run',
1105 'installer_util_unittests',
1108 '../build/isolate.gypi',
1111 'installer_util_unittests.isolate',
1115 'target_name': 'setup_unittests_run',
1121 '../build/isolate.gypi',
1124 'setup_unittests.isolate',