diff options
author | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-14 15:22:32 +0000 |
---|---|---|
committer | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-14 15:22:32 +0000 |
commit | 9520e7a5b63915a4c9a3ad50ddeae1c10c8a085b (patch) | |
tree | 8946d5fa4ded438fb8466fa10ff37501a99f57d9 /chrome/chrome_installer.gypi | |
parent | 0e2394a39e6d8030d878f7b480a83bd942d1ff2c (diff) | |
download | chromium_src-9520e7a5b63915a4c9a3ad50ddeae1c10c8a085b.zip chromium_src-9520e7a5b63915a4c9a3ad50ddeae1c10c8a085b.tar.gz chromium_src-9520e7a5b63915a4c9a3ad50ddeae1c10c8a085b.tar.bz2 |
Add support for Linux ASAN packaging.
BUG=154547
Review URL: https://codereview.chromium.org/11066121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_installer.gypi')
-rw-r--r-- | chrome/chrome_installer.gypi | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/chrome/chrome_installer.gypi b/chrome/chrome_installer.gypi index 97cf4c4..a286f47 100644 --- a/chrome/chrome_installer.gypi +++ b/chrome/chrome_installer.gypi @@ -634,6 +634,24 @@ ], }, { + # 'asan' is a developer, testing-only package, so it shouldn't be + # included in the 'linux_packages_all' collection. + 'target_name': 'linux_packages_asan', + 'suppress_wildcard': 1, + 'type': 'none', + 'dependencies': [ + 'linux_packages_asan_deb', + ], + # ChromeOS doesn't care about RPM packages. + 'conditions': [ + ['chromeos==0', { + 'dependencies': [ + 'linux_packages_asan_rpm', + ], + }], + ], + }, + { # 'trunk' is a developer, testing-only package, so it shouldn't be # included in the 'linux_packages_all' collection. 'target_name': 'linux_packages_trunk', @@ -702,6 +720,34 @@ # TODO(mmoss) gyp looping construct would be handy here ... # These package actions are the same except for the 'channel' variable. { + 'target_name': 'linux_packages_asan_deb', + 'suppress_wildcard': 1, + 'type': 'none', + 'dependencies': [ + 'chrome', + 'linux_installer_configs', + ], + 'actions': [ + { + 'variables': { + 'channel': 'asan', + }, + 'action_name': 'deb_packages_<(channel)', + 'process_outputs_as_sources': 1, + 'inputs': [ + '<(deb_build)', + '<@(packaging_files_binaries)', + '<@(packaging_files_common)', + '<@(packaging_files_deb)', + ], + 'outputs': [ + '<(PRODUCT_DIR)/google-chrome-<(channel)_<(version)-r<(revision)_<(deb_arch).deb', + ], + 'action': [ '<@(deb_cmd)', '-c', '<(channel)', ], + }, + ], + }, + { 'target_name': 'linux_packages_trunk_deb', 'suppress_wildcard': 1, 'type': 'none', @@ -814,6 +860,35 @@ ], }, { + 'target_name': 'linux_packages_asan_rpm', + 'suppress_wildcard': 1, + 'type': 'none', + 'dependencies': [ + 'chrome', + 'linux_installer_configs', + ], + 'actions': [ + { + 'variables': { + 'channel': 'asan', + }, + 'action_name': 'rpm_packages_<(channel)', + 'process_outputs_as_sources': 1, + 'inputs': [ + '<(rpm_build)', + '<(PRODUCT_DIR)/installer/rpm/chrome.spec.template', + '<@(packaging_files_binaries)', + '<@(packaging_files_common)', + '<@(packaging_files_rpm)', + ], + 'outputs': [ + '<(PRODUCT_DIR)/google-chrome-<(channel)-<(version)-<(revision).<(rpm_arch).rpm', + ], + 'action': [ '<@(rpm_cmd)', '-c', '<(channel)', ], + }, + ], + }, + { 'target_name': 'linux_packages_trunk_rpm', 'suppress_wildcard': 1, 'type': 'none', |