diff options
author | 2021-07-20 11:57:48 -0700 | |
---|---|---|
committer | 2021-07-23 00:07:00 +0000 | |
commit | 71f763399e95676d665e071623bccb714acf88b4 (patch) | |
tree | 442dbbe8745d5269cf5ed13307700ba41d0c8866 /build/art.go | |
parent | c9acd230431acf786b5597cbbc2da57e88eb0435 (diff) |
Use config.BuildOS instead of android.BuildOs
android.BuildOs is being replaced with config.BuildOS so that it
can vary based on the product configuration.
Bug: 190084016
Test: m checkbuild
Change-Id: Ic660bd9a34faf323a1458bb88f07b1bc8db7d460
Diffstat (limited to 'build/art.go')
-rw-r--r-- | build/art.go | 2 |
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 } |