From d54bf05e2f1b554f02b45e1eb7c1ed7f77401a76 Mon Sep 17 00:00:00 2001 From: yangming_ha Date: Mon, 16 Aug 2021 03:28:27 -0700 Subject: [PATCH] =?UTF-8?q?#I45ICV:=20=E4=BA=A7=E5=93=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?config.json=E4=B8=AD=E5=BC=80=E5=8F=91=E6=9D=BF=E9=80=82?= =?UTF-8?q?=E9=85=8D=E7=9B=AE=E5=BD=95=E9=85=8D=E7=BD=AEvendor=5Fadapter?= =?UTF-8?q?=5Fdir=E7=A7=BB=E5=88=B0=E5=BC=80=E5=8F=91=E6=9D=BFconfig.gni?= =?UTF-8?q?=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangming_ha --- file/BUILD.gn | 56 ++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/file/BUILD.gn b/file/BUILD.gn index 1a76523..8533e33 100755 --- a/file/BUILD.gn +++ b/file/BUILD.gn @@ -1,31 +1,27 @@ -# Copyright (c) 2020 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 +# Copyright (c) 2020 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") - -static_library("native_file") { - sources = [ - "src/file_impl_hal/file.c", - ] - include_dirs = [ - "//utils/native/lite/include", - "//utils/native/lite/hals/file", - ] - deps = ["$ohos_vendor_adapter_dir/hals/utils/file:hal_file_static"] -} - -lite_component("file") { - features = [ - ":native_file", - ] -} + +import("//build/lite/config/component/lite_component.gni") + +static_library("native_file") { + sources = [ "src/file_impl_hal/file.c" ] + include_dirs = [ + "//utils/native/lite/include", + "//utils/native/lite/hals/file", + ] + deps = [ "$ohos_board_adapter_dir/hals/utils/file:hal_file_static" ] +} + +lite_component("file") { + features = [ ":native_file" ] +} -- GitLab