summaryrefslogtreecommitdiff
path: root/tools/test_extract_kernel.py
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2018-12-14 01:04:19 -0800
committer Dan Willemsen <dwillemsen@google.com> 2018-12-27 12:30:05 -0800
commitad6a15433ef2fbc1001178fd98e9ea722720ca46 (patch)
treec95cc8a5748b03e0520f10cb443d21077f390c3f /tools/test_extract_kernel.py
parent7264a0daabef0b25a36350304064acfe9501e9fa (diff)
Produce ro.build.version.preview_sdk_fingerprint
This is just a hash of the current.txt and system-current.txt right now, though it may expand to include other API surfaces in the future. Once prebuilts/sdk/current is populated with api_fingerprint.txt files, we can use those for unbundled builds, but until then, just use the PLATFORM_PREVIEW_SDK_VERSION as a placeholder. MD5 was just the most convenient, since we don't have a sha tool that we can use on Mac currently. I'm hoping we can get a toybox-based tool in the future that standardizes that, but we aren't currently using sha*sum from toybox on Linux, much less on Darwin yet. Test: m dist out/dist/api_fingerprint.txt Test: m out/target/product/.../system/build.prop Change-Id: If69f270560d05135cb81a9bb2d1b208ea78f86df
Diffstat (limited to 'tools/test_extract_kernel.py')
0 files changed, 0 insertions, 0 deletions