Files
brave-core/script/brave_app_bundle_utils.py

19 lines
960 B
Python
Executable File

#!/usr/bin/env vpython3
#
# Copyright (c) 2025 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/. */
# Here we can extend the list of non-base services that are allowed to be
# included in the app bundle.
def extend_allowlisted_non_base_services(allowlisted_non_base_services):
allowlisted_non_base_services.add(
'com.brave.playlist.playback_service.VideoPlaybackService')
# This service is used by the `androidx_room_room_runtime_java` library that is a dependency of `com_brave_playlist_java`.
# This dependency will be removed in the context of this issue https://github.com/brave/brave-browser/issues/42382
allowlisted_non_base_services.add(
'androidx.room.MultiInstanceInvalidationService')
return allowlisted_non_base_services