xref: /base/usb/usb_manager/usbmgr.gni (revision 42103316)
142103316Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
242103316Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
342103316Sopenharmony_ci# you may not use this file except in compliance with the License.
442103316Sopenharmony_ci# You may obtain a copy of the License at
542103316Sopenharmony_ci#
642103316Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
742103316Sopenharmony_ci#
842103316Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
942103316Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1042103316Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1142103316Sopenharmony_ci# See the License for the specific language governing permissions and
1242103316Sopenharmony_ci# limitations under the License.
1342103316Sopenharmony_ci
1442103316Sopenharmony_ciimport("//build/ohos.gni")
1542103316Sopenharmony_ci
1642103316Sopenharmony_ciusb_manager_path = "//base/usb/usb_manager"
1742103316Sopenharmony_ciusb_manager_part_name = "usb_manager"
1842103316Sopenharmony_ciutils_path = "${usb_manager_path}/utils"
1942103316Sopenharmony_ci
2042103316Sopenharmony_ciif (defined(global_parts_info) &&
2142103316Sopenharmony_ci    defined(global_parts_info.notification_distributed_notification_service)) {
2242103316Sopenharmony_ci  distributed_notification_enable = true
2342103316Sopenharmony_ci} else {
2442103316Sopenharmony_ci  distributed_notification_enable = false
2542103316Sopenharmony_ci}
2642103316Sopenharmony_ci
2742103316Sopenharmony_cideclare_args() {
2842103316Sopenharmony_ci  usb_manager_feature_pop_up_func_switch_model = true
2942103316Sopenharmony_ci}
30