summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-05-04 13:30:15 -0700
committerDan Albert <danalbert@google.com>2018-05-04 13:30:15 -0700
commit811615be53b46f9f009b97adea598266a5f9f751 (patch)
tree0ff2ad3354ddb7e2e806b5b36484289eecef5628
parent4a51a56ab5ef3f2ca5adb9bf4b672992925b8b2e (diff)
downloadpython-811615be53b46f9f009b97adea598266a5f9f751.tar.gz
Don't include the pretty printers for removed STLs.ndk-r18bndk-r18-beta2ndk-r18-beta1ndk-release-r18
Test: ndk/checkbuild.py Bug: None Change-Id: I04f3137f67db12e38d3b1f007ea4deecbb1fe37a
-rwxr-xr-xbuild-python.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/build-python.sh b/build-python.sh
index f1fdc05..b37db5f 100755
--- a/build-python.sh
+++ b/build-python.sh
@@ -369,24 +369,6 @@ build_host_python ()
run make install
fail_panic "Could not install Python!"
-
- # Pretty printers.
- PYPPDIR="$INSTALLDIR/share/pretty-printers/"
-
- # .. for gnu stdlibc++
- GCC_DIRS=$(find $TOOLCHAIN_SRC_DIR/gcc/ -maxdepth 1 -name "gcc-*" -type d)
- for GCC_DIR in $GCC_DIRS; do
- (
- if [ -d "$GCC_DIR/libstdc++-v3/python" ]; then
- cd "$GCC_DIR/libstdc++-v3/python"
- [ -d "$PYPPDIR/libstdcxx/$(basename $GCC_DIR)" ] || mkdir -p "$PYPPDIR/libstdcxx/$(basename $GCC_DIR)"
- run find . -path "*.py" -exec cp {} "$PYPPDIR/libstdcxx/$(basename $GCC_DIR)/" \;
- fi
- )
- done
-
- # .. for STLPort
- run cp -rf $NDK_DIR/sources/host-tools/gdb-pretty-printers/stlport/gppfs-0.2 $PYPPDIR/stlport
}
need_build_host_python ()