192f3ab15Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 292f3ab15Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 392f3ab15Sopenharmony_ci# you may not use this file except in compliance with the License. 492f3ab15Sopenharmony_ci# You may obtain a copy of the License at 592f3ab15Sopenharmony_ci# 692f3ab15Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 792f3ab15Sopenharmony_ci# 892f3ab15Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 992f3ab15Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1092f3ab15Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1192f3ab15Sopenharmony_ci# See the License for the specific language governing permissions and 1292f3ab15Sopenharmony_ci# limitations under the License. 1392f3ab15Sopenharmony_ci 1492f3ab15Sopenharmony_ciimport("//build/ohos.gni") 1592f3ab15Sopenharmony_ci 1692f3ab15Sopenharmony_ciohos_cargo_crate("lib") { 1792f3ab15Sopenharmony_ci crate_name = "openssl_macros" 1892f3ab15Sopenharmony_ci crate_type = "proc-macro" 1992f3ab15Sopenharmony_ci crate_root = "src/lib.rs" 2092f3ab15Sopenharmony_ci 2192f3ab15Sopenharmony_ci sources = [ "src/lib.rs" ] 2292f3ab15Sopenharmony_ci edition = "2018" 2392f3ab15Sopenharmony_ci cargo_pkg_version = "0.1.1" 2492f3ab15Sopenharmony_ci cargo_pkg_name = "openssl-macros" 2592f3ab15Sopenharmony_ci cargo_pkg_description = "Internal macros used by the openssl crate." 2692f3ab15Sopenharmony_ci deps = [ 2792f3ab15Sopenharmony_ci "//third_party/rust/crates/proc-macro2:lib", 2892f3ab15Sopenharmony_ci "//third_party/rust/crates/quote:lib", 2992f3ab15Sopenharmony_ci "//third_party/rust/crates/syn:lib", 3092f3ab15Sopenharmony_ci ] 3192f3ab15Sopenharmony_ci} 32