10b966c5eSopenharmony_ci# Copyright (C) 2022 HiHope Open Source Organization . 20b966c5eSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 30b966c5eSopenharmony_ci# you may not use this file except in compliance with the License. 40b966c5eSopenharmony_ci# You may obtain a copy of the License at 50b966c5eSopenharmony_ci# 60b966c5eSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 70b966c5eSopenharmony_ci# 80b966c5eSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 90b966c5eSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 100b966c5eSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110b966c5eSopenharmony_ci# See the License for the specific language governing permissions and 120b966c5eSopenharmony_ci# limitations under the License. 130b966c5eSopenharmony_ciimport("//build/ohos.gni") 140b966c5eSopenharmony_ci 150b966c5eSopenharmony_ciohos_prebuilt_etc("res_sched_config") { 160b966c5eSopenharmony_ci source = "./ressched/res_sched_config.xml" 170b966c5eSopenharmony_ci install_enable = true 180b966c5eSopenharmony_ci install_images = [ chipset_base_dir ] 190b966c5eSopenharmony_ci module_install_dir = "etc/ressched" 200b966c5eSopenharmony_ci part_name = "product_dayu210" 210b966c5eSopenharmony_ci} 220b966c5eSopenharmony_ci 230b966c5eSopenharmony_ciohos_prebuilt_etc("res_sched_plugin_switch") { 240b966c5eSopenharmony_ci source = "./ressched/res_sched_plugin_switch.xml" 250b966c5eSopenharmony_ci install_enable = true 260b966c5eSopenharmony_ci install_images = [ chipset_base_dir ] 270b966c5eSopenharmony_ci module_install_dir = "etc/ressched" 280b966c5eSopenharmony_ci part_name = "product_dayu210" 290b966c5eSopenharmony_ci} 300b966c5eSopenharmony_ci 310b966c5eSopenharmony_ciohos_prebuilt_etc("cgroup_action_config") { 320b966c5eSopenharmony_ci source = "./cgroup_sched/cgroup_action_config.json" 330b966c5eSopenharmony_ci install_enable = true 340b966c5eSopenharmony_ci install_images = [ chipset_base_dir ] 350b966c5eSopenharmony_ci module_install_dir = "etc/cgroup_sched" 360b966c5eSopenharmony_ci part_name = "product_dayu210" 370b966c5eSopenharmony_ci} 380b966c5eSopenharmony_ci 390b966c5eSopenharmony_ciohos_prebuilt_etc("socperf_boost_config") { 400b966c5eSopenharmony_ci source = "./soc_perf/socperf_boost_config.xml" 410b966c5eSopenharmony_ci install_enable = true 420b966c5eSopenharmony_ci install_images = [ chipset_base_dir ] 430b966c5eSopenharmony_ci module_install_dir = "etc/soc_perf" 440b966c5eSopenharmony_ci part_name = "product_dayu210" 450b966c5eSopenharmony_ci} 460b966c5eSopenharmony_ci 470b966c5eSopenharmony_ciohos_prebuilt_etc("socperf_resource_config") { 480b966c5eSopenharmony_ci source = "./soc_perf/socperf_resource_config.xml" 490b966c5eSopenharmony_ci install_enable = true 500b966c5eSopenharmony_ci install_images = [ chipset_base_dir ] 510b966c5eSopenharmony_ci module_install_dir = "etc/soc_perf" 520b966c5eSopenharmony_ci part_name = "product_dayu210" 530b966c5eSopenharmony_ci} 540b966c5eSopenharmony_ci 550b966c5eSopenharmony_cigroup("resourceschedule") { 560b966c5eSopenharmony_ci deps = [ 570b966c5eSopenharmony_ci ":cgroup_action_config", 580b966c5eSopenharmony_ci ":res_sched_config", 590b966c5eSopenharmony_ci ":res_sched_plugin_switch", 600b966c5eSopenharmony_ci ":socperf_boost_config", 610b966c5eSopenharmony_ci ":socperf_resource_config", 620b966c5eSopenharmony_ci ] 630b966c5eSopenharmony_ci} 64