1# Copyright (C) 2022 HiHope Open Source Organization . 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. 13import("//build/ohos.gni") 14 15ohos_prebuilt_etc("res_sched_config") { 16 source = "./ressched/res_sched_config.xml" 17 install_enable = true 18 install_images = [ chipset_base_dir ] 19 module_install_dir = "etc/ressched" 20 part_name = "product_dayu210" 21} 22 23ohos_prebuilt_etc("res_sched_plugin_switch") { 24 source = "./ressched/res_sched_plugin_switch.xml" 25 install_enable = true 26 install_images = [ chipset_base_dir ] 27 module_install_dir = "etc/ressched" 28 part_name = "product_dayu210" 29} 30 31ohos_prebuilt_etc("cgroup_action_config") { 32 source = "./cgroup_sched/cgroup_action_config.json" 33 install_enable = true 34 install_images = [ chipset_base_dir ] 35 module_install_dir = "etc/cgroup_sched" 36 part_name = "product_dayu210" 37} 38 39ohos_prebuilt_etc("socperf_boost_config") { 40 source = "./soc_perf/socperf_boost_config.xml" 41 install_enable = true 42 install_images = [ chipset_base_dir ] 43 module_install_dir = "etc/soc_perf" 44 part_name = "product_dayu210" 45} 46 47ohos_prebuilt_etc("socperf_resource_config") { 48 source = "./soc_perf/socperf_resource_config.xml" 49 install_enable = true 50 install_images = [ chipset_base_dir ] 51 module_install_dir = "etc/soc_perf" 52 part_name = "product_dayu210" 53} 54 55group("resourceschedule") { 56 deps = [ 57 ":cgroup_action_config", 58 ":res_sched_config", 59 ":res_sched_plugin_switch", 60 ":socperf_boost_config", 61 ":socperf_resource_config", 62 ] 63} 64