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