• 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  if (hdc_feature_support_credential) {
24    deps += [ ":hdc_credential.cfg", ]
25  }
26}
27
28ohos_prebuilt_etc("hdc_credential.cfg") {
29  source = "hdc_credential.cfg"
30  relative_install_dir = "init"
31  install_images = [ "system" ]
32  output = "hdc_credential.cfg"
33  part_name = "hdc"
34  subsystem_name = "developtools"
35}
36
37ohos_prebuilt_etc("hdcd.cfg") {
38  source = "hdcd.root.cfg"
39  if (build_variant == "user") {
40    source = "hdcd.cfg"
41  }
42  relative_install_dir = "init"
43  install_images = [
44    "system",
45    "updater",
46  ]
47  output = "hdcd.cfg"
48  part_name = "hdc"
49  subsystem_name = "developtools"
50}
51
52ohos_prebuilt_etc("hdc.para") {
53  source = "hdc.root.para"
54  if (build_variant == "user") {
55    source = "hdc.para"
56  }
57  relative_install_dir = "param"
58  install_images = [
59    "system",
60    "updater",
61  ]
62  output = "hdc.para"
63  part_name = "hdc"
64  subsystem_name = "developtools"
65}
66
67ohos_prebuilt_etc("hdc.para.dac") {
68  source = "hdc.para.dac"
69  relative_install_dir = "param"
70  install_images = [
71    "system",
72    "updater",
73  ]
74  part_name = "hdc"
75  subsystem_name = "developtools"
76}
77