2022-01-30 01:35:04 +00:00
|
|
|
# Copyright (c) 2021 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_var.gni")
|
2023-06-13 13:37:31 +00:00
|
|
|
import("//foundation/distributeddatamgr/datamgr_service/datamgr_service.gni")
|
2022-01-30 01:35:04 +00:00
|
|
|
|
|
|
|
#/system/etc/distributeddata/conf
|
|
|
|
group("build_module") {
|
2023-06-13 07:14:30 +00:00
|
|
|
if (datamgr_service_config) {
|
|
|
|
deps = [ ":default_conf" ]
|
|
|
|
}
|
2022-01-30 01:35:04 +00:00
|
|
|
}
|
|
|
|
ohos_prebuilt_etc("default_conf") {
|
|
|
|
source = "config.json"
|
|
|
|
relative_install_dir = "distributeddata/conf"
|
|
|
|
subsystem_name = "distributeddatamgr"
|
2022-08-23 14:36:23 +00:00
|
|
|
part_name = "datamgr_service"
|
2022-01-30 01:35:04 +00:00
|
|
|
}
|