Add tests for ctx.InstallFile

Add tests that cover Soong-only installation as well as installation with
InstallBypassMake.

Bug: 204136549
Test: TestInstall
Test: TestInstallBypassMake
Change-Id: Iac22c9fdf99994e06b419623ee5fa399ef6957fb
This commit is contained in:
Colin Cross
2021-11-09 13:17:44 -08:00
parent 7b6a55f5a2
commit 6ac9576eef
3 changed files with 313 additions and 7 deletions

View File

@@ -19,6 +19,9 @@ bootstrap_go_package {
"soong-ui-metrics_proto",
"golang-protobuf-proto",
"golang-protobuf-encoding-prototext",
// Only used for tests.
"androidmk-parser",
],
srcs: [
"androidmk.go",