aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp21
1 files changed, 20 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index b13d7e417d..eed47c7d46 100644
--- a/Android.bp
+++ b/Android.bp
@@ -114,6 +114,9 @@ cc_defaults {
linux_glibc_x86: {
enabled: false,
},
+ linux_musl_arm: {
+ enabled: false,
+ },
linux_musl_x86: {
enabled: false,
},
@@ -121,6 +124,10 @@ cc_defaults {
local_include_dirs: ["linux_x86_64/pyconfig"],
cflags: ["-Werror"],
},
+ linux_musl_arm64: {
+ local_include_dirs: ["linux_arm64/pyconfig"],
+ cflags: ["-Werror"],
+ },
linux_musl_x86_64: {
local_include_dirs: ["linux_x86_64/pyconfig"],
cflags: ["-Werror"],
@@ -983,7 +990,19 @@ cc_library_static {
"Modules/_ctypes/libffi/src/x86/darwin64.S",
],
},
- host_linux: {
+ linux_glibc_x86_64: {
+ local_include_dirs: ["linux_x86_64/libffi"],
+ srcs: [
+ "Modules/_ctypes/libffi/src/x86/unix64.S",
+ ],
+ },
+ linux_musl_arm64: {
+ local_include_dirs: ["linux_arm64/libffi"],
+ srcs: [
+ "Modules/_ctypes/libffi/src/x86/unix64.S",
+ ],
+ },
+ linux_musl_x86_64: {
local_include_dirs: ["linux_x86_64/libffi"],
srcs: [
"Modules/_ctypes/libffi/src/x86/unix64.S",