Build Android runtimes with the host zi2c
build_android_runtime.py ran Ziran's make with the NDK compiler and no GEN_ZI2C, so the generated-C step would run a zi2c built for the device. It now passes the pinned toolchain's build/bin/zi2c, which the Android CMake already requires. The ZX player APK builds for all three ABIs and runs app.zx natively on the Moto (armeabi-v7a).
This commit is contained in:
1 parent
d00b148f21
commit
9c80f79110
2 files changed
+7
No files matched your search
@@ -25,6 +25,9 @@ command = [
|
||||
"CC=" + a.cc,
|
||||
"AR=" + a.ar,
|
||||
"OBJCOPY=" + a.objcopy,
|
||||
# The modules Ziran generates C for compile on this host, with the
|
||||
# pinned toolchain's own zi2c, not one built for the device.
|
||||
"GEN_ZI2C=" + str(source / "build/bin/zi2c"),
|
||||
"CFLAGS=" + a.flags,
|
||||
"FRAMEFLAGS=-Wframe-larger-than=16384",
|
||||
str(output / "libziran.a"),
|
||||
|
||||
Reference in new issue
Block a user