From 9a71464aa24dfd5ed3b2f586f0016c6c2e748e57 Mon Sep 17 00:00:00 2001 From: haotuo Date: Wed, 27 Mar 2024 09:42:45 +0800 Subject: [PATCH] Fix doc description Signed-off-by: haotuo Change-Id: I9b650fcdc38611fda13e8ca947c41bb8ab2b4f84 --- docs/howto_add.md | 2 +- third_party/musl/ndk_script/adapter/BUILD.gn | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/howto_add.md b/docs/howto_add.md index 2a17b395f..aeb70e52f 100644 --- a/docs/howto_add.md +++ b/docs/howto_add.md @@ -71,7 +71,7 @@ ohos_ndk_library("libsensor_ndk") { ] } ``` - **min_compact_version** : 相当于Android的API level,当前library从哪个版本开始支持?如果没有设置,默认设置为从当前版本开始支持。 + **min_compact_version** : API level,当前library从哪个版本开始支持?如果没有设置,默认设置为从当前版本开始支持。 为什么需要变量min_compact_version? 一般地,操作系统的后期版本会提供比前期版本更多的库,比如某个提供23个NDK库,但是前一个版本仅提供13个NDK库。所以需要提供一个变量来告知编译系统当前库是从哪个版本开始支持的。 diff --git a/third_party/musl/ndk_script/adapter/BUILD.gn b/third_party/musl/ndk_script/adapter/BUILD.gn index 28fedf77c..34b5dc5f1 100644 --- a/third_party/musl/ndk_script/adapter/BUILD.gn +++ b/third_party/musl/ndk_script/adapter/BUILD.gn @@ -1,5 +1,4 @@ # Copyright (C) 2021 Huawei Device Co., Ltd. -# Copyright (C) 2019 The Android Open Source Project # 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 @@ -10,7 +9,7 @@ # 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. +# limitations under the License. import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") -- Gitee