mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 14:50:20 +00:00
339875e705
Signed-off-by: z30053694 <zhangchen190@huawei.com> Change-Id: I2d6edf8ed5c0fa9bfb0b177ee7f1665c9121c2c9 fix: changed version to 13 and fix typos Signed-off-by: z30053694 <zhangchen190@huawei.com> Change-Id: I1546a6df07010199b20a790740364f0747a47c94 fix: added comment Signed-off-by: z30053694 <zhangchen190@huawei.com> Change-Id: I26f987cdd7dc69daf1c8cb27782e984fd1d3f8d6 fix: typos Signed-off-by: z30053694 <zhangchen190@huawei.com> Change-Id: I9b667f4de5b6bf8262ed7987d696ea5b5e4881a7
108 lines
3.4 KiB
Plaintext
108 lines
3.4 KiB
Plaintext
# Copyright (c) 2024 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("//build/ohos.gni")
|
|
import("//build/ohos/ndk/ndk.gni")
|
|
ohos_ndk_headers("os_account_ndk_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [
|
|
"./os_account.h",
|
|
"./os_account_common.h",
|
|
]
|
|
}
|
|
|
|
ohos_ndk_library("libos_account_ndk") {
|
|
output_name = "os_account_ndk"
|
|
output_extension = "so"
|
|
system_capability = "SystemCapability.Account.OsAccount"
|
|
ndk_description_file = "./libos_account.ndk.json"
|
|
min_compact_version = "12"
|
|
system_capability_headers = [ "BasicServicesKit/os_account.h" ]
|
|
}
|
|
|
|
ohos_ndk_headers("ohprint_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [ "./ohprint.h" ]
|
|
}
|
|
|
|
ohos_ndk_library("libohprint_ndk") {
|
|
output_name = "ohprint"
|
|
output_extension = "so"
|
|
ndk_description_file = "./ohprint.ndk.json"
|
|
min_compact_version = "12"
|
|
system_capability = "SystemCapability.Print.PrintFramework"
|
|
system_capability_headers = [ "BasicServicesKit/ohprint.h" ]
|
|
}
|
|
|
|
ohos_ndk_headers("ohscan_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [ "./ohscan.h" ]
|
|
}
|
|
|
|
ohos_ndk_library("libohscan_ndk") {
|
|
output_name = "ohscan"
|
|
output_extension = "so"
|
|
ndk_description_file = "./ohscan.ndk.json"
|
|
min_compact_version = "12"
|
|
system_capability = "SystemCapability.Print.PrintFramework"
|
|
system_capability_headers = [ "BasicServicesKit/ohscan.h" ]
|
|
}
|
|
|
|
ohos_ndk_headers("time_service_ndk_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [ "./time_service.h" ]
|
|
}
|
|
|
|
ohos_ndk_library("libtime_service_ndk") {
|
|
output_name = "time_service_ndk"
|
|
output_extension = "so"
|
|
ndk_description_file = "./libtime_service.ndk.json"
|
|
min_compact_version = "12"
|
|
system_capability = "SystemCapability.MiscServices.Time"
|
|
system_capability_headers = [ "BasicServicesKit/time_service.h" ]
|
|
}
|
|
|
|
ohos_ndk_headers("ohcommonevent_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [
|
|
"./commonevent/oh_commonevent.h",
|
|
"./commonevent/oh_commonevent_support.h",
|
|
]
|
|
}
|
|
|
|
ohos_ndk_library("libcommonevent_ndk") {
|
|
output_name = "ohcommonevent"
|
|
output_extension = "so"
|
|
ndk_description_file = "./commonevent/libcommonevent.ndk.json"
|
|
min_compact_version = "12"
|
|
system_capability = "SystemCapability.Notification.CommonEvent"
|
|
system_capability_headers = [
|
|
"BasicServicesKit/commonevent/oh_commonevent.h",
|
|
"BasicServicesKit/commonevent/oh_commonevent_support.h",
|
|
]
|
|
}
|
|
|
|
ohos_ndk_headers("ohbattery_info_header") {
|
|
dest_dir = "$ndk_headers_out_dir/BasicServicesKit/"
|
|
sources = [ "./ohbattery_info.h" ]
|
|
}
|
|
|
|
ohos_ndk_library("libohbattery_info_ndk") {
|
|
output_name = "ohbattery_info"
|
|
output_extension = "so"
|
|
ndk_description_file = "./ohbattery_info.ndk.json"
|
|
min_compact_version = "13"
|
|
system_capability = "SystemCapability.PowerManager.BatteryManager.Core"
|
|
system_capability_headers = [ "BasicServicesKit/ohbattery_info.h" ]
|
|
}
|