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

Side by Side Diff: src/platform/chrome/debian/rules

Issue 1521015: build: Delete files from the previous build system. (Closed)
Patch Set: merge Created 10 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
« no previous file with comments | « src/platform/chrome/debian/postinst ('k') | src/platform/chrome/make_pkg.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Copyright (c) 2009 The Chromium OS 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 dh $@
8
9 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
10
11 # Uncomment this to turn on verbose mode.
12 #export DH_VERBOSE=1
13
14 override_dh_auto_build:
15 ./copy_chrome_zip.sh -a $(DEB_HOST_ARCH)
16
17 override_dh_auto_install:
18 # (note: use ./dirs file instead of mkdir -p here)
19 # Unzip chrome-linux.zip into chrome/
20 unzip $(CURDIR)/chrome-chromeos.zip
21 # We may need to rename .../chrome-linux to chrome-chromeos
22 mv $(CURDIR)/chrome-linux $(CURDIR)/chrome-chromeos || true
23 mkdir $(CURDIR)/chrome-chromeos/plugins
24 mv $(CURDIR)/chrome-chromeos \
25 $(CURDIR)/debian/chromeos-chrome/opt/google/chrome
26
27 override_dh_install:
28 dh_install
29 # Make the script use "google-chrome" instead of "chromium" for
30 # official builds.
31 if [ "$(USE_RELEASE_CHROME)" = "1" ]; then \
32 perl -pi -le '$$_ = "PROFILE_DIR=google-chrome" if /^PROFILE_DIR=/' \
33 $(CURDIR)/debian/chromeos-chrome/usr/bin/chromeos-chrome-loop; \
34 fi
35
36 override_dh_shlibdeps:
37 # Don't scan shlibs for dependencies, since the chroot environment
38 # doesn't have all the packages installed to run chrome.
OLDNEW
« no previous file with comments | « src/platform/chrome/debian/postinst ('k') | src/platform/chrome/make_pkg.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698