mirror of
https://github.com/openharmony/multimedia_ringtone_library.git
synced 2026-07-01 03:23:19 -04:00
ada250fd61
Change-Id: Ia8ba5b51707185e85902c88fc4803118946cb0a5 Signed-off-by: caochuan <caochuan@huawei.com> Change-Id: I6a2c3170c3e57eecdd874c4ccec0ac985c88b2c0
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
RINGTONE_ROOT_PATH = "//foundation/multimedia/ringtone_library"
|
|
RINGTONE_SERVICES_PATH = "${RINGTONE_ROOT_PATH}/services"
|
|
RINGTONE_FRAMEWORKS_PATH = "${RINGTONE_ROOT_PATH}/frameworks"
|
|
RINGTONE_INTERFACES_PATH = "${RINGTONE_ROOT_PATH}/interfaces"
|
|
|
|
RINGTONE_EXT_HAP_PATH = "${RINGTONE_FRAMEWORKS_PATH}/ringtone_extension_hap"
|
|
|
|
RINGTONE_SCANNER_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_scanner"
|
|
RINGTONE_RESTORE_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_restore"
|
|
RINGTONE_EXTENSION_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_data_extension"
|
|
RINGTONE_DFX_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_dfx"
|
|
RINGTONE_HELPER_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_helper"
|
|
RINGTONE_SETTING_PATH = "${RINGTONE_SERVICES_PATH}/ringtone_setting"
|
|
RINGTONE_UTILS_PATH = "${RINGTONE_SERVICES_PATH}/utils"
|
|
|
|
declare_args() {
|
|
ringtone_link_opt = false
|
|
ringtone_config_policy_enable = true
|
|
ringtone_media_library_enable = true
|
|
|
|
if (!defined(global_parts_info) ||
|
|
defined(global_parts_info.customization_config_policy)) {
|
|
ringtone_config_policy_enable = true
|
|
} else {
|
|
ringtone_config_policy_enable = false
|
|
}
|
|
|
|
if (!defined(global_parts_info) ||
|
|
defined(global_parts_info.multimedia_media_library)) {
|
|
ringtone_media_library_enable = true
|
|
} else {
|
|
ringtone_media_library_enable = false
|
|
}
|
|
}
|