12add0d91Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
22add0d91Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
32add0d91Sopenharmony_ci# you may not use this file except in compliance with the License.
42add0d91Sopenharmony_ci# You may obtain a copy of the License at
52add0d91Sopenharmony_ci#
62add0d91Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
72add0d91Sopenharmony_ci#
82add0d91Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
92add0d91Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
102add0d91Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
112add0d91Sopenharmony_ci# See the License for the specific language governing permissions and
122add0d91Sopenharmony_ci# limitations under the License.
132add0d91Sopenharmony_ci
142add0d91Sopenharmony_ciimport("//build/ohos.gni")
152add0d91Sopenharmony_ci
162add0d91Sopenharmony_ciohos_cargo_crate("lib") {
172add0d91Sopenharmony_ci  crate_name = "libc"
182add0d91Sopenharmony_ci  crate_type = "rlib"
192add0d91Sopenharmony_ci  crate_root = "src/lib.rs"
202add0d91Sopenharmony_ci  output_name = "liblibc"
212add0d91Sopenharmony_ci
222add0d91Sopenharmony_ci  sources = [ "src/lib.rs" ]
232add0d91Sopenharmony_ci  edition = "2015"
242add0d91Sopenharmony_ci  cargo_pkg_version = "0.2.139"
252add0d91Sopenharmony_ci  cargo_pkg_authors = "The Rust Project Developers"
262add0d91Sopenharmony_ci  cargo_pkg_name = "libc"
272add0d91Sopenharmony_ci  features = [
282add0d91Sopenharmony_ci    "default",
292add0d91Sopenharmony_ci    "extra_traits",
302add0d91Sopenharmony_ci    "std",
312add0d91Sopenharmony_ci  ]
322add0d91Sopenharmony_ci  build_root = "build.rs"
332add0d91Sopenharmony_ci  build_sources = [ "build.rs" ]
342add0d91Sopenharmony_ci}
35