diff options
author | 2022-04-25 18:23:58 +0900 | |
---|---|---|
committer | 2022-04-27 14:10:52 +0900 | |
commit | 4f1f3d97cacf4d92df00ff156062d0b65426434a (patch) | |
tree | dd990a74660dccf84909672b846ee097b48399a4 /Android.bp | |
parent | be9b9deef9831c9d872e2fba8939cbaf965622f1 (diff) |
Add buildinfo_prop module
buildinfo_prop module is a replacement for build/make/tools/buildinfo.sh
so other images like microdroid can refer to build.prop.
For now, buildinfo_prop only supports a few build.prop properties, and
it's only used in microdroid.
Bug: 189164487
Test: build
Change-Id: I120654ca23a68de414df8da2051c6677afbab441
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 42a8e5c91..63de01589 100644 --- a/Android.bp +++ b/Android.bp @@ -119,3 +119,14 @@ genrule { dexpreopt_systemserver_check { name: "dexpreopt_systemserver_check", } + +// buildinfo.prop contains common properties for system/build.prop, like ro.build.version.* +buildinfo_prop { + name: "buildinfo.prop", + + // not installable because this will be included to system/build.prop + installable: false, + + // Currently, only microdroid can refer to buildinfo.prop + visibility: ["//packages/modules/Virtualization/microdroid"], +} |