platform_build_soong/android
Colin Cross e52c2ac7fb Enable restat for sbox rules
Add support to sbox for only writing output files if they are changed
to support enabling restat.  Move the clearing of the output directory
into sbox, and when write if changed is enabled delete obsolete output
files without deleting output files that will be replaced.

Enable restat for local metalava rules.  Restat for metalava rules
run remotely is still blocked on b/183630617.

Bug: 222095735
Test: TestRuleBuilder_Build
Test: m SystemUI
Change-Id: If8fc47e711f4a6f43947ab69f17cccc8ba6ae61a
2022-04-04 16:42:46 -07:00
..
soongconfig Revert "Prevent unspecified values in soong_config_string_variable" 2022-03-24 13:52:58 +00:00
Android.bp Add metrics collection to soong_build 2022-03-25 17:19:44 -04:00
android_test.go
androidmk.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
androidmk_test.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
apex.go Allow java_sdk_library in an APEX to have higher min_sdk_version. 2021-12-08 11:36:34 +00:00
apex_test.go
api_levels.go Support tailoring clang --target flag based on min sdk version. 2022-03-18 01:16:52 +00:00
arch.go Add host_linux target properties 2022-03-07 14:56:33 -08:00
arch_list.go Export variant/features via soong_injection 2022-02-28 14:17:15 -05:00
arch_test.go Add host_linux target properties 2022-03-07 14:56:33 -08:00
bazel.go Merge changes I8e4c3f37,I89a32bde 2022-03-30 21:08:12 +00:00
bazel_handler.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
bazel_handler_test.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
bazel_paths.go Start unblocking com.android.runtime deps 2022-01-06 10:40:43 -05:00
bazel_test.go
config.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
config_test.go
csuite_config.go
csuite_config_test.go
deapexer.go Do not allow duplicate deapexer dependencies. 2021-12-07 23:30:30 +00:00
defaults.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
defaults_test.go
defs.go
depset_generic.go
depset_paths.go
depset_test.go
deptag.go
deptag_test.go
expand.go
expand_test.go
filegroup.go Handle arch/cpu variants in mixed builds 2022-03-21 11:13:49 -04:00
fixture.go
fixture_test.go
hooks.go add type to modules created by LoadHookContext 2022-03-10 20:59:45 +00:00
image.go
license.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
license_kind.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
license_kind_test.go
license_metadata.go Generate sdk_repo notice files from license metadata 2022-01-28 15:56:07 -08:00
license_sdk_member.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
license_test.go
licenses.go Export binaries for shippedlibs and bom. 2022-02-28 20:13:35 -08:00
licenses_test.go Support multiple library names per target. 2022-02-11 10:36:22 -08:00
makefile_goal.go
makevars.go
metrics.go Add metrics collection to soong_build 2022-03-25 17:19:44 -04:00
module.go Merge changes from topic "refactor-packagingbase" 2022-03-29 13:45:22 +00:00
module_test.go Add values to json module graph 2022-03-25 18:30:49 -04:00
mutator.go cosmetic: 1)typos 2)parameters named for clarity 2022-01-29 06:34:53 +00:00
mutator_test.go
namespace.go cosmetic: 1)typos 2)parameters named for clarity 2022-01-29 06:34:53 +00:00
namespace_test.go
neverallow.go Merge "Revert^3 "Add seapp_contexts to allowlist of makefile goal"" 2022-01-10 11:15:28 +00:00
neverallow_test.go Merge "Revert^3 "Add seapp_contexts to allowlist of makefile goal"" 2022-01-10 11:15:28 +00:00
ninja_deps.go
ninja_deps_test.go
notices.go Generate sdk_repo notice files from license metadata 2022-01-28 15:56:07 -08:00
onceper.go
onceper_test.go
override_module.go
package.go
package_ctx.go Escape Host*Variable contents 2021-12-08 15:08:59 -08:00
package_test.go cosmetic changes 2021-12-13 13:33:15 -05:00
packaging.go Move GatherPackagingSpecs out of CopyDepsToZip 2022-03-28 14:29:14 +09:00
packaging_test.go Move GatherPackagingSpecs out of CopyDepsToZip 2022-03-28 14:29:14 +09:00
path_properties.go Use Module.GetProperties() instead of ModuleBase.generalProperties 2022-01-08 03:09:52 +00:00
path_properties_test.go
paths.go Check ABI regardless of arch variants 2022-03-09 18:16:36 +08:00
paths_test.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
phony.go
prebuilt.go Fix genrule tool dependencies when a prebuilt tool is preferred. 2022-01-12 23:35:57 +00:00
prebuilt_build_tool.go
prebuilt_test.go
proto.go convert java proto libraries with bp2build 2022-02-15 21:04:59 +00:00
register.go add type to modules created by LoadHookContext 2022-03-10 20:59:45 +00:00
rule_builder.go Enable restat for sbox rules 2022-04-04 16:42:46 -07:00
rule_builder_test.go Enable restat for sbox rules 2022-04-04 16:42:46 -07:00
sandbox.go
sdk.go
sdk_test.go
sdk_version.go Test SdkSpecForm. 2021-12-01 17:43:00 +00:00
sdk_version_test.go Test SdkSpecForm. 2021-12-01 17:43:00 +00:00
singleton.go
singleton_module.go
singleton_module_test.go Move functionality to test install rules into testing.go. 2022-02-10 23:36:06 +00:00
soong_config_modules.go Close opened paths 2022-02-07 10:17:35 -05:00
soong_config_modules_test.go Add package for printing starlark formatted data 2022-02-08 17:32:28 -05:00
test_asserts.go
test_suites.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
testing.go Move functionality to test install rules into testing.go. 2022-02-10 23:36:06 +00:00
util.go Add SortedStringValues and SortedUniqueStringValues 2022-02-17 15:52:07 -08:00
util_test.go Add SortedStringValues and SortedUniqueStringValues 2022-02-17 15:52:07 -08:00
variable.go Allow appending artifact in dist with product name 2022-03-24 14:46:18 +00:00
variable_test.go
visibility.go
visibility_test.go