From 8acc709e8553349d14afcc4d647078ca73c2ffc0 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 25 Oct 2018 15:40:00 -0700 Subject: Remove ndk-depends. Judging by the lack of interest on the web, it seems like this probably isn't much used. ReLinker (https://github.com/KeepSafe/ReLinker) seems like a better solution to native library loading problems anyway. Rather than rewrite ndk-depends in Python now, let's see if anyone actually still has a reasonable use for it. (Folks who just want readelf/llvm-readobj should probably just be using those already.) Bug: http://b/22085867 Test: builds Change-Id: I938ddd55586c4ff8768bc7b5e0b356f1c31abed1 --- checkbuild.py | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'checkbuild.py') diff --git a/checkbuild.py b/checkbuild.py index 2ebdc4fdf..49206c7b8 100755 --- a/checkbuild.py +++ b/checkbuild.py @@ -735,18 +735,6 @@ def install_exe(out_dir, install_dir, name, system): shutil.copy2(src, dst) -class NdkDepends(ndk.builds.InvokeExternalBuildModule): - name = 'ndk-depends' - path = 'prebuilt/{host}/bin' - script = 'ndk/sources/host-tools/ndk-depends/build.py' - notice = ndk.paths.ndk_path('sources/host-tools/ndk-depends/NOTICE') - - def install(self): - src = os.path.join(self.out_dir, self.host, self.name) - install_dir = self.get_install_path() - install_exe(src, install_dir, self.name, self.host) - - class GdbServer(ndk.builds.InvokeBuildModule): name = 'gdbserver' path = 'prebuilt/android-{arch}/gdbserver' @@ -2002,13 +1990,6 @@ class NdkWhichShortcut(ndk.builds.ScriptShortcutModule): windows_ext = '' # There isn't really a Windows ndk-which. -class NdkDependsShortcut(ndk.builds.ScriptShortcutModule): - name = 'ndk-depends-shortcut' - path = 'ndk-depends' - script = 'prebuilt/{host}/bin/ndk-depends' - windows_ext = '.exe' - - class NdkStackShortcut(ndk.builds.ScriptShortcutModule): name = 'ndk-stack-shortcut' path = 'ndk-stack' @@ -2309,8 +2290,6 @@ ALL_MODULES = [ NativeAppGlue(), NdkBuild(), NdkBuildShortcut(), - NdkDepends(), - NdkDependsShortcut(), NdkGdb(), NdkGdbShortcut(), NdkHelper(), -- cgit v1.2.3