aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-11-17 22:10:34 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-11-17 22:10:34 +0000
commitcc9a86e36194f2ef4456e14d98b810e41e4fa52d (patch)
tree3bee00511ba6c280cc93596cbfe0f551d5c7b302
parentfede58680958e96e6e8f61c3cc6282f798452c53 (diff)
parentf39141c312d16ff57743c4a504d7e2e738678aa2 (diff)
downloadfonttools-cc9a86e36194f2ef4456e14d98b810e41e4fa52d.tar.gz
am: f39141c312 Change-Id: I1298ab3d0e404eb551c396ee6d9ee3fca2681462
-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",
+ ],
+}