# Copyright (C) 2011 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. #
LOCAL_PATH := $(call my-dir)
include art/build/Android.common_test.mk
# Dependencies for actually running a run-test.
TEST_ART_RUN_TEST_DEPENDENCIES := \
$(HOST_OUT_EXECUTABLES)/d8 \
$(HOST_OUT_EXECUTABLES)/hiddenapi \
$(HOST_OUT_EXECUTABLES)/jasmin \
$(HOST_OUT_EXECUTABLES)/android-smali
# We need the ART Testing APEX (which is a superset of the Release # and Debug APEXes) -- which contains dex2oat, dalvikvm, their # dependencies and ART gtests -- on the target, as well as the core # images (all images as we sync only once).
ART_TEST_TARGET_RUN_TEST_DEPENDENCIES := $(TESTING_ART_APEX) $(TARGET_CORE_IMG_OUTS)
# Also need these other libs and binaries.
ART_TEST_TARGET_RUN_TEST_DEPENDENCIES += \
libartagent libartagentd \
libtiagent libtiagentd \
libtistress libtistressd \
libarttest libarttestd \
libarttest_external libarttestd_external \
libnativebridgetest libnativebridgetestd \
signal_dumper
# All tests require the host executables. The tests also depend on the core images, but on # specific version depending on the compiler.
ART_TEST_HOST_RUN_TEST_DEPENDENCIES := \
$(ART_HOST_EXECUTABLES) \
$(HOST_OUT_EXECUTABLES)/hprof-conv \
$(HOST_OUT_EXECUTABLES)/signal_dumper \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libtiagent) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libtiagentd) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libtistress) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libtistressd) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libartagent) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libartagentd) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libarttest) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libarttestd) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libarttest_external) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libarttestd_external) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libnativebridgetest) \
$(ART_TEST_LIST_host_$(ART_HOST_ARCH)_libnativebridgetestd) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libicu_jni$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libjavacore$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libopenjdk$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libopenjdkd$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libopenjdkjvmti$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_OUT_SHARED_LIBRARIES)/libopenjdkjvmtid$(ART_HOST_SHLIB_EXTENSION) \
$(ART_HOST_DEX_DEPENDENCIES) \
$(HOST_I18N_DATA) \
art_boot_images
# Create a rule to build and run a test group of the following form: # test-art-{1: host target}-run-test definedefine-test-art-host-or-target-run-test-group
build_target := test-art-$(1)-run-test
.PHONY: $$(build_target)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.