diff options
-rw-r--r-- | Lib/fontTools/Android.bp | 39 |
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", + ], +} |