aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-11-17 22:26:36 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-11-17 22:26:36 +0000
commitee204a7eb6d914da12561942ae7fc5da7d2e0132 (patch)
tree3bee00511ba6c280cc93596cbfe0f551d5c7b302
parentfede58680958e96e6e8f61c3cc6282f798452c53 (diff)
parent53031cab3829e3b01efa50f9ee35f06ce6931b35 (diff)
downloadfonttools-pie-qpr1-s2-release.tar.gz
am: 53031cab38 Change-Id: I6a58c0f16ef0c4acac04407f3b02340a2438aa7d
-rw-r--r--Lib/fontTools/Android.bp39
1 files changed, 39 insertions, 0 deletions
diff --git a/Lib/fontTools/Android.bp b/Lib/fontTools/Android.bp
new file mode 100644
index 00000000..77679149
--- /dev/null
+++ b/Lib/fontTools/Android.bp
@@ -0,0 +1,39 @@
+// Copyright 2017 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_defaults {
+ name: "fonttools_default",
+ version: {
+ py2: {
+ enabled: true,
+ embedded_launcher: true,
+ },
+ py3: {
+ enabled: false,
+ embedded_launcher: false,
+ },
+ },
+}
+
+python_library_host {
+ name: "fontTools",
+ defaults: ["fonttools_default"],
+ pkg_path: "fontTools",
+ srcs: [
+ "*.py",
+ "misc/*.py",
+ "ttLib/*.py",
+ "ttLib/tables/*.py",
+ ],
+}