diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 22:19:09 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 22:19:09 +0000 |
commit | f0981d4590406df9ce186eec31d517595a29abe6 (patch) | |
tree | 0e242d80f9c1c381475e761a242fb6ade09b4ffa /remoting/remoting.gyp | |
parent | 597cca9e6491bf3f38a4ee348d8b33142a635334 (diff) | |
download | chromium_src-f0981d4590406df9ce186eec31d517595a29abe6.zip chromium_src-f0981d4590406df9ce186eec31d517595a29abe6.tar.gz chromium_src-f0981d4590406df9ce186eec31d517595a29abe6.tar.bz2 |
[Chromoting] Add brand and version to Chromoting Host Uninstaller builds.
Review URL: https://chromiumcodereview.appspot.com/10180006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r-- | remoting/remoting.gyp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index 9519abd..4d45d1c 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -22,6 +22,9 @@ 'version_full': '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@.@PATCH@")', + 'version_short': + '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' + '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")', 'conditions': [ ['OS=="mac"', { @@ -234,6 +237,21 @@ 'target_name': 'remoting_host_uninstaller', 'type': 'executable', 'mac_bundle': 1, + 'conditions': [ + ['branding == "Chrome"', { + 'variables': { + 'copyright_by': 'Google Inc.', + 'bundle_id': 'com.google.chromeremotedesktop.host_uninstaller', + 'bundle_name': 'Chrome Remote Desktop Host Uninstaller', + }, + }, { # else branding!="Chrome" + 'variables': { + 'copyright_by': 'The Chromium Authors.', + 'bundle_id': 'org.chromium.remoting.host_uninstaller', + 'bundle_name': 'Chromoting Host Uninstaller', + }, + }], + ], 'dependencies': [ '<(DEPTH)/base/base.gyp:base', ], @@ -241,8 +259,9 @@ 'host/installer/mac/uninstaller/remoting_uninstaller_delegate.mm', ], 'xcode_settings': { - 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', + 'INFOPLIST_PREPROCESS': 'YES', + 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bundle_id)" COPYRIGHT_BY="<(copyright_by)"', }, 'mac_bundle_resources': [ 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |