diff --git a/docs/howto_add.md b/docs/howto_add.md index 2a17b395fb2f572b1ccf07b391b804bb8025ced8..aeb70e52f19aa2f6dbc805da4043d39b1939ef6f 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 28fedf77cb9ea0ec1736db7a35594c1be5065df4..34b5dc5f1a515ab9187a4ca522ab168f20a01ef9 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")