Support paths for init_rc from Soong.

The property init_rc accepts paths and references to other modules;
however, none of that is passed onto make, resulting in errors if a
non-local path is used.

Test: m
Bug: 184567830
Change-Id: Idbbf9de66c5182784d055e1cd64bcef34a7dbd79
This commit is contained in:
Liz Kammer
2021-04-06 10:35:10 -04:00
parent 440b234081
commit 0c4f71cd96
3 changed files with 4 additions and 4 deletions

View File

@@ -2745,7 +2745,7 @@ func TestAndroidMkWritesCommonProperties(t *testing.T) {
data.Custom(&builder, name, prefix, "", data)
androidMk := builder.String()
ensureContains(t, androidMk, "LOCAL_VINTF_FRAGMENTS := fragment.xml\n")
ensureContains(t, androidMk, "LOCAL_INIT_RC := init.rc\n")
ensureContains(t, androidMk, "LOCAL_FULL_INIT_RC := init.rc\n")
}
func TestStaticLinking(t *testing.T) {