diff --git a/BUILD.gn b/BUILD.gn new file mode 100644 index 0000000..737b760 --- /dev/null +++ b/BUILD.gn @@ -0,0 +1,21 @@ +# 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") + +time_cangjie_wrapper_packages_ohos = [ + "//base/time/time_cangjie_wrapper/ohos/system_date_time:ohos.system_date_time" +] +copy_ohos_cangjie_sdk_api_lib("copy_sdk_time_cangjie_libs") { + ohos_inputs = time_cangjie_wrapper_packages_ohos +} \ No newline at end of file diff --git a/bundle.json b/bundle.json index 88e1ec7..b8d1787 100644 --- a/bundle.json +++ b/bundle.json @@ -38,6 +38,9 @@ "inner_api": [ { "name": "//base/time/time_cangjie_wrapper/ohos/system_date_time:ohos.system_date_time" + }, + { + "name": "//base/time/time_cangjie_wrapper:copy_sdk_time_cangjie_libs" } ], "test": [