75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
import("//base/print/print_fwk/print.gni")
|
|
import("//build/ohos.gni")
|
|
|
|
config("print_interfaces_kits_napi_config") {
|
|
visibility = [ ":*" ]
|
|
include_dirs = [ "include" ]
|
|
|
|
cflags_cc = [ "-fno-exceptions" ]
|
|
}
|
|
ohos_shared_library("print_client") {
|
|
include_dirs = [
|
|
"//third_party/node/src",
|
|
"//third_party/curl/include",
|
|
"${print_utils_path}/include",
|
|
]
|
|
public_configs = [ ":print_interfaces_kits_napi_config" ]
|
|
|
|
sources = [
|
|
"src/print_callback_stub.cpp",
|
|
"src/print_extension_callback_stub.cpp",
|
|
"src/print_extension_info.cpp",
|
|
"src/print_job.cpp",
|
|
"src/print_manager_client.cpp",
|
|
"src/print_margin.cpp",
|
|
"src/print_page_size.cpp",
|
|
"src/print_preview_attribute.cpp",
|
|
"src/print_range.cpp",
|
|
"src/print_resolution.cpp",
|
|
"src/print_sa_death_recipient.cpp",
|
|
"src/print_service_proxy.cpp",
|
|
"src/print_sync_load_callback.cpp",
|
|
"src/print_utils.cpp",
|
|
"src/printer_capability.cpp",
|
|
"src/printer_info.cpp",
|
|
]
|
|
|
|
external_deps = [
|
|
"ability_base:want",
|
|
"ability_base:zuri",
|
|
"ability_runtime:ability_manager",
|
|
"ability_runtime:abilitykit_native",
|
|
"ability_runtime:data_ability_helper",
|
|
"ability_runtime:napi_base_context",
|
|
"c_utils:utils",
|
|
"common_event_service:cesfwk_innerkits",
|
|
"eventhandler:libeventhandler",
|
|
"hilog:libhilog",
|
|
"ipc:ipc_core",
|
|
"napi:ace_napi",
|
|
"preferences:native_preferences",
|
|
"relational_store:native_appdatafwk",
|
|
"relational_store:native_dataability",
|
|
"relational_store:native_rdb",
|
|
"samgr:samgr_proxy",
|
|
]
|
|
|
|
#relative_install_dir = "module"
|
|
install_enable = true
|
|
subsystem_name = "print"
|
|
innerapi_tags = [ "platformsdk" ]
|
|
part_name = "print_fwk"
|
|
}
|