From c4b6f435b9a4fce9b30135b364f95b2d49e40755 Mon Sep 17 00:00:00 2001 From: chengjinsong2 Date: Wed, 17 May 2023 11:25:02 +0800 Subject: [PATCH] add innertag on graphic_graphic_2d Signed-off-by: chengjinsong2 --- frameworks/opengl_wrapper/BUILD.gn | 2 ++ frameworks/surface/BUILD.gn | 4 ++++ interfaces/kits/napi/graphic/color_manager/BUILD.gn | 1 + rosen/modules/2d_graphics/BUILD.gn | 1 + rosen/modules/animation/window_animation/BUILD.gn | 1 + rosen/modules/composer/vsync/BUILD.gn | 1 + rosen/modules/effect/color_picker/BUILD.gn | 1 + rosen/modules/effect/egl/BUILD.gn | 1 + rosen/modules/effect/skia_effectChain/BUILD.gn | 1 + rosen/modules/frame_analyzer/BUILD.gn | 1 + rosen/modules/render_service_base/BUILD.gn | 1 + rosen/modules/render_service_client/BUILD.gn | 1 + utils/color_manager/BUILD.gn | 1 + utils/socketpair/BUILD.gn | 1 + utils/sync_fence/BUILD.gn | 4 ++++ 15 files changed, 22 insertions(+) diff --git a/frameworks/opengl_wrapper/BUILD.gn b/frameworks/opengl_wrapper/BUILD.gn index e61fe8a731..89448bda52 100644 --- a/frameworks/opengl_wrapper/BUILD.gn +++ b/frameworks/opengl_wrapper/BUILD.gn @@ -74,6 +74,7 @@ if (current_os != "ohos") { output_name = "EGL" output_extension = "so" + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } @@ -207,6 +208,7 @@ if (current_os != "ohos") { output_name = "GLESv3" output_extension = "so" + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/frameworks/surface/BUILD.gn b/frameworks/surface/BUILD.gn index 9fa08f0876..df2b25f24a 100644 --- a/frameworks/surface/BUILD.gn +++ b/frameworks/surface/BUILD.gn @@ -111,6 +111,10 @@ ohos_shared_library("surface") { public_deps -= [ "//drivers/peripheral/display/hdi_service/gralloc/client:hdi_gralloc_client" ] } + innerapi_tags = [ + "chipsetsdk", + "platformsdk", + ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/interfaces/kits/napi/graphic/color_manager/BUILD.gn b/interfaces/kits/napi/graphic/color_manager/BUILD.gn index 6dec4e72d9..9487ebb3c7 100644 --- a/interfaces/kits/napi/graphic/color_manager/BUILD.gn +++ b/interfaces/kits/napi/graphic/color_manager/BUILD.gn @@ -41,6 +41,7 @@ ohos_shared_library("color_space_object_convertor") { cflags_cc = [ "-std=c++17" ] + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/2d_graphics/BUILD.gn b/rosen/modules/2d_graphics/BUILD.gn index ed37e2205d..aacfedcb34 100755 --- a/rosen/modules/2d_graphics/BUILD.gn +++ b/rosen/modules/2d_graphics/BUILD.gn @@ -212,6 +212,7 @@ if (!is_cross_platform_build) { symlink_target_name = [ "libnative_drawing.so" ] deps = [ ":2d_graphics_source_ohos" ] public_configs = [ ":export_config" ] + innerapi_tags = [ "platformsdk_indirect" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/animation/window_animation/BUILD.gn b/rosen/modules/animation/window_animation/BUILD.gn index 9a7d23a006..455109147b 100644 --- a/rosen/modules/animation/window_animation/BUILD.gn +++ b/rosen/modules/animation/window_animation/BUILD.gn @@ -39,6 +39,7 @@ ohos_shared_library("window_animation") { "ipc:ipc_core", ] + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/composer/vsync/BUILD.gn b/rosen/modules/composer/vsync/BUILD.gn index 3a881e0993..6ff68d1a62 100644 --- a/rosen/modules/composer/vsync/BUILD.gn +++ b/rosen/modules/composer/vsync/BUILD.gn @@ -83,6 +83,7 @@ ohos_shared_library("libvsync") { public_deps += [ "//foundation/graphic/graphic_2d_ext/ohcore/graphic_compat_layer:libgraphic_compat_layer" ] } + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/effect/color_picker/BUILD.gn b/rosen/modules/effect/color_picker/BUILD.gn index 4a5661760a..1319a574cb 100644 --- a/rosen/modules/effect/color_picker/BUILD.gn +++ b/rosen/modules/effect/color_picker/BUILD.gn @@ -63,6 +63,7 @@ ohos_shared_library("color_picker") { cflags_cc = [ "-std=c++17" ] + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/effect/egl/BUILD.gn b/rosen/modules/effect/egl/BUILD.gn index cb7fa080db..becbc8c7f7 100644 --- a/rosen/modules/effect/egl/BUILD.gn +++ b/rosen/modules/effect/egl/BUILD.gn @@ -55,6 +55,7 @@ ohos_shared_library("libegl_effect") { install_enable = false } + innerapi_tags = [ "platformsdk_indirect" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/effect/skia_effectChain/BUILD.gn b/rosen/modules/effect/skia_effectChain/BUILD.gn index 75800d774a..9f6de7ffaa 100644 --- a/rosen/modules/effect/skia_effectChain/BUILD.gn +++ b/rosen/modules/effect/skia_effectChain/BUILD.gn @@ -85,6 +85,7 @@ ohos_shared_library("skeffectchain") { cflags_cc = [ "-std=c++17" ] install_enable = true + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/frame_analyzer/BUILD.gn b/rosen/modules/frame_analyzer/BUILD.gn index f067819ea0..7d7becc8d9 100644 --- a/rosen/modules/frame_analyzer/BUILD.gn +++ b/rosen/modules/frame_analyzer/BUILD.gn @@ -74,6 +74,7 @@ ohos_shared_library("libframe_analyzer") { public_configs = [ ":libframe_analyzer_public_config" ] subsystem_name = "graphic" + innerapi_tags = [ "platformsdk_indirect" ] part_name = "graphic_standard" } ## Build libframe_analyzer.so }}} diff --git a/rosen/modules/render_service_base/BUILD.gn b/rosen/modules/render_service_base/BUILD.gn index 0e199cda86..1c8e1ccbfd 100644 --- a/rosen/modules/render_service_base/BUILD.gn +++ b/rosen/modules/render_service_base/BUILD.gn @@ -239,6 +239,7 @@ ohos_shared_library("librender_service_base") { "src/platform:platform", ] + innerapi_tags = [ "platformsdk_indirect" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/rosen/modules/render_service_client/BUILD.gn b/rosen/modules/render_service_client/BUILD.gn index 37e99814df..5fce5c0471 100644 --- a/rosen/modules/render_service_client/BUILD.gn +++ b/rosen/modules/render_service_client/BUILD.gn @@ -193,6 +193,7 @@ render_service_client_source_set("render_service_client_src_static") { ohos_shared_library("librender_service_client") { public_deps = [ ":render_service_client_src" ] + innerapi_tags = [ "platformsdk" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/utils/color_manager/BUILD.gn b/utils/color_manager/BUILD.gn index dc3ce87274..f3bdb2ce0d 100755 --- a/utils/color_manager/BUILD.gn +++ b/utils/color_manager/BUILD.gn @@ -52,6 +52,7 @@ ohos_shared_library("color_manager") { public_deps += [ "//third_party/flutter/build/skia:ace_skia_ohos" ] } + innerapi_tags = [ "platformsdk" ] subsystem_name = "graphic" part_name = "graphic_standard" } diff --git a/utils/socketpair/BUILD.gn b/utils/socketpair/BUILD.gn index c1308954a1..3f6a1a82a5 100644 --- a/utils/socketpair/BUILD.gn +++ b/utils/socketpair/BUILD.gn @@ -52,6 +52,7 @@ ohos_shared_library("socketpair") { "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", ] + innerapi_tags = [ "platformsdk_indirect" ] part_name = "graphic_standard" subsystem_name = "graphic" } diff --git a/utils/sync_fence/BUILD.gn b/utils/sync_fence/BUILD.gn index f4c100e8b9..1bf94ccbd0 100644 --- a/utils/sync_fence/BUILD.gn +++ b/utils/sync_fence/BUILD.gn @@ -58,6 +58,10 @@ ohos_shared_library("sync_fence") { "ipc:ipc_single", ] + innerapi_tags = [ + "chipsetsdk_indirect", + "platformsdk_indirect", + ] part_name = "graphic_standard" subsystem_name = "graphic" }