1#
2# Copyright (C) 2011 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Build rules are excluded from Mac, since we can not run ART tests there in the first place.
18ifneq ($(HOST_OS),darwin)
19
20###################################################################################################
21# Create module in testcases to hold all common data and tools needed for ART host tests.
22
23# ART binary tools and libraries (automatic list of all art_cc_binary/art_cc_library modules).
24my_files := $(ART_TESTCASES_CONTENT)
25
26# Manually add system libraries that we need to run the host ART tools.
27my_files += \
28  $(foreach lib, libbacktrace libbase libc++ libicu_jni liblog libsigchain libunwindstack \
29    libziparchive libjavacore libandroidio libopenjdkd, \
30    $(call intermediates-dir-for,SHARED_LIBRARIES,$(lib),HOST)/$(lib).so:lib64/$(lib).so \
31    $(call intermediates-dir-for,SHARED_LIBRARIES,$(lib),HOST,,2ND)/$(lib).so:lib/$(lib).so) \
32  $(foreach lib, libcrypto libz libicuuc libicui18n libandroidicu libexpat, \
33    $(call intermediates-dir-for,SHARED_LIBRARIES,$(lib),HOST)/$(lib).so:lib64/$(lib)-host.so \
34    $(call intermediates-dir-for,SHARED_LIBRARIES,$(lib),HOST,,2ND)/$(lib).so:lib/$(lib)-host.so)
35
36# Add apex directories for art, conscrypt and i18n.
37icu_data_file := $(firstword $(wildcard external/icu/icu4c/source/stubdata/icu*.dat))
38my_files += $(foreach infix,_ _VDEX_,$(foreach suffix,$(HOST_ARCH) $(HOST_2ND_ARCH), \
39  $(DEXPREOPT_IMAGE$(infix)BUILT_INSTALLED_art_host_$(suffix))))
40my_files += \
41  $(foreach jar,$(CORE_IMG_JARS),\
42    $(HOST_OUT_JAVA_LIBRARIES)/$(jar)-hostdex.jar:apex/com.android.art/javalib/$(jar).jar) \
43  $(HOST_OUT_JAVA_LIBRARIES)/conscrypt-hostdex.jar:apex/com.android.conscrypt/javalib/conscrypt.jar\
44  $(HOST_OUT_JAVA_LIBRARIES)/core-icu4j-hostdex.jar:apex/com.android.i18n/javalib/core-icu4j.jar \
45  $(icu_data_file):com.android.i18n/etc/icu/$(notdir $(icu_data_file))
46
47# Create phony module that will copy all the data files into testcases directory.
48# For now, this copies everything to "out/host/linux-x86/" subdirectory, since it
49# is hard-coded in many places. TODO: Refactor tests to remove the need for this.
50include $(CLEAR_VARS)
51LOCAL_IS_HOST_MODULE := true
52LOCAL_MODULE := art_common
53LOCAL_MODULE_TAGS := tests
54LOCAL_MODULE_CLASS := NATIVE_TESTS
55LOCAL_MODULE_SUFFIX := .txt
56LOCAL_COMPATIBILITY_SUITE := general-tests
57LOCAL_COMPATIBILITY_SUPPORT_FILES := $(ART_TESTCASES_PREBUILT_CONTENT) \
58	$(foreach f,$(my_files),$(call word-colon,1,$f):out/host/linux-x86/$(call word-colon,2,$f))
59include $(BUILD_SYSTEM)/base_rules.mk
60
61$(LOCAL_BUILT_MODULE):
62	@mkdir -p $(dir $@)
63	echo "This directory contains common data and tools needed for ART host tests" > $@
64
65my_files :=
66include $(CLEAR_VARS)
67###################################################################################################
68
69# The path for which all the dex files are relative, not actually the current directory.
70LOCAL_PATH := art/test
71
72include art/build/Android.common_test.mk
73include art/build/Android.common_path.mk
74include art/build/Android.common_build.mk
75
76# Deprecated core.art dependencies.
77HOST_CORE_IMAGE_DEFAULT_32 :=
78HOST_CORE_IMAGE_DEFAULT_64 :=
79TARGET_CORE_IMAGE_DEFAULT_32 :=
80TARGET_CORE_IMAGE_DEFAULT_64 :=
81
82# The elf writer test has dependencies on core.oat.
83ART_GTEST_elf_writer_test_HOST_DEPS := $(HOST_CORE_IMAGE_DEFAULT_64) $(HOST_CORE_IMAGE_DEFAULT_32)
84ART_GTEST_elf_writer_test_TARGET_DEPS := $(TARGET_CORE_IMAGE_DEFAULT_64) $(TARGET_CORE_IMAGE_DEFAULT_32)
85
86# The two_runtimes_test test has dependencies on core.oat.
87ART_GTEST_two_runtimes_test_HOST_DEPS := $(HOST_CORE_IMAGE_DEFAULT_64) $(HOST_CORE_IMAGE_DEFAULT_32)
88ART_GTEST_two_runtimes_test_TARGET_DEPS := $(TARGET_CORE_IMAGE_DEFAULT_64) $(TARGET_CORE_IMAGE_DEFAULT_32)
89
90# The transaction test has dependencies on core.oat.
91ART_GTEST_transaction_test_HOST_DEPS := $(HOST_CORE_IMAGE_DEFAULT_64) $(HOST_CORE_IMAGE_DEFAULT_32)
92ART_GTEST_transaction_test_TARGET_DEPS := $(TARGET_CORE_IMAGE_DEFAULT_64) $(TARGET_CORE_IMAGE_DEFAULT_32)
93
94# The path for which all the source files are relative, not actually the current directory.
95LOCAL_PATH := art
96
97ART_TEST_MODULES := \
98    art_cmdline_tests \
99    art_compiler_host_tests \
100    art_compiler_tests \
101    art_dex2oat_tests \
102    art_dexanalyze_tests \
103    art_dexdiag_tests \
104    art_dexdump_tests \
105    art_dexlayout_tests \
106    art_dexlist_tests \
107    art_dexoptanalyzer_tests \
108    art_hiddenapi_tests \
109    art_imgdiag_tests \
110    art_libartbase_tests \
111    art_libartpalette_tests \
112    art_libdexfile_external_tests \
113    art_libdexfile_support_static_tests \
114    art_libdexfile_support_tests \
115    art_libdexfile_tests \
116    art_libprofile_tests \
117    art_oatdump_tests \
118    art_profman_tests \
119    art_runtime_compiler_tests \
120    art_runtime_tests \
121    art_sigchain_tests \
122
123ART_TARGET_GTEST_NAMES := $(foreach tm,$(ART_TEST_MODULES),\
124  $(foreach path,$(ART_TEST_LIST_device_$(TARGET_ARCH)_$(tm)),\
125    $(notdir $(path))\
126   )\
127)
128
129ART_HOST_GTEST_FILES := $(foreach m,$(ART_TEST_MODULES),\
130    $(ART_TEST_LIST_host_$(ART_HOST_ARCH)_$(m)))
131
132ifneq ($(HOST_PREFER_32_BIT),true)
1332ND_ART_HOST_GTEST_FILES += $(foreach m,$(ART_TEST_MODULES),\
134    $(ART_TEST_LIST_host_$(2ND_ART_HOST_ARCH)_$(m)))
135endif
136
137# Variables holding collections of gtest pre-requisits used to run a number of gtests.
138ART_TEST_HOST_GTEST$(ART_PHONY_TEST_HOST_SUFFIX)_RULES :=
139ART_TEST_HOST_GTEST$(2ND_ART_PHONY_TEST_HOST_SUFFIX)_RULES :=
140ART_TEST_HOST_GTEST_RULES :=
141ART_TEST_TARGET_GTEST$(ART_PHONY_TEST_TARGET_SUFFIX)_RULES :=
142ART_TEST_TARGET_GTEST$(2ND_ART_PHONY_TEST_TARGET_SUFFIX)_RULES :=
143ART_TEST_TARGET_GTEST_RULES :=
144ART_TEST_HOST_GTEST_DEPENDENCIES :=
145ART_TEST_TARGET_GTEST_DEPENDENCIES :=
146
147ART_GTEST_TARGET_ANDROID_ROOT := '/system'
148ifneq ($(ART_TEST_ANDROID_ROOT),)
149  ART_GTEST_TARGET_ANDROID_ROOT := $(ART_TEST_ANDROID_ROOT)
150endif
151
152ART_GTEST_TARGET_ANDROID_I18N_ROOT := '/apex/com.android.i18n'
153ifneq ($(ART_TEST_ANDROID_I18N_ROOT),)
154  ART_GTEST_TARGET_ANDROID_I18N_ROOT := $(ART_TEST_ANDROID_I18N_ROOT)
155endif
156
157ART_GTEST_TARGET_ANDROID_ART_ROOT := '/apex/com.android.art'
158ifneq ($(ART_TEST_ANDROID_ART_ROOT),)
159  ART_GTEST_TARGET_ANDROID_ART_ROOT := $(ART_TEST_ANDROID_ART_ROOT)
160endif
161
162ART_GTEST_TARGET_ANDROID_TZDATA_ROOT := '/apex/com.android.tzdata'
163ifneq ($(ART_TEST_ANDROID_TZDATA_ROOT),)
164  ART_GTEST_TARGET_ANDROID_TZDATA_ROOT := $(ART_TEST_ANDROID_TZDATA_ROOT)
165endif
166
167# Define make rules for a host gtests.
168# $(1): gtest name - the name of the test we're building such as leb128_test.
169# $(2): path relative to $OUT to the test binary
170# $(3): 2ND_ or undefined - used to differentiate between the primary and secondary architecture.
171define define-art-gtest-rule-host
172  gtest_suffix := $(1)$$($(3)ART_PHONY_TEST_HOST_SUFFIX)
173  gtest_rule := test-art-host-gtest-$$(gtest_suffix)
174  gtest_output := $(call intermediates-dir-for,PACKAGING,art-host-gtest,HOST)/$$(gtest_suffix).xml
175  $$(call dist-for-goals,$$(gtest_rule),$$(gtest_output):gtest/$$(gtest_suffix))
176  gtest_exe := $(2)
177  # Dependencies for all host gtests.
178  gtest_deps := $$(ART_HOST_DEX_DEPENDENCIES) \
179    $$(ART_TEST_HOST_GTEST_DEPENDENCIES) \
180    $$(HOST_OUT)/$$(I18N_APEX)/timestamp \
181    $$(HOST_BOOT_IMAGE_JARS) \
182    $$($(3)ART_HOST_OUT_SHARED_LIBRARIES)/libicu_jni$$(ART_HOST_SHLIB_EXTENSION) \
183    $$($(3)ART_HOST_OUT_SHARED_LIBRARIES)/libjavacore$$(ART_HOST_SHLIB_EXTENSION) \
184    $$($(3)ART_HOST_OUT_SHARED_LIBRARIES)/libopenjdkd$$(ART_HOST_SHLIB_EXTENSION) \
185    $$(gtest_exe) \
186    $$(ART_GTEST_$(1)_HOST_DEPS) \
187    $(foreach file,$(ART_GTEST_$(1)_DEX_DEPS),$(ART_TEST_HOST_GTEST_$(file)_DEX)) \
188    $(HOST_OUT_EXECUTABLES)/signal_dumper
189
190  # Note: The "host arch" Make variables defined in build/make/core/envsetup.mk
191  # and art/build/Android.common.mk have different meanings:
192  #
193  #   * In build/make/core/envsetup.mk:
194  #     * HOST_ARCH := x86_64
195  #     * HOST_2ND_ARCH := x86
196  #
197  #   * In art/build/Android.common.mk:
198  #     * When `HOST_PREFER_32_BIT` is `true`:
199  #       * ART_HOST_ARCH := x86
200  #       * 2ND_ART_HOST_ARCH :=
201  #       * 2ND_HOST_ARCH :=
202  #     * Otherwise:
203  #       * ART_HOST_ARCH := x86_64
204  #       * 2ND_ART_HOST_ARCH := x86
205  #       * 2ND_HOST_ARCH := x86
206  ifeq ($(HOST_PREFER_32_BIT),true)
207    gtest_deps += $$(2ND_HOST_BOOT_IMAGE) # Depend on the 32-bit boot image.
208  else
209    gtest_deps += $$($(3)HOST_BOOT_IMAGE)
210  endif
211
212.PHONY: $$(gtest_rule)
213$$(gtest_rule): $$(gtest_output)
214
215# Re-run the tests, even if nothing changed. Until the build system has a dedicated "no cache"
216# option, claim to write a file that is never produced.
217$$(gtest_output): .KATI_IMPLICIT_OUTPUTS := $$(gtest_output)-nocache
218# Limit concurrent runs. Each test itself is already highly parallel (and thus memory hungry).
219$$(gtest_output): .KATI_NINJA_POOL := highmem_pool
220$$(gtest_output): NAME := $$(gtest_rule)
221ifeq (,$(SANITIZE_HOST))
222$$(gtest_output): $$(gtest_exe) $$(gtest_deps)
223	$(hide) ($$(call ART_TEST_SKIP,$$(NAME)) && \
224		timeout --foreground -k 120s 2400s $(HOST_OUT_EXECUTABLES)/signal_dumper -s 15 \
225			$$< --gtest_output=xml:$$@ && \
226		$$(call ART_TEST_PASSED,$$(NAME))) || $$(call ART_TEST_FAILED,$$(NAME))
227else
228# Note: envsetup currently exports ASAN_OPTIONS=detect_leaks=0 to suppress leak detection, as some
229#       build tools (e.g., ninja) intentionally leak. We want leak checks when we run our tests, so
230#       override ASAN_OPTIONS. b/37751350
231# Note 2: Under sanitization, also capture the output, and run it through the stack tool on failure
232# (with the x86-64 ABI, as this allows symbolization of both x86 and x86-64). We don't do this in
233# general as it loses all the color output, and we have our own symbolization step when not running
234# under ASAN.
235$$(gtest_output): $$(gtest_exe) $$(gtest_deps)
236	$(hide) ($$(call ART_TEST_SKIP,$$(NAME)) && set -o pipefail && \
237		ASAN_OPTIONS=detect_leaks=1 timeout --foreground -k 120s 3600s \
238			$(HOST_OUT_EXECUTABLES)/signal_dumper -s 15 \
239				$$< --gtest_output=xml:$$@ 2>&1 | tee $$<.tmp.out >&2 && \
240		{ $$(call ART_TEST_PASSED,$$(NAME)) ; rm $$<.tmp.out ; }) || \
241		( grep -q AddressSanitizer $$<.tmp.out && export ANDROID_BUILD_TOP=`pwd` && \
242			{ echo "ABI: 'x86_64'" | cat - $$<.tmp.out | development/scripts/stack | tail -n 3000 ; } ; \
243		rm $$<.tmp.out ; $$(call ART_TEST_FAILED,$$(NAME)))
244endif
245
246  ART_TEST_HOST_GTEST$$($(3)ART_PHONY_TEST_HOST_SUFFIX)_RULES += $$(gtest_rule)
247  ART_TEST_HOST_GTEST_RULES += $$(gtest_rule)
248  ART_TEST_HOST_GTEST_$(1)_RULES += $$(gtest_rule)
249
250
251  # Clear locally defined variables.
252  gtest_deps :=
253  gtest_exe :=
254  gtest_output :=
255  gtest_rule :=
256  gtest_suffix :=
257endef  # define-art-gtest-rule-host
258
259ART_TEST_HOST_GTEST_DEPENDENCIES := $(HOST_I18N_DATA)
260ART_TEST_TARGET_GTEST_DEPENDENCIES := $(TESTING_ART_APEX)
261
262# Add the additional dependencies for the specified test
263# $(1): test name
264define add-art-gtest-dependencies
265  # Note that, both the primary and the secondary arches of the libs are built by depending
266  # on the module name.
267  gtest_deps := \
268    $$(ART_GTEST_$(1)_TARGET_DEPS) \
269    $(foreach file,$(ART_GTEST_$(1)_DEX_DEPS),$(ART_TEST_TARGET_GTEST_$(file)_DEX)) \
270
271  ART_TEST_TARGET_GTEST_DEPENDENCIES += $$(gtest_deps)
272
273  # Clear locally defined variables.
274  gtest_deps :=
275endef  # add-art-gtest-dependencies
276
277# $(1): file name
278# $(2): 2ND_ or undefined - used to differentiate between the primary and secondary architecture.
279define define-art-gtest-host
280  art_gtest_filename := $(1)
281
282  include $$(CLEAR_VARS)
283  art_gtest_name := $$(notdir $$(basename $$(art_gtest_filename)))
284  ifndef ART_TEST_HOST_GTEST_$$(art_gtest_name)_RULES
285    ART_TEST_HOST_GTEST_$$(art_gtest_name)_RULES :=
286  endif
287  $$(eval $$(call define-art-gtest-rule-host,$$(art_gtest_name),$$(art_gtest_filename),$(2)))
288
289  # Clear locally defined variables.
290  art_gtest_filename :=
291  art_gtest_name :=
292endef  # define-art-gtest-host
293
294# Define the rules to build and run gtests for both archs on host.
295# $(1): test name
296define define-art-gtest-host-both
297  art_gtest_name := $(1)
298
299.PHONY: test-art-host-gtest-$$(art_gtest_name)
300test-art-host-gtest-$$(art_gtest_name): $$(ART_TEST_HOST_GTEST_$$(art_gtest_name)_RULES)
301	$$(hide) $$(call ART_TEST_PREREQ_FINISHED,$$@)
302
303  # Clear now unused variables.
304  ART_TEST_HOST_GTEST_$$(art_gtest_name)_RULES :=
305  art_gtest_name :=
306endef  # define-art-gtest-host-both
307
308ifeq ($(ART_BUILD_TARGET),true)
309  $(foreach name,$(ART_TARGET_GTEST_NAMES), $(eval $(call add-art-gtest-dependencies,$(name),)))
310  ART_TEST_TARGET_GTEST_DEPENDENCIES += \
311    com.android.i18n \
312    libjavacore.com.android.art.testing \
313    libopenjdkd.com.android.art.testing \
314    com.android.art.testing \
315    com.android.conscrypt
316endif
317ifeq ($(ART_BUILD_HOST),true)
318  $(foreach file,$(ART_HOST_GTEST_FILES), $(eval $(call define-art-gtest-host,$(file),)))
319  ifneq ($(HOST_PREFER_32_BIT),true)
320    $(foreach file,$(2ND_ART_HOST_GTEST_FILES), $(eval $(call define-art-gtest-host,$(file),2ND_)))
321  endif
322  # Rules to run the different architecture versions of the gtest.
323  $(foreach file,$(ART_HOST_GTEST_FILES), $(eval $(call define-art-gtest-host-both,$$(notdir $$(basename $$(file))))))
324endif
325
326# Used outside the art project to get a list of the current tests
327RUNTIME_TARGET_GTEST_MAKE_TARGETS :=
328art_target_gtest_files := $(foreach m,$(ART_TEST_MODULES),$(ART_TEST_LIST_device_$(TARGET_ARCH)_$(m)))
329# If testdir == testfile, assume this is not a test_per_src module
330$(foreach file,$(art_target_gtest_files),\
331  $(eval testdir := $$(notdir $$(patsubst %/,%,$$(dir $$(file)))))\
332  $(eval testfile := $$(notdir $$(basename $$(file))))\
333  $(if $(call streq,$(testdir),$(testfile)),,\
334    $(eval testfile := $(testdir)_$(testfile)))\
335  $(eval RUNTIME_TARGET_GTEST_MAKE_TARGETS += $(testfile))\
336)
337testdir :=
338testfile :=
339art_target_gtest_files :=
340
341# Define all the combinations of host/target and suffix such as:
342# test-art-host-gtest or test-art-host-gtest64
343# $(1): host or target
344# $(2): HOST or TARGET
345# $(3): undefined, 32 or 64
346define define-test-art-gtest-combination
347  ifeq ($(1),host)
348    ifneq ($(2),HOST)
349      $$(error argument mismatch $(1) and ($2))
350    endif
351  else
352    ifneq ($(1),target)
353      $$(error found $(1) expected host or target)
354    endif
355    ifneq ($(2),TARGET)
356      $$(error argument mismatch $(1) and ($2))
357    endif
358  endif
359
360  rule_name := test-art-$(1)-gtest$(3)
361  dependencies := $$(ART_TEST_$(2)_GTEST$(3)_RULES)
362
363.PHONY: $$(rule_name)
364$$(rule_name): $$(dependencies) d8
365	$(hide) $$(call ART_TEST_PREREQ_FINISHED,$$@)
366
367  # Clear locally defined variables.
368  rule_name :=
369  dependencies :=
370endef  # define-test-art-gtest-combination
371
372$(eval $(call define-test-art-gtest-combination,target,TARGET,))
373$(eval $(call define-test-art-gtest-combination,target,TARGET,$(ART_PHONY_TEST_TARGET_SUFFIX)))
374ifdef 2ND_ART_PHONY_TEST_TARGET_SUFFIX
375$(eval $(call define-test-art-gtest-combination,target,TARGET,$(2ND_ART_PHONY_TEST_TARGET_SUFFIX)))
376endif
377$(eval $(call define-test-art-gtest-combination,host,HOST,))
378$(eval $(call define-test-art-gtest-combination,host,HOST,$(ART_PHONY_TEST_HOST_SUFFIX)))
379ifneq ($(HOST_PREFER_32_BIT),true)
380$(eval $(call define-test-art-gtest-combination,host,HOST,$(2ND_ART_PHONY_TEST_HOST_SUFFIX)))
381endif
382
383# Clear locally defined variables.
384define-art-gtest-rule-target :=
385define-art-gtest-rule-host :=
386define-art-gtest :=
387define-test-art-gtest-combination :=
388RUNTIME_GTEST_COMMON_SRC_FILES :=
389COMPILER_GTEST_COMMON_SRC_FILES :=
390RUNTIME_GTEST_TARGET_SRC_FILES :=
391RUNTIME_GTEST_HOST_SRC_FILES :=
392COMPILER_GTEST_TARGET_SRC_FILES :=
393COMPILER_GTEST_HOST_SRC_FILES :=
394ART_TEST_HOST_GTEST$(ART_PHONY_TEST_HOST_SUFFIX)_RULES :=
395ART_TEST_HOST_GTEST$(2ND_ART_PHONY_TEST_HOST_SUFFIX)_RULES :=
396ART_TEST_HOST_GTEST_RULES :=
397ART_TEST_TARGET_GTEST$(ART_PHONY_TEST_TARGET_SUFFIX)_RULES :=
398ART_TEST_TARGET_GTEST$(2ND_ART_PHONY_TEST_TARGET_SUFFIX)_RULES :=
399ART_TEST_TARGET_GTEST_RULES :=
400ART_GTEST_TARGET_ANDROID_ROOT :=
401ART_GTEST_TARGET_ANDROID_I18N_ROOT :=
402ART_GTEST_TARGET_ANDROID_ART_ROOT :=
403ART_GTEST_TARGET_ANDROID_TZDATA_ROOT :=
404ART_GTEST_class_linker_test_DEX_DEPS :=
405ART_GTEST_class_table_test_DEX_DEPS :=
406ART_GTEST_compiler_driver_test_DEX_DEPS :=
407ART_GTEST_dex_file_test_DEX_DEPS :=
408ART_GTEST_exception_test_DEX_DEPS :=
409ART_GTEST_elf_writer_test_HOST_DEPS :=
410ART_GTEST_elf_writer_test_TARGET_DEPS :=
411ART_GTEST_imtable_test_DEX_DEPS :=
412ART_GTEST_jni_compiler_test_DEX_DEPS :=
413ART_GTEST_jni_internal_test_DEX_DEPS :=
414ART_GTEST_oat_file_assistant_test_DEX_DEPS :=
415ART_GTEST_oat_file_assistant_test_HOST_DEPS :=
416ART_GTEST_oat_file_assistant_test_TARGET_DEPS :=
417ART_GTEST_dexanalyze_test_DEX_DEPS :=
418ART_GTEST_dexoptanalyzer_test_DEX_DEPS :=
419ART_GTEST_dexoptanalyzer_test_HOST_DEPS :=
420ART_GTEST_dexoptanalyzer_test_TARGET_DEPS :=
421ART_GTEST_image_space_test_DEX_DEPS :=
422ART_GTEST_image_space_test_HOST_DEPS :=
423ART_GTEST_image_space_test_TARGET_DEPS :=
424ART_GTEST_dex2oat_test_DEX_DEPS :=
425ART_GTEST_dex2oat_test_HOST_DEPS :=
426ART_GTEST_dex2oat_test_TARGET_DEPS :=
427ART_GTEST_dex2oat_image_test_DEX_DEPS :=
428ART_GTEST_dex2oat_image_test_HOST_DEPS :=
429ART_GTEST_dex2oat_image_test_TARGET_DEPS :=
430ART_GTEST_module_exclusion_test_HOST_DEPS :=
431ART_GTEST_module_exclusion_test_TARGET_DEPS :=
432ART_GTEST_object_test_DEX_DEPS :=
433ART_GTEST_proxy_test_DEX_DEPS :=
434ART_GTEST_reflection_test_DEX_DEPS :=
435ART_GTEST_stub_test_DEX_DEPS :=
436ART_GTEST_transaction_test_DEX_DEPS :=
437ART_GTEST_dex2oat_environment_tests_DEX_DEPS :=
438ART_GTEST_heap_verification_test_DEX_DEPS :=
439ART_GTEST_verifier_deps_test_DEX_DEPS :=
440$(foreach dir,$(GTEST_DEX_DIRECTORIES), $(eval ART_TEST_TARGET_GTEST_$(dir)_DEX :=))
441$(foreach dir,$(GTEST_DEX_DIRECTORIES), $(eval ART_TEST_HOST_GTEST_$(dir)_DEX :=))
442ART_TEST_HOST_GTEST_MainStripped_DEX :=
443ART_TEST_TARGET_GTEST_MainStripped_DEX :=
444ART_TEST_HOST_GTEST_MainUncompressedAligned_DEX :=
445ART_TEST_TARGET_GTEST_MainUncompressedAligned_DEX :=
446ART_TEST_HOST_GTEST_EmptyUncompressed_DEX :=
447ART_TEST_TARGET_GTEST_EmptyUncompressed_DEX :=
448ART_TEST_GTEST_VerifierDeps_SRC :=
449ART_TEST_HOST_GTEST_VerifierDeps_DEX :=
450ART_TEST_TARGET_GTEST_VerifierDeps_DEX :=
451ART_TEST_GTEST_VerifySoftFailDuringClinit_SRC :=
452ART_TEST_HOST_GTEST_VerifySoftFailDuringClinit_DEX :=
453ART_TEST_TARGET_GTEST_VerifySoftFailDuringClinit_DEX :=
454GTEST_DEX_DIRECTORIES :=
455LOCAL_PATH :=
456
457endif # ifneq ($(HOST_OS),darwin)
458