Files
build_soong/android
Colin Cross 662d61430f Make PackageVarContext implement PathGlobContext
Make PackageVarContext implement PathGlobContext by implementing
GlobWithDeps.  This will allow calls to ExistentPathForSource
inside a VariableFunc to use optimized glob dependencies instead of
falling back to AddNinjaFileDeps, which is resulting in extra
dependencies from soong_build on top level directories, triggering
extra Soong regenerations.

Remove the fallback path in ExistentPathForSource by making it take
a PathGlobContext, which is now a superset of PathContext.

Rewrite TestNinjaDeps to not rely on the unoptimized glob dependencies
in VariableFuncs and instead call ctx.Config().AddNinjaFileDeps
directly.

Bug: 257079828
Test: test_create_global_include_directory
Change-Id: I48cf189157d78b9252d339dbc9baeb27e4694807
2022-11-04 09:04:02 -07:00
..
2022-10-03 08:43:13 -07:00
2022-10-27 23:46:22 +00:00
2022-10-13 20:40:27 +00:00
2021-03-17 16:35:13 +01:00
2022-08-01 16:07:30 -04:00
2022-10-25 11:46:01 +02:00
2022-10-24 10:35:12 -07:00
2021-12-13 13:33:15 -05:00
2021-09-23 11:37:57 +01:00
2021-12-01 17:43:00 +00:00
2022-09-26 18:28:56 +01:00
2022-10-06 10:24:47 +01:00
2022-10-06 11:06:51 +01:00
2022-05-18 16:38:19 -07:00