xref: /base/print/print_fwk/print.gni (revision 46debc2c)
146debc2cSopenharmony_ci# Copyright (C) 2022 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_ciability_runtime_path = "//foundation/ability/ability_runtime"
1546debc2cSopenharmony_cifuzz_test_output_path = "print_fwk/print_fwk"
1646debc2cSopenharmony_cic_utils_path = "//commonlibrary/c_utils"
1746debc2cSopenharmony_ci
1846debc2cSopenharmony_ciprint_path = "//base/print/print_fwk"
1946debc2cSopenharmony_ciprint_utils_path = "${print_path}/utils"
2046debc2cSopenharmony_cibsuni_binary_path = "//binary/artifacts/print/bsUniDriver/bsUniDriver"
2146debc2cSopenharmony_cibsuni_gsbin_path = "${bsuni_binary_path}/ghostscript/bin"
2246debc2cSopenharmony_cibsuni_gslib_path =
2346debc2cSopenharmony_ci    "${bsuni_binary_path}/ghostscript/share/ghostscript/10.04.0/lib"
2446debc2cSopenharmony_cibsuni_gsres_path =
2546debc2cSopenharmony_ci    "${bsuni_binary_path}/ghostscript/share/ghostscript/10.04.0/Resource"
2646debc2cSopenharmony_ci
2746debc2cSopenharmony_cibsuni_binary_install_path = "bin/uni_print_driver"
2846debc2cSopenharmony_cibsuni_gsbin_install_path = "${bsuni_binary_install_path}/ghostscript/bin"
2946debc2cSopenharmony_cibsuni_gslib_install_path =
3046debc2cSopenharmony_ci    "${bsuni_binary_install_path}/ghostscript/share/ghostscript/10.04.0/lib"
3146debc2cSopenharmony_cibsuni_gsres_install_path = "${bsuni_binary_install_path}/ghostscript/share/ghostscript/10.04.0/Resource"
3246debc2cSopenharmony_ci
3346debc2cSopenharmony_ciif (!defined(global_parts_info) ||
3446debc2cSopenharmony_ci    defined(global_parts_info.security_security_guard)) {
3546debc2cSopenharmony_ci  security_guard_enabled = true
3646debc2cSopenharmony_ci} else {
3746debc2cSopenharmony_ci  security_guard_enabled = false
3846debc2cSopenharmony_ci}
3946debc2cSopenharmony_cicups_enable = true
4046debc2cSopenharmony_cidebug_enable = false
4146debc2cSopenharmony_ciipp_over_usb_enable = false
4246debc2cSopenharmony_cisane_enable = true
4346debc2cSopenharmony_ci
4446debc2cSopenharmony_cideclare_args() {
4546debc2cSopenharmony_ci  print_fwk_feature_bsuni_driver = false
4646debc2cSopenharmony_ci}
47