Descripiton: fix gn visibility problem

Issue: I6UZYW

Signed-off-by: xxlight <xiaoxiaoliang2@huawei.com>
Change-Id: Ie2b57570fdd27b48edae6b8ef767216d6751eb45
This commit is contained in:
xxlight 2023-04-12 12:00:30 +08:00
parent f0a5da06b1
commit 07d5097dfe
2 changed files with 5 additions and 1 deletions

View File

@ -95,7 +95,10 @@ group("ark_host_mac_tools_packages") {
# Common config for ark source
config("ark_config") {
visibility = [ ":*" ]
visibility = [
"./*",
"//arkcompiler/ets_frontend/*",
]
include_dirs = [ "$ark_root" ]
defines = [ "PANDA_TARGET_MOBILE_WITH_MANAGED_LIBS=1" ]

View File

@ -27,6 +27,7 @@ config("defectscanaux_public_config") {
config("defectscanaux_test_config") {
visibility = [ ":*" ]
visibility += [ "./tests/unittest:*" ]
configs = [ ":defectscanaux_public_config" ]
}