Add system/core to the PYTHONPATH.

There's an adb Python interface now, and system/core needs to be in
the PYTHONPATH for `import adb` to find it.

Change-Id: I712767a2ba96cb017ce5857dc367e4cacf2ec51f
This commit is contained in:
Dan Albert 2015-07-27 16:06:25 -07:00
parent bcd7ae6f30
commit 515ab1e2d1

View file

@ -198,6 +198,7 @@ function setpaths()
fi fi
export PATH=$ANDROID_BUILD_PATHS$PATH export PATH=$ANDROID_BUILD_PATHS$PATH
export PYTHONPATH=$T/system/core:$PYTHONPATH
unset ANDROID_JAVA_TOOLCHAIN unset ANDROID_JAVA_TOOLCHAIN
unset ANDROID_PRE_BUILD_PATHS unset ANDROID_PRE_BUILD_PATHS