mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 09:12:41 +00:00
Descripiton: fix gn visibility problem
Issue: I6UZYW Signed-off-by: xxlight <xiaoxiaoliang2@huawei.com> Change-Id: Iea3548b4dd19a2394912a86575bb61d240c994d5
This commit is contained in:
parent
9c1d256835
commit
4415b7dbe0
10
BUILD.gn
10
BUILD.gn
@ -16,7 +16,8 @@ import("//foundation/arkui/ace_engine/ace_config.gni")
|
||||
|
||||
# Common config for Ability Cross-platform Environment(ACE) source
|
||||
config("ace_config") {
|
||||
visibility = [ ":*" ]
|
||||
visibility = [ "./*" ]
|
||||
visibility += [ "./../napi/*" ]
|
||||
include_dirs = [
|
||||
"$ace_root",
|
||||
"$ace_root/frameworks",
|
||||
@ -68,6 +69,13 @@ config("ace_config") {
|
||||
|
||||
config("ace_test_config") {
|
||||
visibility = [ ":*" ]
|
||||
visibility += [
|
||||
"//foundation/arkui/ace_engine/build/*",
|
||||
"//foundation/arkui/ace_engine/frameworks/bridge/test/unittest/*",
|
||||
"//foundation/arkui/ace_engine/frameworks/core/*",
|
||||
"//foundation/arkui/ace_engine/test/fuzztest/*",
|
||||
"//foundation/graphic/graphic_2d/rosen/test/render_service/*",
|
||||
]
|
||||
include_dirs = [
|
||||
"$ace_root",
|
||||
"$ace_root/frameworks",
|
||||
|
@ -28,7 +28,7 @@ group("unittest") {
|
||||
|
||||
# unittest config
|
||||
config("ace_unittest_config") {
|
||||
visibility = [ ":*" ]
|
||||
visibility = [ "./../../*" ]
|
||||
include_dirs = [
|
||||
"$ace_root",
|
||||
"$ace_root/frameworks",
|
||||
|
Loading…
Reference in New Issue
Block a user