diff options
author | 2024-11-06 04:09:21 +0000 | |
---|---|---|
committer | 2024-11-06 04:20:22 +0000 | |
commit | 7cf5d501afe26117042936674dca94a88c65b4c0 (patch) | |
tree | 2917f4d96b4303919cc1fd18e021dc1cc75a70e7 /scripts/gen_build_prop.py | |
parent | a4d35f7b3abb0efbf8277a1bcb9a1f2495089b52 (diff) |
Add sdk_minor to build prop of all partitions built with soong
ag/28035235 udpated sysprop.mk to add sdk_minor to build.prop of all
partitions when building with make. But its sibling ag/28035315 updated
gen_build_prop.py to add sdk_minor to build.prop for only system.img.
The build.prop modules are currently being migrated to soong, and this
CL adds sdk_minor to all soong built build.prop files
Bug: 350458259
Bug: 375500423
Test: Verified that the following line exists in soong-built vendor
build.prop
```
ro.vendor.build.version.sdk_minor=0
```
Ignore-AOSP-First: sdk_minor change is not available in AOSP
Change-Id: I7a698681eff69f1bd80966cacd6bc95d5eb990f0
Diffstat (limited to 'scripts/gen_build_prop.py')
-rw-r--r-- | scripts/gen_build_prop.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py index 6a69f8b4c..6949b480a 100644 --- a/scripts/gen_build_prop.py +++ b/scripts/gen_build_prop.py @@ -113,6 +113,7 @@ def generate_common_build_props(args): print("####################################") config = args.config + build_flags = config["BuildFlags"] partition = args.partition if partition == "system": @@ -164,6 +165,7 @@ def generate_common_build_props(args): print(f"ro.{partition}.build.version.release={config['Platform_version_last_stable']}") print(f"ro.{partition}.build.version.release_or_codename={config['Platform_version_name']}") print(f"ro.{partition}.build.version.sdk={config['Platform_sdk_version']}") + print(f"ro.{partition}.build.version.sdk_minor={build_flags['RELEASE_PLATFORM_SDK_MINOR_VERSION']}") def generate_build_info(args): print() |