From f36a3ac8b886abc12d98f13294959b32856361e8 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 27 Apr 2021 18:03:14 +0000 Subject: [PATCH] more no include_dir Add a few more paths. Bug: N/A Test: N/A Change-Id: Ib9503c2c792c4e93e30be631406e7e8314e6af31 --- android/neverallow.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/neverallow.go b/android/neverallow.go index d4a1ff160..41b399a70 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -80,7 +80,16 @@ func createIncludeDirsRules() []Rule { "external/wycheproof", } noUseIncludeDir := []string{ + "frameworks/av/apex", + "frameworks/av/tools", + "frameworks/native/cmds", + "system/apex", + "system/bpf", + "system/gatekeeper", + "system/hwservicemanager", + "system/libbase", "system/libfmq", + "system/libvintf", } rules := make([]Rule, 0, len(notInIncludeDir)+len(noUseIncludeDir))