platform_build_soong/tests
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
..
androidmk_test.sh Shellcheck warnings addressed 2022-06-09 15:47:05 -04:00
apex_comparison_tests.sh Move bazel from being a shell function to being a script at build/bazel/bin/bazel 2022-10-24 06:38:11 -07:00
bootstrap_test.sh Make PackageVarContext implement PathGlobContext 2022-11-04 09:04:02 -07:00
bp2build_bazel_test.sh Add groundwork to easily all-enable bazel-mode 2022-11-01 09:53:46 -04:00
lib.sh Add groundwork to easily all-enable bazel-mode 2022-11-01 09:53:46 -04:00
mixed_mode_test.sh Add groundwork to easily all-enable bazel-mode 2022-11-01 09:53:46 -04:00
run_integration_tests.sh Rewrite apex_diff_test as regular soong integration tests. 2022-06-20 06:42:37 +00:00
soong_test.sh Ensure directories in the Soong output dir have appropriate permissions, so that 'm clean' works. 2021-08-12 05:07:11 -04:00