From edb5967727e565ba994e9c5ab8e5fd7b422e487a Mon Sep 17 00:00:00 2001 From: Jim Tang Date: Mon, 20 Apr 2020 19:20:20 +0000 Subject: Enable ply an importable module. Bug: 153941871 Test: build manually Change-Id: Iafb1c669c16b20eec288bad6d2ea530f0d3ab2a8 Merged-In: Iafb1c669c16b20eec288bad6d2ea530f0d3ab2a8 Merged-In: Ic48b01d0365bc8443986533746e149b7aa2c8cfc --- ply/Android.bp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ply/Android.bp 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, + }, + }, +} + -- cgit v1.2.3