Files
device_manager/BUILD.gn
T
renguang1116 686a5abbc2 【需求】DM服务开机内存优化
Signed-off-by: renguang1116 <renguang@huawei.com>
2022-06-28 17:35:29 +08:00

57 lines
1.8 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.
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
if (ohos_kernel_type == "liteos_m") {
lite_component("devicemanager_mini") {
features = [
"utils:devicemanagerutils_mini",
"services/service:devicemanagerservice_mini",
"interfaces/inner_kits/native_cpp:devicemanagersdk_mini",
"interfaces/kits/js_mini:devicemanager_native_js",
]
}
group("device_manager_test") {
testonly = true
deps = []
}
} else {
lite_component("device_manager") {
features = [
"utils:devicemanagerutils",
"interfaces/inner_kits/native_cpp:devicemanagersdk",
]
}
group("device_manager_test") {
testonly = true
deps = []
}
}
} else {
group("device_manager") {
deps = [
"ext:ext_modules",
"interfaces/inner_kits/native_cpp:devicemanagersdk",
"interfaces/kits:devicemanager_native_js",
"sa_profile:dm_sa_profile",
"services/implementation:devicemanagerserviceimpl",
"services/service:devicemanagerservice",
"utils:devicemanagerutils",
]
}
group("device_manager_test") {
testonly = true
deps = [ "test:test" ]
}
}