1794c9f46Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
2794c9f46Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3794c9f46Sopenharmony_ci# you may not use this file except in compliance with the License.
4794c9f46Sopenharmony_ci# You may obtain a copy of the License at
5794c9f46Sopenharmony_ci#
6794c9f46Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7794c9f46Sopenharmony_ci#
8794c9f46Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9794c9f46Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10794c9f46Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11794c9f46Sopenharmony_ci# See the License for the specific language governing permissions and
12794c9f46Sopenharmony_ci# limitations under the License.
13794c9f46Sopenharmony_ci
14794c9f46Sopenharmony_ciimport("//build/ohos.gni")
15794c9f46Sopenharmony_ci
16794c9f46Sopenharmony_ciohos_sa_profile("dhfwk_sa_profile") {
17794c9f46Sopenharmony_ci  sources = [ "4801.json" ]
18794c9f46Sopenharmony_ci
19794c9f46Sopenharmony_ci  part_name = "distributed_hardware_fwk"
20794c9f46Sopenharmony_ci}
21794c9f46Sopenharmony_ci
22794c9f46Sopenharmony_ciohos_prebuilt_etc("dhardware.cfg") {
23794c9f46Sopenharmony_ci  relative_install_dir = "init"
24794c9f46Sopenharmony_ci  source = "dhardware.cfg"
25794c9f46Sopenharmony_ci  part_name = "distributed_hardware_fwk"
26794c9f46Sopenharmony_ci  subsystem_name = "distributedhardware"
27794c9f46Sopenharmony_ci}
28