support for previewer

Signed-off-by: xiatian <xiatian44@huawei.com>
Change-Id: I2e3599b52493bf3829ec901e8f0695343b7842c7
This commit is contained in:
xiatian
2025-11-22 17:53:25 +00:00
committed by xiatian
parent e5f72a9648
commit 61038707b0
2 changed files with 36 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
# 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")
filemanagement_cangjie_wrapper_packages_ohos = [
"//foundation/filemanagement/filemanagement_cangjie_wrapper/ohos/file:ohos.file",
"//foundation/filemanagement/filemanagement_cangjie_wrapper/ohos/file/fileuri:ohos.file.fileuri",
"//foundation/filemanagement/filemanagement_cangjie_wrapper/ohos/file/fs:ohos.file.fs"
]
filemanagement_cangjie_wrapper_packages_kit = [
"//foundation/filemanagement/filemanagement_cangjie_wrapper/kit/CoreFileKit:kit.CoreFileKit",
]
copy_ohos_cangjie_sdk_api_lib("copy_sdk_filemanagement_cangjie_libs") {
ohos_inputs = filemanagement_cangjie_wrapper_packages_ohos
kit_inputs = filemanagement_cangjie_wrapper_packages_kit
}
+8 -1
View File
@@ -37,7 +37,14 @@
"//foundation/filemanagement/filemanagement_cangjie_wrapper/ohos/file/fileuri:ohos.file.fileuri",
"//foundation/filemanagement/filemanagement_cangjie_wrapper/ohos/file/fs:ohos.file.fs"
],
"inner_kits": [],
"inner_kits": [
{
"name": "//foundation/filemanagement/filemanagement_cangjie_wrapper:copy_sdk_filemanagement_cangjie_libs"
},
{
"name": "//foundation/filemanagement/filemanagement_cangjie_wrapper:copy_sdk_filemanagement_cangjie_libs_kit"
}
],
"test": []
}
}