diff options
author | Jim Tang <jimtang@google.com> | 2020-04-28 20:05:42 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-04-28 20:05:42 +0000 |
commit | cf630d720b70497fa92a1575a6fd8a70cb85d568 (patch) | |
tree | b757a405dbc4e04ba61d49608e387e2783b4af3a | |
parent | ec4e5512d0f8abc4b1b4891ebbaafb188aa4a544 (diff) | |
parent | 21c343dd3b9c717de2ec122a943214c5f70d154e (diff) | |
download | ply-cf630d720b70497fa92a1575a6fd8a70cb85d568.tar.gz |
Enable ply an importable module. am: edb5967727 am: 82957451d3 am: 21c343dd3b
Change-Id: If232c4020bad95110bc1401f409808b7e8384cf3
-rw-r--r-- | ply/Android.bp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ply/Android.bp b/ply/Android.bp new file mode 100644 index 0000000..b9ef876 --- /dev/null +++ b/ply/Android.bp @@ -0,0 +1,30 @@ +// Copyright (C) 2020 The Android Open Source Project +// +// 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, + }, + }, +} + |