platform_build_soong/tests
Usta (Tsering) Shrestha c4c07b12b6 reduce forest generation to be incremental
Previously, symlink forest generation involved removing the entire
symlink forest and recreating it from scratch. With this change,
a) symlinks which need not change are untouched,
b) symlinks pointing to the wrong location are fixed, and
c) symlinks which should no longer exist are removed.

On AOSP on my local machine, this reduces the symlink forest generation
step from 2.5s to 1.1s clean, and 0.6s when a single file is added to
a source directory.

Bug: 257528847
Test: m bp2build, touch `fakefile` under the forest, remove a file
from the source tree, rerun m bp2build. Manually verify the new forest
does not retain the link to the deleted source file, and that fakefile
no longer exists in the forest.

Change-Id: I481371ae487e9419af6a3a4370c552578b07d650
2023-02-07 06:23:43 +00:00
..
androidmk_test.sh cosmetic: auto-scan test_ functions 2023-01-06 14:26:56 +00:00
apex_cc_module_arch_variant_tests.sh Change grep pattern so it can report number of CppCompile actions correctly without being impacted by setting -march on command line twice. 2023-01-27 22:52:20 +00:00
apex_comparison_tests.sh Reference deapexer directly in bazel-bin 2023-01-11 17:30:55 -05:00
bootstrap_test.sh for consistency symlink_tree failure = os.Exit(1) 2023-01-13 14:07:10 -05:00
bp2build_bazel_test.sh reduce forest generation to be incremental 2023-02-07 06:23:43 +00:00
lib.sh Precompile python sources 2023-01-27 15:43:38 -08:00
mixed_mode_test.sh cosmetic: auto-scan test_ functions 2023-01-06 14:26:56 +00:00
run_integration_tests.sh Add integration test for testing the arch variant passed to cc modules included in APEXES. 2023-01-10 21:38:46 +00:00
soong_test.sh cosmetic: auto-scan test_ functions 2023-01-06 14:26:56 +00:00