OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd7ae6
)
Add system/core to the PYTHONPATH.
author
Dan Albert
<danalbert@google.com>
Mon, 27 Jul 2015 23:06:25 +0000
(16:06 -0700)
committer
Dan Albert
<danalbert@google.com>
Fri, 31 Jul 2015 20:38:47 +0000
(13:38 -0700)
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
envsetup.sh
patch
|
blob
|
history
diff --git
a/envsetup.sh
b/envsetup.sh
index
62802df
..
3c29e88
100644
(file)
--- a/
envsetup.sh
+++ b/
envsetup.sh
@@
-198,6
+198,7
@@
function setpaths()
fi
export PATH=$ANDROID_BUILD_PATHS$PATH
+ export PYTHONPATH=$T/system/core:$PYTHONPATH
unset ANDROID_JAVA_TOOLCHAIN
unset ANDROID_PRE_BUILD_PATHS