summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-02-11 18:50:17 +0000
committer Spandan Das <spandandas@google.com> 2025-02-12 17:33:48 +0000
commit5ef1a9ca49b520fb82a64f360820811edc79462e (patch)
tree3cae6bb8d08388d120d6cb6a5b6fcbf4efc57e13 /python
parent1a49813031ed2829f70d0de92454ff53f4c3da84 (diff)
Include hermetic .img files in target_files.zip
https://r.android.com/3470135 disabled target_files.zip generation since the previous implementation built two copies of .img files when building droid. This increased full build times slightly. This CL adds the build rule for creating the hermetic version of .img files, but keeps it outside the transitive closure of droid. Implementation details - Split the monolithic cmd into three - cmd1 assembles the staging dir and creates a timestamp file - cmd2 depends on timestamp file and creates .img file using build_image - cmd3 depends on timestamp file and creates a hermetic .img file using build_image. It does so by creating an intermediate propfile with `use_fixed_timestamp=true` Bug: 393203512 Test: Built the soong target_files.zip locally (There are some preexisting diffs with the make target_files.zip, which I will resolve in ongoing work) Change-Id: Ibd14da93a6534d5544deffa2c44bac3fb97052ad
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions