diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-03-17 23:14:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-03-17 23:14:35 +0000 |
commit | 369cca08fbb8caca818af90f8d17aea9b0cb331f (patch) | |
tree | 45d1ec797364c90dc1846ed0a64a590d13d9d192 /ndk/checkbuild.py | |
parent | bc13174bc2fbdf7cd3128394e929e3d48d22ac0b (diff) | |
parent | c9d53a1720f665ea60ca3c0860b9c06653ee979a (diff) | |
download | ndk-369cca08fbb8caca818af90f8d17aea9b0cb331f.tar.gz |
Merge "Do not run strip for gdb on darwin"
Diffstat (limited to 'ndk/checkbuild.py')
-rwxr-xr-x | ndk/checkbuild.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ndk/checkbuild.py b/ndk/checkbuild.py index 93e45c302..15bdc27b3 100755 --- a/ndk/checkbuild.py +++ b/ndk/checkbuild.py @@ -1391,11 +1391,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)) |