Merge "Add exclude_from_vendor_snapshot property, related logic"

This commit is contained in:
Bill Peckham
2020-09-03 17:52:29 +00:00
committed by Gerrit Code Review
7 changed files with 282 additions and 12 deletions

View File

@@ -738,7 +738,7 @@ func isSanitizableDependencyTag(tag blueprint.DependencyTag) bool {
// as vendor snapshot. Such modules must create both cfi and non-cfi variants,
// except for ones which explicitly disable cfi.
func needsCfiForVendorSnapshot(mctx android.TopDownMutatorContext) bool {
if isVendorProprietaryPath(mctx.ModuleDir()) {
if isVendorProprietaryModule(mctx) {
return false
}