platform_build_soong/ui/build
Cole Faust 1ae7b774eb Remove timestamp from local build number
The build_info.prop file was converted to soong, which then caused it to
have a stale build number due to not adding the build number file as a
dependency to avoid rebuilds. I added it as a dependency to fix the
staleness, but it always rebuilds locally now.

I think the way it worked before, it would get stale build numbers,
except that it was cleared with installclean which was always run on CI.
Now that it's a soong module and generated in out/soong/.intermediates
it's not cleared by installclean. I could make a system to register
files that should be installclean'd from a soong module, but I'd
eventually like to eliminate the need to run installclean entirely.

So as an alternative, just make the build number not change every build
when doing local builds, by removing the timestamp from it.

Bug: 346757289
Test: m repeatedly and observe no rebuilds the second time (of the system image, the build flags infrastructure seems to do some small rebuilding)
Change-Id: I0207feb739523dde3e89d1e5c4822865f641c313
2024-06-13 10:27:20 -07:00
..
paths We have a prebuilt getopt now. 2024-03-22 16:08:21 +00:00
sandbox/darwin
Android.bp Do not load Android.mk files from the directories defined in the list. 2024-01-02 19:06:48 -08:00
androidmk_denylist.go Update Android.mk denylist to block frameworks/ 2024-04-03 15:17:49 +00:00
build.go Remove timestamp from local build number 2024-06-13 10:27:20 -07:00
cleanbuild.go Revert "Add out/partitions_were_clean_at_start_of_build.txt" 2023-10-13 02:51:08 +00:00
cleanbuild_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
config.go Drop IncludeTags 2024-05-22 19:23:47 +00:00
config_darwin.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_linux.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_test.go Remove --multitree-build 2024-02-28 15:35:49 -08:00
context.go Add critical path infomation into metrics 2023-03-14 17:59:22 +09:00
dumpvars.go Drop PRODUCT_INCLUDE_TAGS from banner vars 2024-06-07 00:03:20 +00:00
environment.go cd to / before running soong_build . 2021-03-03 09:14:22 +01:00
environment_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
exec.go Collect useful resource information of each executed process in soong_ui. 2020-11-04 23:35:43 +00:00
finder.go Show error message when Android.mk files are found in directories in the deny list. 2024-02-06 11:54:55 -08:00
goma.go Add dist_dir to goma trigger 2019-07-23 16:16:15 -04:00
kati.go Remove SymlinkOutputs 2024-01-18 12:43:24 -08:00
ninja.go Improve soong stuck ninja detection output 2024-01-10 14:43:30 -08:00
path.go "master" was renamed "main". 2024-01-09 22:09:07 +00:00
proc_sync.go Make soong lock file sync time configurable.. 2019-05-24 17:10:48 -04:00
proc_sync_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
rbe.go Remove warning about LOAS not enabled 2024-05-03 13:50:10 +00:00
rbe_test.go Cleanup RBE logs directory 2022-06-08 11:50:33 -04:00
sandbox_config.go nsjail support verification should respect BUILD_BROKEN* flag for SrcDir 2022-11-14 19:50:40 +00:00
sandbox_darwin.go
sandbox_linux.go nsjail support verification should respect BUILD_BROKEN* flag for SrcDir 2022-11-14 19:50:40 +00:00
sandbox_linux_test.go Create Make flags to set source tree as ReadOnly in soong builds 2021-06-01 21:40:49 +00:00
soong.go Drop IncludeTags 2024-05-22 19:23:47 +00:00
staging_snapshot.go Add a post-build step for dist builds that records what changed in the build. 2023-02-28 15:02:22 -08:00
staging_snapshot_test.go Add a post-build step for dist builds that records what changed in the build. 2023-02-28 15:02:22 -08:00
test_build.go Regard out/soong/release-config as a source directory 2024-06-04 11:28:31 +09:00
upload.go Refactor upload-only to process bazel metrics outside of upload.go 2023-05-09 20:19:20 +00:00
util.go Dist build.ninja and Android.bp.list 2020-06-25 12:50:00 -07:00
util_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00