• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15import("//developtools/hdc/hdc.gni")
16
17group("daemon_etc") {
18  deps = [
19    ":hdc.para",
20    ":hdc.para.dac",
21    ":hdcd.cfg",
22  ]
23}
24
25ohos_prebuilt_etc("hdcd.cfg") {
26  source = "hdcd.root.cfg"
27  if (build_variant == "user") {
28    source = "hdcd.cfg"
29  }
30  relative_install_dir = "init"
31  install_images = [
32    "system",
33    "updater",
34  ]
35  output = "hdcd.cfg"
36  part_name = "hdc"
37  subsystem_name = "developtools"
38}
39
40ohos_prebuilt_etc("hdc.para") {
41  source = "hdc.root.para"
42  if (build_variant == "user") {
43    source = "hdc.para"
44  }
45  relative_install_dir = "param"
46  install_images = [
47    "system",
48    "updater",
49  ]
50  output = "hdc.para"
51  part_name = "hdc"
52  subsystem_name = "developtools"
53}
54
55ohos_prebuilt_etc("hdc.para.dac") {
56  source = "hdc.para.dac"
57  relative_install_dir = "param"
58  install_images = [
59    "system",
60    "updater",
61  ]
62  part_name = "hdc"
63  subsystem_name = "developtools"
64}
65