Add install_symlink soong module type

This can be used to install symlinks to arbitrary locations/targets
on the device. Used to replace a make-built symlink.

Bug: 205632228
Test: built and ran the emulator observed the /system/bin/hwservicemanager symlink is still there
Change-Id: I6df922c8d919e6d56fa79702815a89c98f4d65ed
This commit is contained in:
Cole Faust
2023-09-01 16:11:47 -07:00
parent 079efbda94
commit dff9c14148
4 changed files with 230 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ func TestPrebuiltEtcVariants(t *testing.T) {
baz_variants := result.ModuleVariantsForTests("baz.conf")
if len(baz_variants) != 1 {
t.Errorf("expected 1, got %#v", bar_variants)
t.Errorf("expected 1, got %#v", baz_variants)
}
}