From 50bea7152fc5616bcea30fc49799307e20c8d83b Mon Sep 17 00:00:00 2001 From: liujialiang Date: Fri, 22 Jul 2022 09:38:53 +0800 Subject: [PATCH] Add a shell for commonlibrary_utils_lite. Signed-off-by: liujialiang --- native/lite/BUILD.gn | 18 ++++++++++++++++++ native/lite/file/BUILD.gn | 18 ++++++++++++++++++ native/lite/hals | 1 + native/lite/include | 1 + native/lite/js/builtin/BUILD.gn | 20 ++++++++++++++++++++ native/lite/kal/timer/BUILD.gn | 18 ++++++++++++++++++ native/lite/kal/timer/include | 1 + native/lite/memory | 1 + native/lite/timer_task/BUILD.gn | 18 ++++++++++++++++++ native/lite/timer_task/include | 1 + 10 files changed, 97 insertions(+) create mode 100644 native/lite/BUILD.gn create mode 100644 native/lite/file/BUILD.gn create mode 120000 native/lite/hals create mode 120000 native/lite/include create mode 100644 native/lite/js/builtin/BUILD.gn create mode 100644 native/lite/kal/timer/BUILD.gn create mode 120000 native/lite/kal/timer/include create mode 120000 native/lite/memory create mode 100644 native/lite/timer_task/BUILD.gn create mode 120000 native/lite/timer_task/include diff --git a/native/lite/BUILD.gn b/native/lite/BUILD.gn new file mode 100644 index 0000000..9eb6b58 --- /dev/null +++ b/native/lite/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright (c) 2022 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/lite/ndk/ndk.gni") + +group("utils") { + deps = [ "//commonlibrary/utils_lite:utils" ] +} diff --git a/native/lite/file/BUILD.gn b/native/lite/file/BUILD.gn new file mode 100644 index 0000000..be379bf --- /dev/null +++ b/native/lite/file/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright (c) 2022 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/lite/config/component/lite_component.gni") + +group("file") { + deps = [ "//commonlibrary/utils_lite/file:file" ] +} diff --git a/native/lite/hals b/native/lite/hals new file mode 120000 index 0000000..10cba89 --- /dev/null +++ b/native/lite/hals @@ -0,0 +1 @@ +../../../commonlibrary/utils_lite/hals \ No newline at end of file diff --git a/native/lite/include b/native/lite/include new file mode 120000 index 0000000..7a94334 --- /dev/null +++ b/native/lite/include @@ -0,0 +1 @@ +../../../commonlibrary/utils_lite/include \ No newline at end of file diff --git a/native/lite/js/builtin/BUILD.gn b/native/lite/js/builtin/BUILD.gn new file mode 100644 index 0000000..e7d513d --- /dev/null +++ b/native/lite/js/builtin/BUILD.gn @@ -0,0 +1,20 @@ +# +# Copyright (c) 2022 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/lite/config/component/lite_component.gni") + +group("ace_utils_kits") { + deps = [ "//commonlibrary/utils_lite/js/builtin:ace_utils_kits" ] +} diff --git a/native/lite/kal/timer/BUILD.gn b/native/lite/kal/timer/BUILD.gn new file mode 100644 index 0000000..33e1c11 --- /dev/null +++ b/native/lite/kal/timer/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright (c) 2022 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/lite/config/component/lite_component.gni") + +group("kal_timer") { + deps = [ "//commonlibrary/utils_lite/kal/timer:kal_timer" ] +} diff --git a/native/lite/kal/timer/include b/native/lite/kal/timer/include new file mode 120000 index 0000000..8e64f91 --- /dev/null +++ b/native/lite/kal/timer/include @@ -0,0 +1 @@ +../../../../../commonlibrary/utils_lite/kal/timer/include \ No newline at end of file diff --git a/native/lite/memory b/native/lite/memory new file mode 120000 index 0000000..51aa99c --- /dev/null +++ b/native/lite/memory @@ -0,0 +1 @@ +../../../commonlibrary/utils_lite/memory \ No newline at end of file diff --git a/native/lite/timer_task/BUILD.gn b/native/lite/timer_task/BUILD.gn new file mode 100644 index 0000000..77e8406 --- /dev/null +++ b/native/lite/timer_task/BUILD.gn @@ -0,0 +1,18 @@ +# Copyright (c) 2022 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/lite/config/component/lite_component.gni") + +group("ace_kit_timer") { + deps = [ "//commonlibrary/utils_lite/timer_task:ace_kit_timer" ] +} diff --git a/native/lite/timer_task/include b/native/lite/timer_task/include new file mode 120000 index 0000000..303eaf8 --- /dev/null +++ b/native/lite/timer_task/include @@ -0,0 +1 @@ +../../../../commonlibrary/utils_lite/timer_task/include \ No newline at end of file