Revert "Revert "Support hermetic Python build on device side""
This reverts commit 146d74ac342e324bcd0890b83feffc070b8c6dcf.
Reason for revert: <libsqlite was missing for darwin_x86_64>
Bug: b/69114465
Test: manual
Change-Id: Ia906dbad5ff63b52c46aab615f6bb6ccae638b2a
diff --git a/Lib/Android.bp b/Lib/Android.bp
index 3a90571..58659dc 100644
--- a/Lib/Android.bp
+++ b/Lib/Android.bp
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-python_library_host {
+python_library {
name: "py2-stdlib",
is_internal: true,
pkg_path: "stdlib",
@@ -48,10 +48,11 @@
darwin: {
srcs: [":py2-plat-darwin"],
},
- linux_glibc_x86_64: {
+ linux: {
srcs: [":py2-plat-linux2"],
},
},
+ host_supported: true,
}
filegroup {