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:
parent
bcd7ae6f30
commit
515ab1e2d1
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue