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

Side by Side Diff: cloud_print/virtual_driver/posix/mac_packaging/build_mac.sh

Issue 9307087: Remove code for Mac and Linux virtual print drivers. (Closed)
Patch Set: Nuke linux too Created 8 years, 10 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
OLDNEW
(Empty)
1 #!/bin/bash
2 #
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 set -u
8 set -e
9
10 # Change to directory in which we are located.
11 SCRIPTDIR="$( cd "$( dirname "$0" )" && pwd )"
12 cd $SCRIPTDIR
13
14 #### INSTALLER #####
15
16 # Set up the directory structure for the package
17 mkdir -p Resources
18 mkdir -p package_root/usr/libexec/cups/backend
19
20 # Move out files to the directory structure
21 # These files are copied in by the GYP file, so
22 # we move them.
23 mv GCP-driver package_root/usr/libexec/cups/backend
24 mv GCP-driver.ppd Resources
25 mv GCP-install Resources
26 mv install.sh Resources
27
28 # Actually build our package
29 /Developer/usr/bin/packagemaker \
30 -d GCP-Virtual-Driver.pmdoc -t GCP-virtual-driver
31
32
33
34 ##### UNINSTALLER #####
35
36 #Clean up any old uninstaller
37 rm -rf uninstall_resources
38 mkdir uninstall_resources
39 mv GCP-uninstall uninstall_resources
40 mv uninstall.sh uninstall_resources
41
42
43 ##### CLEANUP #####
44 rm -rf Resources
45 rm -rf package_root
46 rm -rf GCP-Virtual-Driver.pmdoc
47 rm build_mac.sh
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698