platform_build_soong/ui
Cole Faust 583dfb426f Generate build_number.txt only once
build_number.txt was generated in runKati, and runKati is run multiple
times throughout the build. If a build number is not set, then one will
be generated using the current timestamp, meaning that multiple
different build numbers will be used in different phases of the build.

Instead, generate build_number.txt during SetupOutDir(), so that we
only have 1 build number.

This is a resubmission with a change to ensure out/soong is created
before writing the build number file.

Bug: 297269187
Test: edit a bzl file to force bazel to rerun, change the code so that use_fixed_timestamp=true during partition builds, m installclean, m bazel_sandwich, and observe that the bazel/make partitions are byte-for-byte identical
Change-Id: I47abcca166c701bb66a6a7731aecad5818279244
2023-09-28 17:56:43 -07:00
..
build Generate build_number.txt only once 2023-09-28 17:56:43 -07:00
logger Add non-zero exit + error message to soong metrics 2022-10-24 10:51:56 -04:00
metrics Add unconverted_reasons_from_heuristics fields to the Module message 2023-07-13 13:31:09 +00:00
signal Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
status Stop NinjaReader from sending new status messages after Close 2023-09-05 11:11:29 -07:00
terminal After a build action fails, stop printing more output. 2023-06-24 15:13:49 -07:00
tracer Include tags in trace data. 2023-06-21 20:17:57 +00:00