Revert "Tweak linux_glibc properties for musl builds in external/python/cpython3"
This reverts commit 7020415b80a2fd3fa734f0984e9936769869aed8.
Reason for revert: broke musl build with duplicate srcs
Change-Id: I38bf83595c61a5324e736ee8c0cf47ce9212b930
diff --git a/Lib/Android.bp b/Lib/Android.bp
index 3b9c289..8656f5c 100644
--- a/Lib/Android.bp
+++ b/Lib/Android.bp
@@ -76,11 +76,7 @@
name: "py3-stdlib-force-build",
defaults_visibility: ["//visibility:private"],
target: {
- glibc: {
- exclude_srcs: [":py3-stdlib-prebuilt-srcs"],
- srcs: [":py3-stdlib-srcs"],
- },
- musl: {
+ linux_glibc: {
exclude_srcs: [":py3-stdlib-prebuilt-srcs"],
srcs: [":py3-stdlib-srcs"],
},
@@ -97,13 +93,13 @@
pkg_path: "stdlib",
host_supported: true,
target: {
- bionic: {
+ android: {
srcs: [":py3-stdlib-srcs"],
},
- glibc: {
- srcs: [":py3-stdlib-prebuilt-srcs"],
+ linux_bionic: {
+ srcs: [":py3-stdlib-srcs"],
},
- musl: {
+ linux_glibc: {
srcs: [":py3-stdlib-prebuilt-srcs"],
},
darwin: {