未验证 提交 d6843af0 编写于 作者: O openharmony_ci 提交者: Gitee

!8922 图形graphicnapi配置.gn文件规范整改

Merge pull request !8922 from 李西腾/master
...@@ -21,6 +21,7 @@ ohos_moduletest_suite("ActsGraphicNapiDrawingTest") { ...@@ -21,6 +21,7 @@ ohos_moduletest_suite("ActsGraphicNapiDrawingTest") {
module_out_path = module_output_path module_out_path = module_output_path
subsystem_name = "graphic" subsystem_name = "graphic"
part_name = "graphic_standard" part_name = "graphic_standard"
comPath = "../../../../../foundation/graphic/graphic_2d"
sources = [ sources = [
"NativeDrawingBitmapTest.cpp", "NativeDrawingBitmapTest.cpp",
...@@ -39,16 +40,14 @@ ohos_moduletest_suite("ActsGraphicNapiDrawingTest") { ...@@ -39,16 +40,14 @@ ohos_moduletest_suite("ActsGraphicNapiDrawingTest") {
] ]
include_dirs = [ include_dirs = [
"//foundation/graphic/graphic_2d/rosen/modules/2d_engine", "$comPath/rosen/modules/2d_engine",
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include",
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src",
"//third_party/googletest/googletest/include", "//third_party/googletest/googletest/include",
] ]
external_deps = [ "c_utils:utils" ] external_deps = [
deps = [ "c_utils:utils",
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "graphic_standard:2d_graphics",
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics", "hiviewdfx_hilog_native:libhilog",
"//third_party/googletest:gtest_main",
] ]
deps = [ "//third_party/googletest:gtest_main" ]
} }
...@@ -21,6 +21,7 @@ ohos_moduletest_suite("ActsGraphicNapiTest") { ...@@ -21,6 +21,7 @@ ohos_moduletest_suite("ActsGraphicNapiTest") {
module_out_path = module_output_path module_out_path = module_output_path
subsystem_name = "graphic" subsystem_name = "graphic"
part_name = "graphic_standard" part_name = "graphic_standard"
comPath = "../../../../../foundation/graphic/graphic_2d"
sources = [ sources = [
"NativeBufferTest.cpp", "NativeBufferTest.cpp",
...@@ -38,30 +39,30 @@ ohos_moduletest_suite("ActsGraphicNapiTest") { ...@@ -38,30 +39,30 @@ ohos_moduletest_suite("ActsGraphicNapiTest") {
] ]
include_dirs = [ include_dirs = [
"//foundation/graphic/graphic_2d/interfaces/inner_api/common", "$comPath/rosen/modules/composer/vsync/include",
"//foundation/graphic/graphic_2d/rosen/modules/composer/vsync/include", "$comPath/interfaces/inner_api/common",
"//foundation/graphic/graphic_2d/frameworks/surface/include", "$comPath/frameworks/surface/include",
"//foundation/communication/ipc/interfaces/innerkits/ipc_core/include", "../../../../../drivers/peripheral/display/interfaces/include",
"//drivers/peripheral/display/interfaces/include", ]
"//base/security/access_token/interfaces/innerkits/nativetoken/include",
"//base/security/access_token/interfaces/innerkits/accesstoken/include", external_deps = [
"//base/security/access_token/interfaces/innerkits/token_setproc/include", "access_token:libaccesstoken_sdk",
"access_token:libnativetoken",
"access_token:libtoken_setproc",
"graphic_standard:libgraphic_utils",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
] ]
deps = [ deps = [
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "$comPath:libnative_image",
"//base/security/access_token/interfaces/innerkits/accesstoken:libaccesstoken_sdk", "$comPath:libsurface",
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken", "$comPath/frameworks/opengl_wrapper:EGL",
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc", "$comPath/frameworks/opengl_wrapper:GLESv3",
"//foundation/graphic/graphic_2d:libnative_image", "$comPath/rosen/modules/composer/native_vsync:libnative_vsync",
"//foundation/graphic/graphic_2d:libsurface", "$comPath/rosen/modules/composer/vsync:libvsync",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:EGL", "$comPath/utils:buffer_handle",
"//foundation/graphic/graphic_2d/frameworks/opengl_wrapper:GLESv3",
"//foundation/graphic/graphic_2d/rosen/modules/composer/native_vsync:libnative_vsync",
"//foundation/graphic/graphic_2d/rosen/modules/composer/vsync:libvsync",
"//foundation/graphic/graphic_2d/utils:buffer_handle",
"//foundation/graphic/graphic_2d/utils:libgraphic_utils",
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
"//third_party/googletest:gmock_main", "//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main", "//third_party/googletest:gtest_main",
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册