1595d5899Sopenharmony_ci# Copyright (C) 2022-2023 Huawei Device Co., Ltd.
2595d5899Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3595d5899Sopenharmony_ci# you may not use this file except in compliance with the License.
4595d5899Sopenharmony_ci# You may obtain a copy of the License at
5595d5899Sopenharmony_ci#
6595d5899Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7595d5899Sopenharmony_ci#
8595d5899Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9595d5899Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10595d5899Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11595d5899Sopenharmony_ci# See the License for the specific language governing permissions and
12595d5899Sopenharmony_ci# limitations under the License.
13595d5899Sopenharmony_ci
14595d5899Sopenharmony_ciimport("//build/ohos.gni")
15595d5899Sopenharmony_ciimport("../../../displaymgr.gni")
16595d5899Sopenharmony_ci
17595d5899Sopenharmony_ci## Install display.para to /system/etc/param/display.para
18595d5899Sopenharmony_ciohos_prebuilt_etc("display.para") {
19595d5899Sopenharmony_ci  source = "display.para"
20595d5899Sopenharmony_ci  relative_install_dir = "param"
21595d5899Sopenharmony_ci  part_name = "${displaymgr_part_name}"
22595d5899Sopenharmony_ci  subsystem_name = "powermgr"
23595d5899Sopenharmony_ci}
24595d5899Sopenharmony_ci
25595d5899Sopenharmony_ciohos_prebuilt_etc("display.para.dac") {
26595d5899Sopenharmony_ci  source = "display.para.dac"
27595d5899Sopenharmony_ci  relative_install_dir = "param"
28595d5899Sopenharmony_ci  part_name = "${displaymgr_part_name}"
29595d5899Sopenharmony_ci  subsystem_name = "powermgr"
30595d5899Sopenharmony_ci}
31595d5899Sopenharmony_ci
32595d5899Sopenharmony_cigroup("param_files") {
33595d5899Sopenharmony_ci  deps = [
34595d5899Sopenharmony_ci    ":display.para",
35595d5899Sopenharmony_ci    ":display.para.dac",
36595d5899Sopenharmony_ci  ]
37595d5899Sopenharmony_ci}
38