aboutsummaryrefslogtreecommitdiff
path: root/ndk/checkbuild.py
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-03-17 15:34:18 -0700
committerHaibo Huang <hhb@google.com>2020-03-17 22:39:58 +0000
commitc9d53a1720f665ea60ca3c0860b9c06653ee979a (patch)
tree480266b56f37b9c04f9073afbc1e5d2f85d043ed /ndk/checkbuild.py
parent5dc5b29baa3af2533d85c0471a6479037f9392c2 (diff)
downloadndk-c9d53a1720f665ea60ca3c0860b9c06653ee979a.tar.gz
Do not run strip for gdb on darwin
Oops forgot this part in aosp/1254254 Bug: https://github.com/android/ndk/issues/1173 Change-Id: Ibe13a536d6dc5a2c827f48e78ffb3839d6b7edba
Diffstat (limited to 'ndk/checkbuild.py')
-rwxr-xr-xndk/checkbuild.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ndk/checkbuild.py b/ndk/checkbuild.py
index 8395086d1..49c78c372 100755
--- a/ndk/checkbuild.py
+++ b/ndk/checkbuild.py
@@ -1390,11 +1390,6 @@ class Gdb(ndk.builds.Module):
exe_suffix = '.exe' if self.host.is_windows else ''
gdb_exe = install_dir / ('bin/gdb' + exe_suffix)
- # Strip is skipped when build. Strip the binary now.
- if self.host == ndk.hosts.Host.Darwin:
- cmd = [str(self.gdb_builder.toolchain.strip), str(gdb_exe)]
- subprocess.check_call(cmd)
-
# gdb is currently gdb(.exe)? and the gdb stub is currently gdb-stub.
# Make them gdb-orig(.exe)? and gdb(.exe)? respectively.
gdb_exe.rename(install_dir / ('bin/gdb-orig' + exe_suffix))