• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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_khdvk_3566b"
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_khdvk_3566b"
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_khdvk_3566b"
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_khdvk_3566b"
46}
47
48ohos_prebuilt_etc("socperf_resource_config") {
49  source = "./soc_perf/socperf_resource_config.xml"
50  install_enable = true
51  install_images = [ chipset_base_dir ]
52  module_install_dir = "etc/soc_perf"
53  part_name = "product_khdvk_3566b"
54}
55
56group("resourceschedule") {
57  deps = [
58    ":cgroup_action_config",
59    ":res_sched_config",
60    ":res_sched_plugin_switch",
61    ":socperf_boost_config",
62    ":socperf_resource_config",
63  ]
64}
65