111501908Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
211501908Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
311501908Sopenharmony_ci# you may not use this file except in compliance with the License.
411501908Sopenharmony_ci# You may obtain a copy of the License at
511501908Sopenharmony_ci#
611501908Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
711501908Sopenharmony_ci#
811501908Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
911501908Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1011501908Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111501908Sopenharmony_ci# See the License for the specific language governing permissions and
1211501908Sopenharmony_ci# limitations under the License.
1311501908Sopenharmony_ci
1411501908Sopenharmony_ciimport("//build/ohos.gni")
1511501908Sopenharmony_ci
1611501908Sopenharmony_ciohos_cargo_crate("lib") {
1711501908Sopenharmony_ci    crate_name = "glob"
1811501908Sopenharmony_ci    crate_type = "rlib"
1911501908Sopenharmony_ci    crate_root = "src/lib.rs"
2011501908Sopenharmony_ci
2111501908Sopenharmony_ci    sources = ["src/lib.rs"]
2211501908Sopenharmony_ci    edition = "2015"
2311501908Sopenharmony_ci    cargo_pkg_version = "0.3.1"
2411501908Sopenharmony_ci    cargo_pkg_authors = "The Rust Project Developers"
2511501908Sopenharmony_ci    cargo_pkg_name = "glob"
2611501908Sopenharmony_ci}
27