diff options
author | 2025-02-12 18:03:29 +0000 | |
---|---|---|
committer | 2025-02-12 21:36:02 +0000 | |
commit | d71af183064d45dbeccf09553d3876c682dcc843 (patch) | |
tree | 04e1b6359c8a290f60bc11001c97a4cd82f04223 /filesystem/android_device.go | |
parent | 5044707143ed635ac4ed17576657a0df9cc9db34 (diff) |
Package erofs compress hints txt in target_files.zip
Test: Built the soong target_files.zip locally
Bug: 388633394
Change-Id: I2a87d24dc675dfb13eb02941956ec5a8593e5bb5
Diffstat (limited to 'filesystem/android_device.go')
-rw-r--r-- | filesystem/android_device.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filesystem/android_device.go b/filesystem/android_device.go index c2a571ca1..7e4beeaf8 100644 --- a/filesystem/android_device.go +++ b/filesystem/android_device.go @@ -442,6 +442,9 @@ func (a *androidDevice) copyMetadataToTargetZip(ctx android.ModuleContext, build } builder.Command().Textf("cp").Input(android.PathForSource(ctx, "external/zucchini/version_info.h")).Textf(" %s/META/zucchini_config.txt", targetFilesDir.String()) builder.Command().Textf("cp").Input(android.PathForSource(ctx, "system/update_engine/update_engine.conf")).Textf(" %s/META/update_engine_config.txt", targetFilesDir.String()) + if a.getFsInfos(ctx)["system"].ErofsCompressHints != nil { + builder.Command().Textf("cp").Input(a.getFsInfos(ctx)["system"].ErofsCompressHints).Textf(" %s/META/erofs_default_compress_hints.txt", targetFilesDir.String()) + } } func (a *androidDevice) getFilesystemInfo(ctx android.ModuleContext, depName string) FilesystemInfo { |