Chromium Code Reviews| Index: remoting/remoting.gyp |
| =================================================================== |
| --- remoting/remoting.gyp (revision 133303) |
| +++ remoting/remoting.gyp (working copy) |
| @@ -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,26 @@ |
| 'target_name': 'remoting_host_uninstaller', |
| 'type': 'executable', |
| 'mac_bundle': 1, |
| + 'variables': { |
| + 'copyright': 'Copyright © 2012 The Chromium Authors. All rights reserved.', |
|
Jamie
2012/04/23 21:19:48
I don't recall seeing non-ASCII in gyp files befor
|
| + 'bundle_id': 'org.chromium.remoting.host_uninstaller', |
| + 'bundle_name': 'Chromoting Host Uninstaller', |
| + }, |
| + 'conditions': [ |
| + ['branding == "Chrome"', { |
| + 'variables': { |
| + 'copyright': 'Copyright © 2012 Google Inc. All Rights Reserved.', |
| + 'bundle_id': 'com.google.chromeremotedesktop.host_uninstaller', |
| + 'bundle_name': 'Chrome Remote Desktop Host Uninstaller', |
| + }, |
| + }, { # else branding!="Chrome" |
| + 'variables': { |
| + 'copyright': 'Copyright © 2012 The Chromium Authors. All rights reserved.', |
| + 'bundle_id': 'org.chromium.remoting.host_uninstaller', |
| + 'bundle_name': 'Chromoting Host Uninstaller', |
| + }, |
| + }], |
| + ], |
| 'dependencies': [ |
| '<(DEPTH)/base/base.gyp:base', |
| ], |
| @@ -241,8 +264,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="<(copyright)"', |
| }, |
| 'mac_bundle_resources': [ |
| 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |