Merge UP1A.230905.019

Merged-In: Ia5208702fc02d0e1ab53d1affc664363fba74a67
Change-Id: I7ba769565b1dbf56d6e00d85c87b7235b14a857a
This commit is contained in:
Xin Li
2023-08-31 11:53:58 -07:00
2 changed files with 14 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ $(call add_soong_config_var,ANDROID,PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT)
# Default behavior for the tree wrt building modules or using prebuilts. This
# can always be overridden by setting the environment variable
# MODULE_BUILD_FROM_SOURCE.
BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true
BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := false
ifneq ($(SANITIZE_TARGET)$(EMMA_INSTRUMENT_FRAMEWORK),)
# Always use sources when building the framework with Java coverage or
@@ -49,6 +49,18 @@ ifneq ($(SANITIZE_TARGET)$(EMMA_INSTRUMENT_FRAMEWORK),)
BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true
endif
ifneq ($(CLANG_COVERAGE)$(NATIVE_COVERAGE_PATHS),)
# Always use sources when building with clang coverage and native coverage.
# It is possible that there are certain situations when building with coverage
# would work with prebuilts, e.g. when the coverage is not being applied to
# modules for which we provide prebuilts. Unfortunately, determining that
# would require embedding knowledge of which coverage paths affect which
# modules here. That would duplicate a lot of information, add yet another
# location module authors have to update and complicate the logic here.
# For nowe we will just always build from sources when doing coverage builds.
BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE := true
endif
# ART does not provide linux_bionic variants needed for products that
# set HOST_CROSS_OS=linux_bionic.
ifeq (linux_bionic,${HOST_CROSS_OS})

View File

@@ -105,7 +105,7 @@ ifndef PLATFORM_SECURITY_PATCH
# It must be of the form "YYYY-MM-DD" on production devices.
# It must match one of the Android Security Patch Level strings of the Public Security Bulletins.
# If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
PLATFORM_SECURITY_PATCH := 2023-08-05
PLATFORM_SECURITY_PATCH := 2023-09-05
endif
include $(BUILD_SYSTEM)/version_util.mk