From 481302525afc0ed4236fa2e5bbf92dff34aefea7 Mon Sep 17 00:00:00 2001 From: xiatian Date: Sat, 22 Nov 2025 17:42:56 +0000 Subject: [PATCH] support for previewer Signed-off-by: xiatian Change-Id: I8130c610881aedd8c974057857aa4faa4bf0a008 --- BUILD.gn | 26 ++++++++++++++++++++++++++ bundle.json | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100644 BUILD.gn diff --git a/BUILD.gn b/BUILD.gn new file mode 100644 index 0000000..1d96314 --- /dev/null +++ b/BUILD.gn @@ -0,0 +1,26 @@ +# Copyright (c) 2025 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import("//build/templates/cangjie/cjc.gni") + +communication_cangjie_wrapper_packages_ohos = [ + "//foundation/communication/communication_cangjie_wrapper/ohos/rpc:ohos.rpc", +] +communication_cangjie_wrapper_packages_kit = [ + "//foundation/communication/communication_cangjie_wrapper/kit/IPCKit:kit.IPCKit", +] + +copy_ohos_cangjie_sdk_api_lib("copy_sdk_communication_cangjie_libs") { + ohos_inputs = communication_cangjie_wrapper_packages_ohos + kit_inputs = communication_cangjie_wrapper_packages_kit +} \ No newline at end of file diff --git a/bundle.json b/bundle.json index c1cefd4..fc37bc1 100644 --- a/bundle.json +++ b/bundle.json @@ -37,6 +37,12 @@ "inner_kits": [ { "name": "//foundation/communication/communication_cangjie_wrapper/ohos/rpc:ohos.rpc" + }, + { + "name": "//foundation/communication/communication_cangjie_wrapper:copy_sdk_communication_cangjie_libs" + }, + { + "name": "//foundation/communication/communication_cangjie_wrapper:copy_sdk_communication_cangjie_libs_kit" } ], "test": []