Converted tc-enter-chroot.sh into tc_enter_chroot.py.
Python scripts are more readable and maintainable.
Also added a USE="mounted_sources" flag to be passed to the ebuild.
The ebuild changes will come in later in the chromium codereview server.
In a few days once we've ported all our scripts to use tc_enter_toolchain.py,
I will remove it from the repo.
Testing:
Did a full/incremental build of the toolchain using mounted sources and
it worked.
PRESUBMIT=passed
R=raymes,bjanakiraman
DELTA=138 (124 added, 5 deleted, 9 changed)
OCL=45248-p2
RCL=45275-p2
RDATE=2010/11/17 10:33:39
P4 change: 42606260
3 files changed