Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aaptOptions noCompress #2523

Merged
merged 6 commits into from
Nov 29, 2021
Merged

Add aaptOptions noCompress #2523

merged 6 commits into from
Nov 29, 2021

Conversation

RobertFlatt
Copy link
Contributor

Add noCompress "tflite" aapt option to build.tmpl.gradle
This is required for Tensorflow Lite .tflite files which must now be in the assets directory and not included in the Python bundle.

https://www.tensorflow.org/lite/inference_with_metadata/task_library/object_detector#step_1_import_gradle_dependency_and_other_settings

Discussion:

  1. No impact on files other that .tflite files in the assets directory.
  2. This could potentially be implemented with a build option specifying configurable file types rather than the fixed tflite. Decided against this as there appears no demonstrated need to justify the added functionality.

@tito tito merged commit 04b3d50 into kivy:develop Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants