Preload the sidecar jar when the flag is on

Ignore-AOSP-First: The jar was developed in internal git, so this change must be also in internal git.


Test: Build
Bug: 360864791
Flag: RELEASE_APPFUNCTION_SIDECAR
Change-Id: Iaafc3cbf0842fe61c8364d04f7f47cd4698d03cf
This commit is contained in:
Tony Mak
2024-09-20 20:54:41 +00:00
parent 69b91bbf69
commit c3c7e46821
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#
# Copyright (C) 2024 The Android Open Source Project
#
# 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.
#
# The app function sidecar extensions
# /system_ext packages
PRODUCT_PACKAGES += \
com.google.android.appfunctions.sidecar \
appfunctions.sidecar.xml

View File

@@ -26,3 +26,8 @@ PRODUCT_PACKAGES += \
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions_base.mk)
# AppFunction Extensions
ifneq (,$(RELEASE_APPFUNCTION_SIDECAR))
$(call inherit-product, $(SRC_TARGET_DIR)/product/app_function_extensions.mk)
endif