Exclude dirs from binder interface whitelisting

Exclude vendor/ and hardware/ from the manually written binder interface
whitelist.

Bug: 136279235
Test: interfaces in excluded directories are not checked against whitelist.
Change-Id: I0d640e23489b37d0c0787d5fca6bcdab10034109
This commit is contained in:
Ivan Lozano
2019-11-26 10:32:50 -08:00
parent 46fc58ee8d
commit d094d4006f
2 changed files with 11 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
ctx.Strict("WITH_TIDY_FLAGS", "${config.TidyWithTidyFlags}")
ctx.Strict("AIDL_CPP", "${aidlCmd}")
ctx.Strict("ALLOWED_MANUAL_INTERFACE_PATHS", strings.Join(allowedManualInterfacePaths, " "))
ctx.Strict("M4", "${m4Cmd}")