| OLD | NEW |
| 1 | 1 |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 { | 6 { |
| 7 'variables': { | 7 'variables': { |
| 8 # TODO(dmaclach): can we pick this up some other way? Right now it's | 8 # TODO(dmaclach): can we pick this up some other way? Right now it's |
| 9 # duplicated from chrome.gyp | 9 # duplicated from chrome.gyp |
| 10 'chromium_code': 1, | 10 'chromium_code': 1, |
| 11 # Use consistent strings across all platforms. Note that the plugin name | 11 # Use consistent strings across all platforms. Note that the plugin name |
| 12 # is brand-dependent and is defined further down. | 12 # is brand-dependent and is defined further down. |
| 13 # Must match host/plugin/constants.h | 13 # Must match host/plugin/constants.h |
| 14 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 14 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
| 15 'host_plugin_description': 'Allow another user to access your computer secur
ely over the Internet.', | 15 'host_plugin_description': 'Allow another user to access your computer secur
ely over the Internet.', |
| 16 | 16 |
| 17 # The version is composed from major & minor versions specific to remoting | 17 # The version is composed from major & minor versions specific to remoting |
| 18 # and build & patch versions inherited from Chrome. | 18 # and build & patch versions inherited from Chrome. |
| 19 'version_py_path': '../chrome/tools/build/version.py', | 19 'version_py_path': '../chrome/tools/build/version.py', |
| 20 'version_path': '../remoting/VERSION', | 20 'version_path': '../remoting/VERSION', |
| 21 'chrome_version_path': '../chrome/VERSION', | 21 'chrome_version_path': '../chrome/VERSION', |
| 22 'version_full': | 22 'version_full': |
| 23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' | 23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' |
| 24 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@.@PATCH
@")', | 24 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@.@PATCH
@")', |
| 25 'version_short': |
| 26 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' |
| 27 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")', |
| 25 | 28 |
| 26 'conditions': [ | 29 'conditions': [ |
| 27 ['OS=="mac"', { | 30 ['OS=="mac"', { |
| 28 'conditions': [ | 31 'conditions': [ |
| 29 ['branding=="Chrome"', { | 32 ['branding=="Chrome"', { |
| 30 'mac_bundle_id': 'com.google.Chrome', | 33 'mac_bundle_id': 'com.google.Chrome', |
| 31 'mac_creator': 'rimZ', | 34 'mac_creator': 'rimZ', |
| 32 }, { # else: branding!="Chrome" | 35 }, { # else: branding!="Chrome" |
| 33 'mac_bundle_id': 'org.chromium.Chromium', | 36 'mac_bundle_id': 'org.chromium.Chromium', |
| 34 'mac_creator': 'Cr24', | 37 'mac_creator': 'Cr24', |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 }, # end of target 'linux_symbols' | 230 }, # end of target 'linux_symbols' |
| 228 ], # end of 'targets' | 231 ], # end of 'targets' |
| 229 }], # 'OS=="linux"' | 232 }], # 'OS=="linux"' |
| 230 | 233 |
| 231 ['OS=="mac"', { | 234 ['OS=="mac"', { |
| 232 'targets': [ | 235 'targets': [ |
| 233 { | 236 { |
| 234 'target_name': 'remoting_host_uninstaller', | 237 'target_name': 'remoting_host_uninstaller', |
| 235 'type': 'executable', | 238 'type': 'executable', |
| 236 'mac_bundle': 1, | 239 'mac_bundle': 1, |
| 240 'conditions': [ |
| 241 ['branding == "Chrome"', { |
| 242 'variables': { |
| 243 'copyright_by': 'Google Inc.', |
| 244 'bundle_id': 'com.google.chromeremotedesktop.host_uninstaller', |
| 245 'bundle_name': 'Chrome Remote Desktop Host Uninstaller', |
| 246 }, |
| 247 }, { # else branding!="Chrome" |
| 248 'variables': { |
| 249 'copyright_by': 'The Chromium Authors.', |
| 250 'bundle_id': 'org.chromium.remoting.host_uninstaller', |
| 251 'bundle_name': 'Chromoting Host Uninstaller', |
| 252 }, |
| 253 }], |
| 254 ], |
| 237 'dependencies': [ | 255 'dependencies': [ |
| 238 '<(DEPTH)/base/base.gyp:base', | 256 '<(DEPTH)/base/base.gyp:base', |
| 239 ], | 257 ], |
| 240 'sources': [ | 258 'sources': [ |
| 241 'host/installer/mac/uninstaller/remoting_uninstaller_delegate.mm', | 259 'host/installer/mac/uninstaller/remoting_uninstaller_delegate.mm', |
| 242 ], | 260 ], |
| 243 'xcode_settings': { | 261 'xcode_settings': { |
| 244 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | |
| 245 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', | 262 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall
er-Info.plist', |
| 263 'INFOPLIST_PREPROCESS': 'YES', |
| 264 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun
dle_id)" COPYRIGHT_BY="<(copyright_by)"', |
| 246 }, | 265 }, |
| 247 'mac_bundle_resources': [ | 266 'mac_bundle_resources': [ |
| 248 'host/installer/mac/uninstaller/remoting_uninstaller.xib', | 267 'host/installer/mac/uninstaller/remoting_uninstaller.xib', |
| 249 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 268 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
| 250 ], | 269 ], |
| 251 'mac_bundle_resources!': [ | 270 'mac_bundle_resources!': [ |
| 252 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', | 271 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', |
| 253 ], | 272 ], |
| 254 }, # end of target 'remoting_host_uninstaller' | 273 }, # end of target 'remoting_host_uninstaller' |
| 255 ], # end of 'targets' | 274 ], # end of 'targets' |
| (...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1521 '../base/allocator/allocator.gyp:allocator', | 1540 '../base/allocator/allocator.gyp:allocator', |
| 1522 ], | 1541 ], |
| 1523 }, | 1542 }, |
| 1524 ], | 1543 ], |
| 1525 ], | 1544 ], |
| 1526 }], | 1545 }], |
| 1527 ], # end of 'conditions' | 1546 ], # end of 'conditions' |
| 1528 }, # end of target 'remoting_unittests' | 1547 }, # end of target 'remoting_unittests' |
| 1529 ], # end of targets | 1548 ], # end of targets |
| 1530 } | 1549 } |
| OLD | NEW |