• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Unionman Technology 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")
15
16ohos_prebuilt_etc("res_sched_config") {
17  source = "ressched/res_sched_config.xml"
18  install_enable = true
19  install_images = [ chipset_base_dir ]
20  module_install_dir = "etc/ressched"
21  part_name = "product_unionpi_tiger"
22}
23
24ohos_prebuilt_etc("res_sched_plugin_switch") {
25  source = "ressched/res_sched_plugin_switch.xml"
26  install_enable = true
27  install_images = [ chipset_base_dir ]
28  module_install_dir = "etc/ressched"
29  part_name = "product_unionpi_tiger"
30}
31
32ohos_prebuilt_etc("cgroup_action_config") {
33  source = "cgroup_sched/cgroup_action_config.json"
34  install_enable = true
35  install_images = [ chipset_base_dir ]
36  module_install_dir = "etc/cgroup_sched"
37  part_name = "product_unionpi_tiger"
38}
39
40ohos_prebuilt_etc("socperf_boost_config") {
41  source = "soc_perf/socperf_boost_config.xml"
42  install_enable = true
43  install_images = [ chipset_base_dir ]
44  module_install_dir = "etc/soc_perf"
45  part_name = "product_unionpi_tiger"
46}
47
48ohos_prebuilt_etc("socperf_power_config") {
49  source = "soc_perf/socperf_power_config.xml"
50  install_enable = true
51  install_images = [ chipset_base_dir ]
52  module_install_dir = "etc/soc_perf"
53  part_name = "product_unionpi_tiger"
54}
55
56ohos_prebuilt_etc("socperf_resource_config") {
57  source = "soc_perf/socperf_resource_config.xml"
58  install_enable = true
59  install_images = [ chipset_base_dir ]
60  module_install_dir = "etc/soc_perf"
61  part_name = "product_unionpi_tiger"
62}
63
64ohos_prebuilt_etc("socperf_thermal_config") {
65  source = "soc_perf/socperf_thermal_config.xml"
66  install_enable = true
67  install_images = [ chipset_base_dir ]
68  module_install_dir = "etc/soc_perf"
69  part_name = "product_unionpi_tiger"
70}
71
72group("resourceschedule") {
73  deps = [
74    ":cgroup_action_config",
75    ":res_sched_config",
76    ":res_sched_plugin_switch",
77    ":socperf_boost_config",
78    ":socperf_power_config",
79    ":socperf_resource_config",
80    ":socperf_thermal_config",
81  ]
82}
83