summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2018-02-15 14:12:26 -0800
committer Colin Cross <ccross@android.com> 2018-03-02 16:55:51 -0800
commit86803cfe6e814d3699e842cfc41244cd9a6e0c30 (patch)
treeddb07422dff2e413f4761eaa6dbc22be5ea966e9 /python/python.go
parent8673b5b959def87c0f3f5922b1eea430b1215b62 (diff)
add a library to report build numbers without causing rebuilds
Allow native modules to specify use_version_lib, which will make an android::build::GetBuildNumber() function available. For host builds, the function will return the build number at the time that the module was linked. For device modules it will return the value of the ro.build.version.incremental property. Bug: 71719137 Test: build_version_test Test: m build_version_test && touch build/make/core/Makefile build/soong/cc/libbuildversion/tests/build_version_test.cpp && m build_version_test shows different build numbers for binary and library tests. Change-Id: I6f7d40b7574bb8206866c4e39bad9c710c796e32
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions