aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:04:05 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:04:05 +0000
commitdd7de51ed30bd9f33efbf0ad56b49169bb1ceaae (patch)
treef4af2a96ccf2dc3327974a26957d8c56e5540853
parentf12e8beb6d0f5b7abe2f32fd69792be49292dc4c (diff)
parentb28517b7e0f70f1a38543fda628cfef6ecb78192 (diff)
downloadmarkupsafe-android14-mainline-os-statsd-release.tar.gz
Change-Id: I054c0201ed1be3bd9cec19b23853e56d364a35e9
-rw-r--r--Android.bp17
-rw-r--r--src/Android.bp12
2 files changed, 12 insertions, 17 deletions
diff --git a/Android.bp b/Android.bp
index 451b078..acbba46 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,20 +14,3 @@ license {
"LICENSE.rst",
],
}
-
-python_library {
- name: "py-markupsafe",
- host_supported: true,
- srcs: [
- "src/markupsafe/__init__.py",
- "src/markupsafe/_native.py",
- ],
- version: {
- py2: {
- enabled: true,
- },
- py3: {
- enabled: true,
- },
- },
-}
diff --git a/src/Android.bp b/src/Android.bp
new file mode 100644
index 0000000..e03c7ac
--- /dev/null
+++ b/src/Android.bp
@@ -0,0 +1,12 @@
+package {
+ default_applicable_licenses: ["external_python_markupsafe_license"],
+}
+
+python_library {
+ name: "py-markupsafe",
+ host_supported: true,
+ srcs: [
+ "markupsafe/__init__.py",
+ "markupsafe/_native.py",
+ ],
+}