diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 18:34:49 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 18:34:49 +0000 |
commit | 5fa8a7078cfd464446c0b347ee6617b6e3c98a11 (patch) | |
tree | 15a95b47b17881324868e47e61193df559c31db0 /chrome/chrome.gyp | |
parent | 2f89e6a204ace2e53d2ddae7d6bd940e749c3b42 (diff) | |
download | chromium_src-5fa8a7078cfd464446c0b347ee6617b6e3c98a11.zip chromium_src-5fa8a7078cfd464446c0b347ee6617b6e3c98a11.tar.gz chromium_src-5fa8a7078cfd464446c0b347ee6617b6e3c98a11.tar.bz2 |
linux: generate a manpage
This is not intended to be complete; hopefully we can iterate from here.
Review URL: http://codereview.chromium.org/159198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 8c930c4..4448e28 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -2706,6 +2706,40 @@ }, 'conditions': [ ['OS=="linux"', { + 'actions': [ + { + 'action_name': 'manpage', + 'conditions': [ + [ 'branding == "Chrome"', { + 'variables': { + 'name': 'Google Chrome', + 'filename': 'google-chrome', + }, + }, { # else branding!="Chrome" + 'variables': { + 'name': 'Chromium', + 'filename': 'chromium-browser', + }, + }], + ], + 'inputs': [ + 'tools/build/linux/sed.sh', + 'app/resources/manpage.1.in', + ], + 'outputs': [ + '<(PRODUCT_DIR)/<(filename).1', + ], + 'action': [ + 'tools/build/linux/sed.sh', + 'app/resources/manpage.1.in', + '<@(_outputs)', + '-e', 's/@@NAME@@/<(name)/', + '-e', 's/@@FILENAME@@/<(filename)/', + ], + 'message': 'Generating manpage' + }, + ], + 'conditions': [ # All Chrome builds have breakpad symbols, but only process the # symbols from official builds. |