[Android-tools-devel] automating build-tools version

Hans-Christoph Steiner hans at at.or.at
Mon Feb 8 09:50:55 UTC 2016


I was just looking at android-platform-frameworks-base, and saw this bit
in debian/rules:

# See sdk/build_tools_source.prop_template in platform/development
export BUILD_TOOLS_VERSION = 23.0.1

This should be automated to prevent bugs.  I think we can do it
something like how upstream does it: including a source.properties file.
 For example:

/usr/lib/android-sdk/platform-tools/source.properties
/usr/lib/android-sdk/build-tools/23.0.2/source.properties

Then any package that is building pieces of build-tools should then read
that file to get the right version.  For that to work reliably, we might
need a standard symlink, like:

/usr/lib/android-sdk/build-tools/current/source.properties

  or

/usr/lib/android-sdk/build-tools/debian/source.properties

.hc



More information about the Android-tools-devel mailing list