From 51ce4f6f25ba80dba1a999db05a6dc542bd1d0e1 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 10 Feb 2020 17:21:32 -0800 Subject: [PATCH] neverallow: update for different HIDL build. libhidlbase is now being built without intermediate static libraries. This requires a different neverallow exception for the 'enforce_vintf_manifest' variable. Bug: N/A Test: N/A Change-Id: I5b7f7fc8eb4ac37d658e60a491c39baa5ac137f8 --- android/neverallow.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/neverallow.go b/android/neverallow.go index cef73fb9c..48581df71 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -111,7 +111,9 @@ func createTrebleRules() []Rule { // TODO(b/67974785): always enforce the manifest NeverAllow(). - Without("name", "libhidltransport-impl-internal"). + Without("name", "libhidlbase-combined-impl"). + Without("name", "libhidlbase"). + Without("name", "libhidlbase_pgo"). With("product_variables.enforce_vintf_manifest.cflags", "*"). Because("manifest enforcement should be independent of ."),