summaryrefslogtreecommitdiff
path: root/build/art.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/art.go')
-rw-r--r--build/art.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/art.go b/build/art.go
index a24da800f2..e606cb2ffc 100644
--- a/build/art.go
+++ b/build/art.go
@@ -305,7 +305,7 @@ func testcasesContent(config android.Config) map[string]string {
// The 'key' is the file in testcases and 'value' is the path to copy it from.
// The actual copy will be done in make since soong does not do installations.
func addTestcasesFile(ctx android.InstallHookContext) {
- if ctx.Os() != android.BuildOs || ctx.Module().IsSkipInstall() {
+ if ctx.Os() != ctx.Config().BuildOS || ctx.Module().IsSkipInstall() {
return
}