mirror of
https://github.com/openharmony/distributedschedule_dms_fwk_lite.git
synced 2026-07-01 06:41:51 -04:00
739c0077e6
Signed-off-by: zero-cyc <chenlien@huawei.com> Change-Id: I720e6217581848cab931517dafa0b3ef5156924a
83 lines
2.8 KiB
Plaintext
Executable File
83 lines
2.8 KiB
Plaintext
Executable File
# Copyright (c) 2020 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/lite/config/component/lite_component.gni")
|
|
import("//build/lite/config/subsystem/aafwk/path.gni")
|
|
|
|
if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
|
|
lite_library("dmslite") {
|
|
target_type = "shared_library"
|
|
|
|
cflags = [ "-Wall" ]
|
|
cflags_cc = cflags
|
|
|
|
defines = [
|
|
"_GNU_SOURCE",
|
|
"OHOS_APPEXECFWK_BMS_BUNDLEMANAGER",
|
|
]
|
|
|
|
sources = [
|
|
"source/dmslite.c",
|
|
"source/dmslite_famgr.c",
|
|
"source/dmslite_feature.c",
|
|
"source/dmslite_msg_handler.c",
|
|
"source/dmslite_packet.c",
|
|
"source/dmslite_parser.c",
|
|
"source/dmslite_permission.c",
|
|
"source/dmslite_session.c",
|
|
"source/dmslite_tlv_common.c",
|
|
]
|
|
|
|
include_dirs = [
|
|
"include",
|
|
"interfaces/innerkits",
|
|
"${aafwk_lite_path}/interfaces/inner_api/abilitymgr_lite",
|
|
"${aafwk_lite_path}/interfaces/kits/ability_lite",
|
|
"${aafwk_lite_path}/interfaces/kits/want_lite",
|
|
"${appexecfwk_lite_path}/interfaces/kits/bundle_lite",
|
|
"${appexecfwk_lite_path}/interfaces/inner_api/bundlemgr_lite",
|
|
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
|
|
"//foundation/communication/dsoftbus/interfaces/kits/common",
|
|
"//foundation/communication/dsoftbus/interfaces/kits/transport",
|
|
"//foundation/distributedschedule/samgr_lite/interfaces/innerkits",
|
|
"//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
|
|
"//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
|
|
"//third_party/bounds_checking_function/include",
|
|
"//third_party/cJSON",
|
|
"//utils/native/lite/include",
|
|
]
|
|
|
|
deps = []
|
|
|
|
public_deps = [
|
|
"${aafwk_lite_path}/frameworks/abilitymgr_lite:aafwk_abilityManager_lite",
|
|
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
|
|
"//foundation/communication/dsoftbus/sdk:softbus_client",
|
|
"//foundation/distributedschedule/samgr_lite/samgr:samgr",
|
|
"//third_party/bounds_checking_function:libsec_shared",
|
|
]
|
|
}
|
|
|
|
lite_component("dtbschedmgr") {
|
|
features = [ ":dmslite" ]
|
|
}
|
|
|
|
generate_notice_file("dtbschedmgr_notice_file") {
|
|
module_name = "dtbschedmgr"
|
|
module_source_dir_list = [
|
|
"//third_party/bounds_checking_function",
|
|
"//third_party/cJSON",
|
|
]
|
|
}
|
|
}
|