146debc2cSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
246debc2cSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
346debc2cSopenharmony_ci# you may not use this file except in compliance with the License.
446debc2cSopenharmony_ci# You may obtain a copy of the License at
546debc2cSopenharmony_ci#
646debc2cSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
746debc2cSopenharmony_ci#
846debc2cSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
946debc2cSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1046debc2cSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1146debc2cSopenharmony_ci# See the License for the specific language governing permissions and
1246debc2cSopenharmony_ci# limitations under the License.
1346debc2cSopenharmony_ci
1446debc2cSopenharmony_ciimport("//build/ohos.gni")
1546debc2cSopenharmony_ciimport("//build/ohos/ndk/ndk.gni")
1646debc2cSopenharmony_ci
1746debc2cSopenharmony_ciohos_ndk_headers("ohscan_header") {
1846debc2cSopenharmony_ci  dest_dir = "$ndk_headers_out_dir/ohscan"
1946debc2cSopenharmony_ci  sources = [ "${print_path}/frameworks/ohscan/include/ohscan.h" ]
2046debc2cSopenharmony_ci}
2146debc2cSopenharmony_ci
2246debc2cSopenharmony_ciohos_ndk_library("libohscan_ndk") {
2346debc2cSopenharmony_ci  output_name = "ohscan"
2446debc2cSopenharmony_ci  output_extension = "so"
2546debc2cSopenharmony_ci  ndk_description_file = "./libohscan.ndk.json"
2646debc2cSopenharmony_ci  system_capability = "SystemCapability.Print.PrintFramework"
2746debc2cSopenharmony_ci  system_capability_headers = [ "ohscan/ohscan.h" ]
2846debc2cSopenharmony_ci}
29