commit | 737d0a1f84dfe4ff44fd73fa82de12c795b40e5b | [log] [tgz] |
---|---|---|
author | Jose Galmes <jgalmes@google.com> | Tue May 25 22:06:41 2021 -0700 |
committer | Jose Galmes <jgalmes@google.com> | Tue May 25 22:06:41 2021 -0700 |
tree | 9bcca8094d418b6cda9c42f31d040456817a9b82 | |
parent | c194ffbcf39db04af3800c9240b400e6c2bac0b2 [diff] [blame] |
Fix change in logic introduced in https://r.android.com/1666563. https://r.android.com/c/platform/build/soong/+/1666563/3/cc/image.go#551 introduced a change in logic. Bug: 188717568 Test: source build/envsetup.sh Test: m -j nothing Change-Id: Iab27f1c3ca1a488d074f9c5c61fe071d7d445b91
diff --git a/cc/image.go b/cc/image.go index 47a424b..c6b209f 100644 --- a/cc/image.go +++ b/cc/image.go
@@ -579,7 +579,7 @@ // If using a snapshot, the recovery variant under AOSP directories is not needed, // except for kernel headers, which needs all variants. - if m.KernelHeadersDecorator() && + if !m.KernelHeadersDecorator() && !m.IsSnapshotPrebuilt() && usingRecoverySnapshot && !isRecoveryProprietaryModule(mctx) {