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

Side by Side Diff: remoting/tools/get_mac_crd_version.sh

Issue 186763004: Add breakpad support for me2me and it2me native messaging host on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Linux build break in Official Chrome build. Created 6 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/remoting_host_mac.gypi ('k') | remoting/tools/register_local_nm_hosts.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 ME2ME_HOST="/Library/PrivilegedHelperTools/org.chromium.chromoting.me2me_host.ap p" 7 ME2ME_HOST="/Library/PrivilegedHelperTools/ChromeRemoteDesktopHost.bundle"
8 UNINSTALLER_CHROME="/Applications/Chrome Remote Desktop Host Uninstaller.app" 8 UNINSTALLER_CHROME="/Applications/Chrome Remote Desktop Host Uninstaller.app"
9 UNINSTALLER_CHROMIUM="/Applications/Chromoting Host Uninstaller.app" 9 UNINSTALLER_CHROMIUM="/Applications/Chromoting Host Uninstaller.app"
10 PREFPANE="/Library/PreferencePanes/org.chromium.chromoting.prefPane" 10 PREFPANE="/Library/PreferencePanes/ChromeRemoteDesktop.prefPane"
11 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle" 11 KEYSTONE="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle"
12 12
13 INFO_PLIST="Contents/Info.plist" 13 INFO_PLIST="Contents/Info.plist"
14 14
15 set -e -u 15 set -e -u
16 16
17 function print_plist_version { 17 function print_plist_version {
18 local name="${1}" 18 local name="${1}"
19 local file="${2}" 19 local file="${2}"
20 if [[ -e "${file}/${INFO_PLIST}" ]]; then 20 if [[ -e "${file}/${INFO_PLIST}" ]]; then
21 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"` 21 set `PlistBuddy -c 'Print CFBundleVersion' "${file}/${INFO_PLIST}"`
22 echo "${name}: version = ${1}" 22 echo "${name}: version = ${1}"
23 else 23 else
24 echo "${name}: plist doesn't exist" 24 echo "${name}: plist doesn't exist"
25 fi 25 fi
26 } 26 }
27 27
28 print_plist_version "Me2me host" "${ME2ME_HOST}" 28 print_plist_version "Me2me host" "${ME2ME_HOST}"
29 print_plist_version "Chrome Remote Desktop Host Uninstaller" "${UNINSTALLER_CHRO ME}" 29 print_plist_version "Chrome Remote Desktop Host Uninstaller" "${UNINSTALLER_CHRO ME}"
30 print_plist_version "Chromoting Host Uninstaller" "${UNINSTALLER_CHROMIUM}" 30 print_plist_version "Chromoting Host Uninstaller" "${UNINSTALLER_CHROMIUM}"
31 print_plist_version "PreferencePane" "${PREFPANE}" 31 print_plist_version "PreferencePane" "${PREFPANE}"
32 print_plist_version "Keystone" "${KEYSTONE}" 32 print_plist_version "Keystone" "${KEYSTONE}"
OLDNEW
« no previous file with comments | « remoting/remoting_host_mac.gypi ('k') | remoting/tools/register_local_nm_hosts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698