Commit f0004d1c authored by Nan Zhang's avatar Nan Zhang
Browse files

Support hermetic Python build on device side

Add Python build support including ctypes on arm & arm64 arch.

python_test generates self-contained executable 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: I765b8c7ba8cd4e654ece3a8eaf1d790f788d39e3
parent b788eb5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment