summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Tang <jimtang@google.com>2020-04-20 18:55:24 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-20 18:55:24 +0000
commit9ed7b5e930252087529e68b35f5a28f4984efe7e (patch)
treef4f7401c73e8a0e64518f85bb0e7cdbca33e494f
parent2104f3878bd380ee42ca430f9fc3aa0d82592bb9 (diff)
parente8a8ca2e3d5dc5e0f3d6670a4a58dcff7050be1d (diff)
downloadply-9ed7b5e930252087529e68b35f5a28f4984efe7e.tar.gz
Enable ply an importable module. am: 0b5a27fb00 am: 1f976d8d95 am: b3c01d6ef3 am: e8a8ca2e3d
Change-Id: If49c508554d9520b4239d37000d4cfe5e6a6e393
-rw-r--r--ply/Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/ply/Android.bp b/ply/Android.bp
new file mode 100644
index 0000000..b390dcc
--- /dev/null
+++ b/ply/Android.bp
@@ -0,0 +1,30 @@
+// Copyright 2020 Google Inc. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+python_library {
+ name: "py-ply",
+ host_supported: true,
+ srcs: [
+ "ply/*.py",
+ ],
+ version: {
+ py2: {
+ enabled: true,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+}
+