summaryrefslogtreecommitdiffstats
path: root/remoting/host
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-11 22:04:06 +0000
committermmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-11 22:04:06 +0000
commit50aba8ce7a5ca07a35a3d346f913341534cc3bb5 (patch)
tree4de3c5ceeea5af95246dbaa48a83a7b5e3c13c37 /remoting/host
parent097ffaa0a9f1c8bb8728eb14929249869eb0e8e2 (diff)
downloadchromium_src-50aba8ce7a5ca07a35a3d346f913341534cc3bb5.zip
chromium_src-50aba8ce7a5ca07a35a3d346f913341534cc3bb5.tar.gz
chromium_src-50aba8ce7a5ca07a35a3d346f913341534cc3bb5.tar.bz2
Strip and save debug info from chromoting host binaries.
R=lambroslambrou@google.com Review URL: https://codereview.chromium.org/12216006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r--remoting/host/installer/linux/Makefile13
-rwxr-xr-xremoting/host/installer/linux/build-deb.sh5
2 files changed, 9 insertions, 9 deletions
diff --git a/remoting/host/installer/linux/Makefile b/remoting/host/installer/linux/Makefile
index c9151ff..5d09806 100644
--- a/remoting/host/installer/linux/Makefile
+++ b/remoting/host/installer/linux/Makefile
@@ -11,6 +11,11 @@ RELEASE = $(SRC)/out/Release
INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop
+ME2ME_PROGNAME = "$(RELEASE)/remoting_me2me_host"
+ME2ME_DEBUGFILE = "$(ME2ME_PROGNAME).debug"
+START_PROGNAME = "$(RELEASE)/remoting_start_host"
+START_DEBUGFILE = "$(START_PROGNAME).debug"
+
all:
install:
@@ -18,7 +23,7 @@ install:
install $(TOOLS)/me2me_virtual_host.py -m 0755 \
$(INSTALL_DIR)/chrome-remote-desktop
install $(TOOLS)/is-remoting-session $(INSTALL_DIR)
- install $(RELEASE)/remoting_me2me_host -m 0755 \
- $(INSTALL_DIR)/chrome-remote-desktop-host
- install $(RELEASE)/remoting_start_host -m 0755 \
- $(INSTALL_DIR)/start-host
+ eu-strip -f "$(ME2ME_DEBUGFILE)" "$(ME2ME_PROGNAME)"
+ install $(ME2ME_PROGNAME) -m 0755 $(INSTALL_DIR)/chrome-remote-desktop-host
+ eu-strip -f "$(START_DEBUGFILE)" "$(START_PROGNAME)"
+ install $(START_PROGNAME) -m 0755 $(INSTALL_DIR)/start-host
diff --git a/remoting/host/installer/linux/build-deb.sh b/remoting/host/installer/linux/build-deb.sh
index f75ca4d..da304b4 100755
--- a/remoting/host/installer/linux/build-deb.sh
+++ b/remoting/host/installer/linux/build-deb.sh
@@ -104,11 +104,6 @@ if [[ -n "$revision" ]]; then
revision_text="(r$revision)"
fi
-# Don't strip binaries unless build options are already specified. This doesn't
-# have much effect on package size (13MB versus 14MB), so it's worth keeping
-# the symbols for now.
-export DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS:-nostrip}"
-
echo "Building version $version_full $revision_text"
# Create a fresh debian/changelog.