platform_build_soong/python
Nan Zhang 3bba05962d Change Python in Soong to support device side build.
Add python_test to generate executables for both host and device side.
And change python_library_host to python_library.

installation for python device test will be under
target/product/generic_arm[64]/data/nativetest[64].

Bug: b/69114465
Test: m clean && m -j
Device Test:
adb root; adb push nan_devicetest /data;
adb shell; ./nan_devicetest
print(sys.path)
['/data/nan_devicetest/runfiles', '/data/nan_devicetest', '/data/nan_devicetest/internal', '/data/nan_devicetest/internal/stdlib']

Change-Id: If8317070a3aa1b6dab2e84b8df2d037f495d7247
2017-11-30 13:55:49 -08:00
..
scripts Supported python build in host side. 2017-05-05 13:27:56 -07:00
androidmk.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00
binary.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00
builder.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
defaults.go Add support for python_defaults modules 2017-09-05 17:31:24 -07:00
installer.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00
library.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00
python.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00
python_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test.go Change Python in Soong to support device side build. 2017-11-30 13:55:49 -08:00