Prepend the tools directory to python module path
This works around possible collisions with modules installed in the system python directories. See Gentoo Linux bug report: http://bugs.gentoo.org/349794 Patch by Mike Gilbert <floppymaster@gmail.com> Review URL: http://codereview.chromium.org/6253009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6463 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
4c9254c054
commit
d01a45b2b1
1
AUTHORS
1
AUTHORS
@ -34,3 +34,4 @@ Rodolph Perfetta <rodolph.perfetta@arm.com>
|
||||
Ryan Dahl <coldredlemur@gmail.com>
|
||||
Subrato K De <subratokde@codeaurora.org>
|
||||
Vlad Burlik <vladbph@gmail.com>
|
||||
Mike Gilbert <floppymaster@gmail.com>
|
||||
|
@ -32,7 +32,7 @@ import os
|
||||
from os.path import join, dirname, abspath
|
||||
from types import DictType, StringTypes
|
||||
root_dir = dirname(File('SConstruct').rfile().abspath)
|
||||
sys.path.append(join(root_dir, 'tools'))
|
||||
sys.path.insert(0, join(root_dir, 'tools'))
|
||||
import js2c, utils
|
||||
|
||||
# ANDROID_TOP is the top of the Android checkout, fetched from the environment
|
||||
|
Loading…
Reference in New Issue
Block a user