commit | 04b6dcad464c7a1da69e097b1142b61a9dea9db9 | [log] [tgz] |
---|---|---|
author | Nan Zhang <nanzhang@google.com> | Tue Dec 05 13:34:52 2017 -0800 |
committer | Nan Zhang <nanzhang@google.com> | Tue Dec 05 13:38:28 2017 -0800 |
tree | 229dc05a798de282cb5185783aa499450dba67d0 | |
parent | 3f09c08ff25629614b43ff82ad33231703e48154 [diff] |
Set sys.platform value for hermetic Python. sys.platform is determined at compile/build time. By default, CPython will give it a "unknown" value if we didn't set the cflag. Test: adb push device_test /data, adb shell, ./device_test Bug: b/70218680 Change-Id: If5d914d3c43b1cfd3df1e57c81becacf2ac59e36