15ccb8f90Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
25ccb8f90Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35ccb8f90Sopenharmony_ci# you may not use this file except in compliance with the License.
45ccb8f90Sopenharmony_ci# You may obtain a copy of the License at
55ccb8f90Sopenharmony_ci#
65ccb8f90Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75ccb8f90Sopenharmony_ci#
85ccb8f90Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95ccb8f90Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105ccb8f90Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115ccb8f90Sopenharmony_ci# See the License for the specific language governing permissions and
125ccb8f90Sopenharmony_ci# limitations under the License.
135ccb8f90Sopenharmony_ci
145ccb8f90Sopenharmony_ciimport("../../../../../powermgr.gni")
155ccb8f90Sopenharmony_ciimport("../actions.gni")
165ccb8f90Sopenharmony_ci
175ccb8f90Sopenharmony_ciohos_source_set("${powermgr_actions_target}") {
185ccb8f90Sopenharmony_ci  sanitize = {
195ccb8f90Sopenharmony_ci    cfi = true
205ccb8f90Sopenharmony_ci    cfi_cross_dso = true
215ccb8f90Sopenharmony_ci    debug = false
225ccb8f90Sopenharmony_ci  }
235ccb8f90Sopenharmony_ci  branch_protector_ret = "pac_ret"
245ccb8f90Sopenharmony_ci
255ccb8f90Sopenharmony_ci  public_deps =
265ccb8f90Sopenharmony_ci      [ "${powermgr_actions_default_path}:${powermgr_actions_default_target}" ]
275ccb8f90Sopenharmony_ci  subsystem_name = "powermgr"
285ccb8f90Sopenharmony_ci  part_name = "${powermgr_part_name}"
295ccb8f90Sopenharmony_ci}
30