forked from openkylin/platform_build
Rename the Default* constants in java/config.
These values are used in two out of the many possible sdk_version configurations, and therefore weren't really defaults in any meaningful sense. Giving them more descriptive names makes the code easier to follow. Bug: 157640067 Test: m java Change-Id: I67767b2be72ed3d8cc879280036850096eb65415
This commit is contained in:
parent
e08e40947b
commit
3829475b74
|
@ -393,7 +393,7 @@ endif
|
|||
else
|
||||
# For platform build, we can't just raise to the "current" SDK,
|
||||
# that would break apps that use APIs removed from the current SDK.
|
||||
my_proguard_sdk_raise := $(call java-lib-header-files,$(TARGET_DEFAULT_BOOTCLASSPATH_LIBRARIES) $(TARGET_DEFAULT_JAVA_LIBRARIES))
|
||||
my_proguard_sdk_raise := $(call java-lib-header-files,$(LEGACY_CORE_PLATFORM_BOOTCLASSPATH_LIBRARIES) $(FRAMEWORK_LIBRARIES))
|
||||
endif
|
||||
ifdef BOARD_SYSTEMSDK_VERSIONS
|
||||
ifneq (,$(filter true,$(LOCAL_VENDOR_MODULE) $(LOCAL_ODM_MODULE) $(LOCAL_PROPRIETARY_MODULE)))
|
||||
|
|
|
@ -265,11 +265,11 @@ ifndef LOCAL_IS_HOST_MODULE
|
|||
# Most users of LOCAL_NO_STANDARD_LIBRARIES really mean no framework libs,
|
||||
# and manually add back the core libs. The ones that don't are in soong
|
||||
# now, so just always assume that they want the default system modules
|
||||
my_system_modules := $(DEFAULT_SYSTEM_MODULES)
|
||||
my_system_modules := $(LEGACY_CORE_PLATFORM_SYSTEM_MODULES)
|
||||
else # LOCAL_NO_STANDARD_LIBRARIES
|
||||
full_java_bootclasspath_libs := $(call java-lib-header-files,$(TARGET_DEFAULT_BOOTCLASSPATH_LIBRARIES) $(TARGET_DEFAULT_JAVA_LIBRARIES))
|
||||
LOCAL_JAVA_LIBRARIES := $(filter-out $(TARGET_DEFAULT_BOOTCLASSPATH_LIBRARIES) $(TARGET_DEFAULT_JAVA_LIBRARIES),$(LOCAL_JAVA_LIBRARIES))
|
||||
my_system_modules := $(DEFAULT_SYSTEM_MODULES)
|
||||
full_java_bootclasspath_libs := $(call java-lib-header-files,$(LEGACY_CORE_PLATFORM_BOOTCLASSPATH_LIBRARIES) $(FRAMEWORK_LIBRARIES))
|
||||
LOCAL_JAVA_LIBRARIES := $(filter-out $(LEGACY_CORE_PLATFORM_BOOTCLASSPATH_LIBRARIES) $(FRAMEWORK_LIBRARIES),$(LOCAL_JAVA_LIBRARIES))
|
||||
my_system_modules := $(LEGACY_CORE_PLATFORM_SYSTEM_MODULES)
|
||||
endif # LOCAL_NO_STANDARD_LIBRARIES
|
||||
|
||||
ifneq (,$(TARGET_BUILD_APPS_USE_PREBUILT_SDK))
|
||||
|
@ -352,10 +352,10 @@ else # LOCAL_IS_HOST_MODULE
|
|||
ifeq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
|
||||
empty_bootclasspath := ""
|
||||
else
|
||||
full_java_bootclasspath_libs := $(call java-lib-header-files,$(addsuffix -hostdex,$(TARGET_DEFAULT_BOOTCLASSPATH_LIBRARIES)),true)
|
||||
full_java_bootclasspath_libs := $(call java-lib-header-files,$(addsuffix -hostdex,$(LEGACY_CORE_PLATFORM_BOOTCLASSPATH_LIBRARIES)),true)
|
||||
endif
|
||||
|
||||
my_system_modules := $(DEFAULT_SYSTEM_MODULES)
|
||||
my_system_modules := $(LEGACY_CORE_PLATFORM_SYSTEM_MODULES)
|
||||
full_shared_java_libs := $(call java-lib-files,$(LOCAL_JAVA_LIBRARIES),true)
|
||||
full_shared_java_header_libs := $(call java-lib-header-files,$(LOCAL_JAVA_LIBRARIES),true)
|
||||
else # !USE_CORE_LIB_BOOTCLASSPATH
|
||||
|
|
Loading…
Reference in New Issue