am 73a730ca
: Merge "Remove libdvm support from the core build system."
* commit '73a730caf566fb778ad36f6d991666c482918d22': Remove libdvm support from the core build system.
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
#
|
#
|
||||||
####################################
|
####################################
|
||||||
|
|
||||||
ifneq ($(DALVIK_VM_LIB),)
|
|
||||||
|
|
||||||
# list of boot classpath jars for dexpreopt
|
# list of boot classpath jars for dexpreopt
|
||||||
DEXPREOPT_BOOT_JARS := $(subst $(space),:,$(PRODUCT_BOOT_JARS))
|
DEXPREOPT_BOOT_JARS := $(subst $(space),:,$(PRODUCT_BOOT_JARS))
|
||||||
DEXPREOPT_BOOT_JARS_MODULES := $(PRODUCT_BOOT_JARS)
|
DEXPREOPT_BOOT_JARS_MODULES := $(PRODUCT_BOOT_JARS)
|
||||||
@@ -18,6 +16,9 @@ DEXPREOPT_PRODUCT_DIR := $(patsubst $(DEXPREOPT_BUILD_DIR)/%,%,$(DEXPREOPT_PRODU
|
|||||||
DEXPREOPT_BOOT_JAR_DIR := system/framework
|
DEXPREOPT_BOOT_JAR_DIR := system/framework
|
||||||
DEXPREOPT_BOOT_JAR_DIR_FULL_PATH := $(DEXPREOPT_PRODUCT_DIR_FULL_PATH)/$(DEXPREOPT_BOOT_JAR_DIR)
|
DEXPREOPT_BOOT_JAR_DIR_FULL_PATH := $(DEXPREOPT_PRODUCT_DIR_FULL_PATH)/$(DEXPREOPT_BOOT_JAR_DIR)
|
||||||
|
|
||||||
|
# The default value for LOCAL_DEX_PREOPT
|
||||||
|
DEX_PREOPT_DEFAULT ?= true
|
||||||
|
|
||||||
# $(1): the .jar or .apk to remove classes.dex
|
# $(1): the .jar or .apk to remove classes.dex
|
||||||
define dexpreopt-remove-classes.dex
|
define dexpreopt-remove-classes.dex
|
||||||
$(hide) zip --quiet --delete $(1) classes.dex; \
|
$(hide) zip --quiet --delete $(1) classes.dex; \
|
||||||
@@ -60,7 +61,3 @@ DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT := $(DEFAULT_DEX_PREOPT_BUILT_IM
|
|||||||
ifdef TARGET_2ND_ARCH
|
ifdef TARGET_2ND_ARCH
|
||||||
$(TARGET_2ND_ARCH_VAR_PREFIX)DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT := $($(TARGET_2ND_ARCH_VAR_PREFIX)DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME)
|
$(TARGET_2ND_ARCH_VAR_PREFIX)DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT := $($(TARGET_2ND_ARCH_VAR_PREFIX)DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME)
|
||||||
endif # TARGET_2ND_ARCH
|
endif # TARGET_2ND_ARCH
|
||||||
else
|
|
||||||
$(warning No DALVIK_VM_LIB, disable dexpreopt.)
|
|
||||||
WITH_DEXPREOPT := false
|
|
||||||
endif # DALVIK_VM_LIB is defined.
|
|
||||||
|
@@ -46,26 +46,12 @@ built_installed_odex :=
|
|||||||
ifdef LOCAL_DEX_PREOPT
|
ifdef LOCAL_DEX_PREOPT
|
||||||
dexpreopt_boot_jar_module := $(filter $(DEXPREOPT_BOOT_JARS_MODULES),$(LOCAL_MODULE))
|
dexpreopt_boot_jar_module := $(filter $(DEXPREOPT_BOOT_JARS_MODULES),$(LOCAL_MODULE))
|
||||||
ifdef dexpreopt_boot_jar_module
|
ifdef dexpreopt_boot_jar_module
|
||||||
ifeq ($(DALVIK_VM_LIB),libdvm.so)
|
|
||||||
built_odex := $(basename $(LOCAL_BUILT_MODULE)).odex
|
|
||||||
installed_odex := $(basename $(LOCAL_INSTALLED_MODULE)).odex
|
|
||||||
built_installed_odex := $(built_odex):$(installed_odex)
|
|
||||||
else # libdvm.so
|
|
||||||
# For libart, the boot jars' odex files are replaced by $(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE).
|
# For libart, the boot jars' odex files are replaced by $(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE).
|
||||||
# We use this installed_odex trick to get boot.art installed.
|
# We use this installed_odex trick to get boot.art installed.
|
||||||
installed_odex := $(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE)
|
installed_odex := $(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE)
|
||||||
# Append the odex for the 2nd arch if we have one.
|
# Append the odex for the 2nd arch if we have one.
|
||||||
installed_odex += $($(TARGET_2ND_ARCH_VAR_PREFIX)DEFAULT_DEX_PREOPT_INSTALLED_IMAGE)
|
installed_odex += $($(TARGET_2ND_ARCH_VAR_PREFIX)DEFAULT_DEX_PREOPT_INSTALLED_IMAGE)
|
||||||
endif # libdvm.so
|
|
||||||
else # boot jar
|
else # boot jar
|
||||||
ifeq ($(DALVIK_VM_LIB),libdvm.so)
|
|
||||||
built_odex := $(basename $(LOCAL_BUILT_MODULE)).odex
|
|
||||||
installed_odex := $(basename $(LOCAL_INSTALLED_MODULE)).odex
|
|
||||||
built_installed_odex := $(built_odex):$(installed_odex)
|
|
||||||
|
|
||||||
$(built_odex) : $(DEXPREOPT_ONE_FILE_DEPENDENCY_BUILT_BOOT_PREOPT) \
|
|
||||||
$(DEXPREOPT_ONE_FILE_DEPENDENCY_TOOLS)
|
|
||||||
else # libart
|
|
||||||
ifeq ($(LOCAL_MODULE_CLASS),JAVA_LIBRARIES)
|
ifeq ($(LOCAL_MODULE_CLASS),JAVA_LIBRARIES)
|
||||||
# For a Java library, we build odex for both 1st arch and 2nd arch, if we have one.
|
# For a Java library, we build odex for both 1st arch and 2nd arch, if we have one.
|
||||||
# #################################################
|
# #################################################
|
||||||
@@ -91,7 +77,6 @@ include $(BUILD_SYSTEM)/setup_one_odex.mk
|
|||||||
endif # LOCAL_MULTILIB is both
|
endif # LOCAL_MULTILIB is both
|
||||||
endif # TARGET_2ND_ARCH
|
endif # TARGET_2ND_ARCH
|
||||||
endif # LOCAL_MODULE_CLASS
|
endif # LOCAL_MODULE_CLASS
|
||||||
endif # libart
|
|
||||||
endif # boot jar
|
endif # boot jar
|
||||||
|
|
||||||
ifdef built_odex
|
ifdef built_odex
|
||||||
|
@@ -85,12 +85,6 @@ $(LOCAL_BUILT_MODULE) : $(dexpreopted_boot_jar) | $(ACP)
|
|||||||
$(call copy-file-to-target)
|
$(call copy-file-to-target)
|
||||||
|
|
||||||
# For libart boot jars, we don't have .odex files.
|
# For libart boot jars, we don't have .odex files.
|
||||||
ifeq ($(DALVIK_VM_LIB),libdvm.so)
|
|
||||||
dexpreopted_boot_odex := $(DEXPREOPT_BOOT_JAR_DIR_FULL_PATH)/$(dexpreopt_boot_jar_module).odex
|
|
||||||
$(built_odex) : $(dexpreopted_boot_odex) | $(ACP)
|
|
||||||
$(call copy-file-to-target)
|
|
||||||
endif
|
|
||||||
|
|
||||||
else # ! boot jar
|
else # ! boot jar
|
||||||
$(built_odex): PRIVATE_MODULE := $(LOCAL_MODULE)
|
$(built_odex): PRIVATE_MODULE := $(LOCAL_MODULE)
|
||||||
# Use pattern rule - we may have multiple built odex files.
|
# Use pattern rule - we may have multiple built odex files.
|
||||||
|
12
core/main.mk
12
core/main.mk
@@ -307,6 +307,7 @@ endif
|
|||||||
|
|
||||||
# Add build properties for ART. These define system properties used by installd
|
# Add build properties for ART. These define system properties used by installd
|
||||||
# to pass flags to dex2oat.
|
# to pass flags to dex2oat.
|
||||||
|
ADDITIONAL_BUILD_PROPERTIES += persist.sys.dalvik.vm.lib.2=libart
|
||||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).variant=$(DEX2OAT_TARGET_CPU_VARIANT)
|
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).variant=$(DEX2OAT_TARGET_CPU_VARIANT)
|
||||||
ifneq ($(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES),)
|
ifneq ($(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES),)
|
||||||
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).features=$(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES)
|
ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.isa.$(TARGET_ARCH).features=$(DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES)
|
||||||
@@ -336,15 +337,14 @@ ifneq (,$(user_variant))
|
|||||||
enable_target_debugging :=
|
enable_target_debugging :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Turn on Dalvik preoptimization for libdvm.so user builds, but only if not
|
# Turn on Dalvik preoptimization for user builds, but only if not
|
||||||
# explicitly disabled and the build is running on Linux (since host
|
# explicitly disabled and the build is running on Linux (since host
|
||||||
# Dalvik isn't built for non-Linux hosts).
|
# Dalvik isn't built for non-Linux hosts).
|
||||||
ifeq (,$(WITH_DEXPREOPT))
|
ifeq (,$(WITH_DEXPREOPT))
|
||||||
ifeq ($(DALVIK_VM_LIB),libdvm.so)
|
ifeq ($(user_variant),user)
|
||||||
ifeq ($(user_variant),user)
|
ifeq ($(HOST_OS),linux)
|
||||||
ifeq ($(HOST_OS),linux)
|
# TODO: turn on WITH_DEXPREOPT for libart user builds.
|
||||||
WITH_DEXPREOPT := true
|
# WITH_DEXPREOPT := true
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@@ -99,7 +99,6 @@ _product_var_list := \
|
|||||||
PRODUCT_VENDOR_KERNEL_HEADERS \
|
PRODUCT_VENDOR_KERNEL_HEADERS \
|
||||||
PRODUCT_FACTORY_RAMDISK_MODULES \
|
PRODUCT_FACTORY_RAMDISK_MODULES \
|
||||||
PRODUCT_FACTORY_BUNDLE_MODULES \
|
PRODUCT_FACTORY_BUNDLE_MODULES \
|
||||||
PRODUCT_RUNTIMES \
|
|
||||||
PRODUCT_BOOT_JARS \
|
PRODUCT_BOOT_JARS \
|
||||||
PRODUCT_SUPPORTS_VERITY \
|
PRODUCT_SUPPORTS_VERITY \
|
||||||
PRODUCT_OEM_PROPERTIES \
|
PRODUCT_OEM_PROPERTIES \
|
||||||
|
@@ -247,36 +247,6 @@ all_product_makefiles :=
|
|||||||
all_product_configs :=
|
all_product_configs :=
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
# TODO: Remove this hack once only 1 runtime is left.
|
|
||||||
# Include the runtime product makefile based on the product's PRODUCT_RUNTIMES
|
|
||||||
$(call clear-var-list, $(_product_var_list))
|
|
||||||
|
|
||||||
# Set PRODUCT_RUNTIMES, allowing buildspec to override using OVERRIDE_RUNTIMES
|
|
||||||
product_runtimes := $(sort $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_RUNTIMES))
|
|
||||||
ifneq ($(OVERRIDE_RUNTIMES),)
|
|
||||||
$(info Overriding PRODUCT_RUNTIMES=$(product_runtimes) with $(OVERRIDE_RUNTIMES))
|
|
||||||
product_runtimes := $(OVERRIDE_RUNTIMES)
|
|
||||||
endif
|
|
||||||
$(foreach runtime, $(product_runtimes), $(eval include $(SRC_TARGET_DIR)/product/$(runtime).mk))
|
|
||||||
$(foreach v, $(_product_var_list), $(if $($(v)),\
|
|
||||||
$(eval PRODUCTS.$(INTERNAL_PRODUCT).$(v) += $(sort $($(v))))))
|
|
||||||
|
|
||||||
$(call clear-var-list, $(_product_var_list))
|
|
||||||
# Now we can assign to PRODUCT_RUNTIMES
|
|
||||||
PRODUCT_RUNTIMES := $(product_runtimes)
|
|
||||||
product_runtimes :=
|
|
||||||
|
|
||||||
PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PROPERTY_OVERRIDES += persist.sys.dalvik.vm.lib.2=$(DALVIK_VM_LIB)
|
|
||||||
|
|
||||||
ifeq ($(words $(PRODUCT_RUNTIMES)),1)
|
|
||||||
# If we only have one runtime, we can strip classes.dex by default during dex_preopt
|
|
||||||
DEX_PREOPT_DEFAULT := true
|
|
||||||
else
|
|
||||||
# If we have more than one, we leave the classes.dex alone for post-boot analysis
|
|
||||||
DEX_PREOPT_DEFAULT := nostripping
|
|
||||||
endif
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# A list of module names of BOOTCLASSPATH (jar files)
|
# A list of module names of BOOTCLASSPATH (jar files)
|
||||||
|
@@ -100,11 +100,10 @@ PRODUCT_SYSTEM_SERVER_JARS := \
|
|||||||
ethernet-service \
|
ethernet-service \
|
||||||
wifi-service
|
wifi-service
|
||||||
|
|
||||||
PRODUCT_RUNTIMES := runtime_libart_default
|
|
||||||
|
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||||
ro.zygote=zygote32
|
ro.zygote=zygote32
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
|
system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
|
||||||
|
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
||||||
|
@@ -101,8 +101,6 @@ PRODUCT_SYSTEM_SERVER_JARS := \
|
|||||||
services \
|
services \
|
||||||
wifi-service
|
wifi-service
|
||||||
|
|
||||||
PRODUCT_RUNTIMES := runtime_libart_default
|
|
||||||
|
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||||
ro.zygote=zygote32
|
ro.zygote=zygote32
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
@@ -111,6 +109,7 @@ PRODUCT_COPY_FILES += \
|
|||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
ro.carrier=unknown
|
ro.carrier=unknown
|
||||||
|
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
|
||||||
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
|
$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
|
||||||
|
|
||||||
|
@@ -23,8 +23,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_mips64/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_mips64/device.mk)
|
||||||
|
|
||||||
PRODUCT_RUNTIMES := runtime_libart_default
|
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||||
|
|
||||||
# Overrides
|
# Overrides
|
||||||
|
@@ -27,8 +27,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
|
||||||
|
|
||||||
PRODUCT_RUNTIMES := runtime_libart_default
|
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||||
|
|
||||||
ifdef NET_ETH0_STARTONBOOT
|
ifdef NET_ETH0_STARTONBOOT
|
||||||
|
@@ -1,41 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2013 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Common runtime modules for both Dalvik and ART
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
apache-xml \
|
|
||||||
bouncycastle \
|
|
||||||
cacerts \
|
|
||||||
conscrypt \
|
|
||||||
core-junit \
|
|
||||||
dalvikvm \
|
|
||||||
dexdeps \
|
|
||||||
dexdump \
|
|
||||||
dexlist \
|
|
||||||
dmtracedump \
|
|
||||||
dx \
|
|
||||||
ext \
|
|
||||||
hprof-conv \
|
|
||||||
libcrypto \
|
|
||||||
libexpat \
|
|
||||||
libicui18n \
|
|
||||||
libicuuc \
|
|
||||||
libjavacore \
|
|
||||||
libnativehelper \
|
|
||||||
libssl \
|
|
||||||
libz \
|
|
||||||
okhttp
|
|
@@ -17,11 +17,33 @@
|
|||||||
# Provides a functioning ART environment without Android frameworks
|
# Provides a functioning ART environment without Android frameworks
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
core-libart \
|
apache-xml \
|
||||||
libart \
|
bouncycastle \
|
||||||
dex2oat \
|
cacerts \
|
||||||
oatdump \
|
conscrypt \
|
||||||
patchoat
|
core-junit \
|
||||||
|
core-libart \
|
||||||
|
dalvikvm \
|
||||||
|
dex2oat \
|
||||||
|
dexdeps \
|
||||||
|
dexdump \
|
||||||
|
dexlist \
|
||||||
|
dmtracedump \
|
||||||
|
dx \
|
||||||
|
ext \
|
||||||
|
hprof-conv \
|
||||||
|
libart \
|
||||||
|
libcrypto \
|
||||||
|
libexpat \
|
||||||
|
libicui18n \
|
||||||
|
libicuuc \
|
||||||
|
libjavacore \
|
||||||
|
libnativehelper \
|
||||||
|
libssl \
|
||||||
|
libz \
|
||||||
|
oatdump \
|
||||||
|
okhttp \
|
||||||
|
patchoat
|
||||||
|
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||||
dalvik.vm.image-dex2oat-Xms=64m \
|
dalvik.vm.image-dex2oat-Xms=64m \
|
||||||
@@ -29,5 +51,3 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
|||||||
dalvik.vm.dex2oat-Xms=64m \
|
dalvik.vm.dex2oat-Xms=64m \
|
||||||
dalvik.vm.dex2oat-Xmx=512m \
|
dalvik.vm.dex2oat-Xmx=512m \
|
||||||
ro.dalvik.vm.native.bridge=0 \
|
ro.dalvik.vm.native.bridge=0 \
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/runtime_common.mk
|
|
||||||
|
@@ -1,21 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2013 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set ART as the default runtime environment
|
|
||||||
|
|
||||||
DALVIK_VM_LIB := libart.so
|
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/runtime_libart.mk
|
|
@@ -1,24 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2013 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Provides a functioning Dalvik environment without Android frameworks
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
core \
|
|
||||||
libdvm \
|
|
||||||
dexopt
|
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/runtime_common.mk
|
|
@@ -1,21 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2013 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set Dalvik as the default runtime environment
|
|
||||||
|
|
||||||
DALVIK_VM_LIB := libdvm.so
|
|
||||||
|
|
||||||
include $(SRC_TARGET_DIR)/product/runtime_libdvm.mk
|
|
Reference in New Issue
Block a user