Don't include the pretty printers for removed STLs.
Test: ndk/checkbuild.py
Bug: None
Change-Id: I04f3137f67db12e38d3b1f007ea4deecbb1fe37a
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 @@
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 ()