nmeum / android-tools

Unoffical CMake-based build system for android command line utilities
Apache License 2.0
177 stars 51 forks source link

CMake: Exclude more blobs in generated source tarball #117

Closed Biswa96 closed 1 year ago

Biswa96 commented 1 year ago
This excludes files with .apk, .html, .pdf, .png extensions.
Also write the values as a list to make things more clear.
Biswa96 commented 1 year ago

The compressed source tarball (.tar.xz) is now half of the size than previous, from 38 MB to 19 MB.

It is possible to trim more from the tarball but the test directories in borringssl are required. I shall try to add a cmake option like ENABLE_TESTING in upstream boringssl. But the probability of it being merged is very low.

anatol commented 1 year ago

Thank you for this optimization