1f1555e47Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
2f1555e47Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f1555e47Sopenharmony_ci# you may not use this file except in compliance with the License.
4f1555e47Sopenharmony_ci# You may obtain a copy of the License at
5f1555e47Sopenharmony_ci#
6f1555e47Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f1555e47Sopenharmony_ci#
8f1555e47Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f1555e47Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f1555e47Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f1555e47Sopenharmony_ci# See the License for the specific language governing permissions and
12f1555e47Sopenharmony_ci# limitations under the License.
13f1555e47Sopenharmony_ci
14f1555e47Sopenharmony_ciimport("//build/templates/rust/ohos_cargo_crate.gni")
15f1555e47Sopenharmony_ci
16f1555e47Sopenharmony_ciohos_cargo_crate("lib") {
17f1555e47Sopenharmony_ci  crate_name = "autocfg"
18f1555e47Sopenharmony_ci
19f1555e47Sopenharmony_ci  # epoch = "1"
20f1555e47Sopenharmony_ci  crate_type = "rlib"
21f1555e47Sopenharmony_ci
22f1555e47Sopenharmony_ci  visibility = [ "//third_party/rust/*" ]
23f1555e47Sopenharmony_ci  crate_root = "src/lib.rs"
24f1555e47Sopenharmony_ci
25f1555e47Sopenharmony_ci  sources = [ "src/lib.rs" ]
26f1555e47Sopenharmony_ci  edition = "2015"
27f1555e47Sopenharmony_ci}
28