diff options
author | 2024-12-12 19:25:07 +0000 | |
---|---|---|
committer | 2024-12-12 18:07:04 -0800 | |
commit | ba27322da61cab8b46aab9df3dfcb0cf2b5f5727 (patch) | |
tree | 66250f0b7ff6b8f413c55197c035b4b677d9aa6c /filesystem/filesystem.go | |
parent | 11157ddd386cc07bb19ebba711f72c4ee5371bcb (diff) |
Pass build_datetime_file to soong partitions
The build_datetime_file can be used to create hermetic image files, and
will be used to validate mk->soong partition migration.
Bug: 383357338
Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
Setup
- export BUILD_DATETIME=10
- commented out installed_*_notice_xml_gz in build/make/core/Makefile
Test: verified that the following .img files are bit identical
odm,system_dlkm,vendor_dlkm,odm_dlkm
Change-Id: I254cd3f1afbd26439dd70505c7135d834ec234bc
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r-- | filesystem/filesystem.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 4b4dc4054..bff0a1014 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -606,6 +606,7 @@ func (f *filesystem) buildImageUsingBuildImage(ctx android.ModuleContext) androi Input(propFile). Implicits(toolDeps). Implicit(fec). + FlagWithArg("--build_datetime_file ", ctx.Config().Getenv("BUILD_DATETIME_FILE")). Output(output). Text(rootDir.String()) // directory where to find fs_config_files|dirs |