Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Side by Side Diff: remoting/remoting.gyp

Issue 10180006: [Chromoting] Add brand and version to Chromoting Host Uninstaller builds. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/installer/mac/uninstaller/remoting_uninstaller-Info.plist ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 'variables': {
241 'copyright': 'Copyright © 2012 The Chromium Authors. All rights rese rved.',
Jamie 2012/04/23 21:19:48 I don't recall seeing non-ASCII in gyp files befor
242 'bundle_id': 'org.chromium.remoting.host_uninstaller',
243 'bundle_name': 'Chromoting Host Uninstaller',
244 },
245 'conditions': [
246 ['branding == "Chrome"', {
247 'variables': {
248 'copyright': 'Copyright © 2012 Google Inc. All Rights Reserved .',
249 'bundle_id': 'com.google.chromeremotedesktop.host_uninstaller',
250 'bundle_name': 'Chrome Remote Desktop Host Uninstaller',
251 },
252 }, { # else branding!="Chrome"
253 'variables': {
254 'copyright': 'Copyright © 2012 The Chromium Authors. All rights reserved.',
255 'bundle_id': 'org.chromium.remoting.host_uninstaller',
256 'bundle_name': 'Chromoting Host Uninstaller',
257 },
258 }],
259 ],
237 'dependencies': [ 260 'dependencies': [
238 '<(DEPTH)/base/base.gyp:base', 261 '<(DEPTH)/base/base.gyp:base',
239 ], 262 ],
240 'sources': [ 263 'sources': [
241 'host/installer/mac/uninstaller/remoting_uninstaller_delegate.mm', 264 'host/installer/mac/uninstaller/remoting_uninstaller_delegate.mm',
242 ], 265 ],
243 'xcode_settings': { 266 'xcode_settings': {
244 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
245 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall er-Info.plist', 267 'INFOPLIST_FILE': 'host/installer/mac/uninstaller/remoting_uninstall er-Info.plist',
268 'INFOPLIST_PREPROCESS': 'YES',
269 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full) " VERSION_SHORT="<(version_short)" BUNDLE_NAME="<(bundle_name)" BUNDLE_ID="<(bun dle_id)" COPYRIGHT="<(copyright)"',
246 }, 270 },
247 'mac_bundle_resources': [ 271 'mac_bundle_resources': [
248 'host/installer/mac/uninstaller/remoting_uninstaller.xib', 272 'host/installer/mac/uninstaller/remoting_uninstaller.xib',
249 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 273 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
250 ], 274 ],
251 'mac_bundle_resources!': [ 275 'mac_bundle_resources!': [
252 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist', 276 'host/installer/mac/uninstaller/remoting_uninstaller-Info.plist',
253 ], 277 ],
254 }, # end of target 'remoting_host_uninstaller' 278 }, # end of target 'remoting_host_uninstaller'
255 ], # end of 'targets' 279 ], # end of 'targets'
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 '../base/allocator/allocator.gyp:allocator', 1545 '../base/allocator/allocator.gyp:allocator',
1522 ], 1546 ],
1523 }, 1547 },
1524 ], 1548 ],
1525 ], 1549 ],
1526 }], 1550 }],
1527 ], # end of 'conditions' 1551 ], # end of 'conditions'
1528 }, # end of target 'remoting_unittests' 1552 }, # end of target 'remoting_unittests'
1529 ], # end of targets 1553 ], # end of targets
1530 } 1554 }
OLDNEW
« no previous file with comments | « remoting/host/installer/mac/uninstaller/remoting_uninstaller-Info.plist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698