Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ee7763f authored by Xin Li's avatar Xin Li
Browse files

Merge 24Q4 into AOSP main

Bug: 370570306
Merged-In: I30da235f86ec3a131ade2342b87f6e9f2313c514
Change-Id: I80a32b48fc640205cc1c48a5a8184aa61fdc092d
parents 8cccc28c 9c496542
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ endif
SYSTEMUI_OPTIMIZE_JAVA ?= true
$(call add_soong_config_var,ANDROID,SYSTEMUI_OPTIMIZE_JAVA)

# Flag for enabling compose for Launcher.
$(call soong_config_set,ANDROID,release_enable_compose_in_launcher,$(RELEASE_ENABLE_COMPOSE_IN_LAUNCHER))

ifdef PRODUCT_AVF_ENABLED
$(call add_soong_config_var_value,ANDROID,avf_enabled,$(PRODUCT_AVF_ENABLED))
endif
@@ -199,6 +202,17 @@ endif
# Required as platform_bootclasspath is using this namespace
$(call soong_config_set,bootclasspath,release_crashrecovery_module,$(RELEASE_CRASHRECOVERY_MODULE))

# Add uprobestats build flag to soong
$(call soong_config_set,ANDROID,release_uprobestats_module,$(RELEASE_UPROBESTATS_MODULE))
# Add uprobestats file move flags to soong, for both platform and module
ifeq (true,$(RELEASE_UPROBESTATS_FILE_MOVE))
  $(call soong_config_set,ANDROID,uprobestats_files_in_module,true)
  $(call soong_config_set,ANDROID,uprobestats_files_in_platform,false)
else
  $(call soong_config_set,ANDROID,uprobestats_files_in_module,false)
  $(call soong_config_set,ANDROID,uprobestats_files_in_platform,true)
endif

# Enable Profiling module. Also used by platform_bootclasspath.
$(call soong_config_set,ANDROID,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
$(call soong_config_set,bootclasspath,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
+12 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@
ifneq ($(wildcard test/mts/README.md),)

mcts_test_suites :=
mcts_test_suites += mcts
mcts_all_test_suites :=
mcts_all_test_suites += mcts

$(foreach module, $(mts_modules), $(eval mcts_test_suites += mcts-$(module)))

@@ -29,4 +30,14 @@ $(foreach suite, $(mcts_test_suites), \
	$(eval $(call dist-for-goals, $(suite), $(compatibility_zip))) \
)

$(foreach suite, $(mcts_all_test_suites), \
	$(eval test_suite_name := $(suite)) \
	$(eval test_suite_tradefed := mcts-tradefed) \
	$(eval test_suite_readme := test/mts/README.md) \
	$(eval include $(BUILD_SYSTEM)/tasks/tools/compatibility.mk) \
	$(eval .PHONY: $(suite)) \
	$(eval $(suite): $(compatibility_zip)) \
	$(eval $(call dist-for-goals, $(suite), $(compatibility_zip))) \
)

endif
+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@
#   compatibility_zip: the path to the output zip file.

special_mts_test_suites :=
special_mts_test_suites += mcts
special_mts_test_suites += $(mts_modules)
ifneq ($(filter $(special_mts_test_suites),$(patsubst mcts-%,%,$(test_suite_name))),)
	test_suite_subdir := android-mts
+22 −0
Original line number Diff line number Diff line
#
# 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
+13 −1
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ PRODUCT_PACKAGES += \
    libmedia \
    libmedia_jni \
    libmediandk \
    libmonkey_jni \
    libmtp \
    libnetd_client \
    libnetlink \
@@ -204,6 +205,7 @@ PRODUCT_PACKAGES += \
    libstdc++ \
    libsysutils \
    libui \
    libuprobestats_client \
    libusbhost \
    libutils \
    libvintf_jni \
@@ -293,7 +295,6 @@ PRODUCT_PACKAGES += \
    uiautomator \
    uinput \
    uncrypt \
    uprobestats \
    usbd \
    vdc \
    vintf \
@@ -311,6 +312,17 @@ ifeq ($(RELEASE_CRASHRECOVERY_MODULE),true)

endif

# When we release uprobestats module
ifeq ($(RELEASE_UPROBESTATS_MODULE),true)
    PRODUCT_PACKAGES += \
        com.android.uprobestats \

else
    PRODUCT_PACKAGES += \
        uprobestats \

endif

# These packages are not used on Android TV
ifneq ($(PRODUCT_IS_ATV),true)
  PRODUCT_PACKAGES += \
Loading