部件化整改

Signed-off-by: liuyufeng <liuyufeng52@huawei.com>
This commit is contained in:
liuyufeng 2023-06-30 15:39:16 +08:00
parent 81b487f7d2
commit a21bcb6702
7 changed files with 15 additions and 18 deletions

View File

@ -79,7 +79,8 @@
"icu",
"libpng",
"zilb",
"skia"
"skia",
"cjson"
]
},
"build": {

View File

@ -56,9 +56,6 @@ ohos_executable("bootanimation") {
"$graphic_2d_root/rosen/modules/2d_graphics:2d_graphics",
"$graphic_2d_root/rosen/modules/render_service_base/src/platform:platform",
"$graphic_2d_root/rosen/modules/render_service_client:librender_service_client",
"//base/global/resource_management/frameworks/resmgr:global_resmgr",
"//foundation/multimedia/player_framework/interfaces/inner_api/native:media_client",
"//foundation/window/window_manager/dm:libdm",
"//third_party/cJSON:cjson_static",
"//third_party/zlib:libz",
]
@ -78,7 +75,10 @@ ohos_executable("bootanimation") {
"hilog_native:libhilog",
"hitrace_native:hitrace_meter",
"ipc:ipc_core",
"player_framework:media_client",
"resource_management:global_resmgr",
"samgr:samgr_proxy",
"window_manager:libdm",
"window_manager:libwm",
]

View File

@ -31,10 +31,7 @@ ohos_shared_library("windowanimationmanager_napi") {
cflags_cc = [ "-std=c++17" ]
deps = [
"//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation",
"//foundation/window/window_manager/utils:libwmutil",
]
deps = [ "//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation" ]
external_deps = [
"ability_runtime:ability_manager",
@ -45,6 +42,7 @@ ohos_shared_library("windowanimationmanager_napi") {
"napi:ace_napi",
"samgr:samgr_proxy",
"window_manager:libwm",
"window_manager:libwmutil",
]
defines = []

View File

@ -64,16 +64,16 @@ ohos_shared_library("effectkit") {
]
deps = [
"//foundation/arkui/napi:ace_napi",
"//foundation/graphic/graphic_2d/rosen/modules/effect/color_picker:color_picker",
"//foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain:skeffectchain",
"//foundation/multimedia/image_framework/interfaces/kits/js/common:image",
]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog",
"multimedia_image_framework:image",
"multimedia_image_framework:image_native",
"napi:ace_napi",
]
cflags_cc = [ "-std=c++17" ]

View File

@ -53,14 +53,12 @@ ohos_shared_library("color_picker") {
"src/color_picker.cpp",
]
deps = [
"$graphic_2d_root/utils/color_manager:color_manager",
"//foundation/multimedia/image_framework/interfaces/innerkits:image_native",
]
deps = [ "$graphic_2d_root/utils/color_manager:color_manager" ]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog",
"multimedia_image_framework:image_native",
]
cflags_cc = [ "-std=c++17" ]

View File

@ -46,14 +46,11 @@ config("effect_public_config") {
ohos_shared_library("libeffectchain") {
sources = [ "//third_party/cJSON/cJSON.c" ]
deps = [
"//foundation/multimedia/image_framework/interfaces/innerkits:image_native",
]
external_deps = [
"c_utils:utils",
"hilog_native:libhilog",
"hitrace_native:hitrace_meter",
"multimedia_image_framework:image_native",
]
if (effect_enable_gpu) {

View File

@ -61,11 +61,14 @@ ohos_shared_library("skeffectchain") {
}
external_deps = [
"c_utils:utius",
"hilog_native:libhilog",
"hitrace_native:hitrace_meter",
"init:libbegetutil",
"ipc:ipc_core",
"multimedia_image_framework:image",
"multimedia_image_framework:image_native",
"multimedia_image_framework:pixelconvertadapter",
"napi:ace_napi",
"samgr:samgr_proxy",
]