From f88246fb83d3fe7484cdf51b4b60fe66f09f36fc Mon Sep 17 00:00:00 2001 From: zhoujing Date: Sat, 22 Nov 2025 16:17:44 +0000 Subject: [PATCH] support for previewer Change-Id: I3b9b0ec0484a6f29b51abe552947384667968e44 Signed-off-by: zhoujing --- 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..1ef6a87 --- /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") + +applications_cangjie_wrapper_packages_ohos = [ + "//applications/standard/applications_cangjie_wrapper/ohos/settings:ohos.settings" +] +applications_cangjie_wrapper_packages_kit = [ + "//applications/standard/applications_cangjie_wrapper/kit/BasicServicesKit:kit.BasicServicesKit", +] + +copy_ohos_cangjie_sdk_api_lib("copy_sdk_applications_cangjie_libs") { + ohos_inputs = applications_cangjie_wrapper_packages_ohos + kit_inputs = applications_cangjie_wrapper_packages_kit +} \ No newline at end of file diff --git a/bundle.json b/bundle.json index e7eb7c2..5bcf7b9 100644 --- a/bundle.json +++ b/bundle.json @@ -35,6 +35,12 @@ "//applications/standard/applications_cangjie_wrapper/kit/BasicServicesKit:kit.BasicServicesKit" ], "inner_kits": [ + { + "name": "//applications/standard/applications_cangjie_wrapper:copy_sdk_applications_cangjie_libs" + }, + { + "name": "//applications/standard/applications_cangjie_wrapper:copy_sdk_applications_cangjie_libs_kit" + } ], "test": [] }