Fix visibility rules now that Make supports visibility checks

Previously, Soong visibility rules did not affect Make modules. Now
these checks have been implemented in:

https://android-review.googlesource.com/c/platform/build/+/1324454

So this fixes the visibility rules to include modules that were
previously using libbacktrace_no_dex.

Bug: 158599308
Test: treehugger
Change-Id: I8f242015ce72ad989e13d56ab085f2abe2f8ce92
This commit is contained in:
Dan Willemsen 2020-06-04 16:49:06 -07:00
parent e10fb5f5c5
commit ed96fe1d30
1 changed files with 4 additions and 1 deletions

View File

@ -126,7 +126,10 @@ cc_library {
// Static library without DEX support to avoid dependencies on the ART APEX.
cc_library_static {
name: "libbacktrace_no_dex",
visibility: ["//system/core/debuggerd"],
visibility: [
"//system/core/debuggerd",
"//system/core/init",
],
defaults: ["libbacktrace_defaults"],
cflags: ["-DNO_LIBDEXFILE_SUPPORT"],
target: {