blob: 525ca83207085f47de82c51b8f718ee608ecc523 [file] [log] [blame]
Carl Shapiro7b216702011-06-17 15:09:26 -07001#
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
Shih-wei Liaod1fec812012-02-13 09:51:10 -080017# Use llvm as the backend
18ifneq ($(wildcard art/USE_LLVM_COMPILER),)
19ART_USE_LLVM_COMPILER := true
20else
21ART_USE_LLVM_COMPILER := false
22endif
23
24ifeq ($(ART_USE_LLVM_COMPILER),true)
25LLVM_ROOT_PATH := external/llvm
26include $(LLVM_ROOT_PATH)/llvm.mk
27endif
28
Brian Carlstrom47a0d5a2011-10-12 21:20:05 -070029# art-cache
30ART_CACHE_DIR := /data/art-cache
31ART_CACHE_OUT := $(TARGET_OUT_DATA)/art-cache
32
Brian Carlstrombd411022012-02-07 12:09:09 -080033# $(1): pathname
34define art-cache-out
35$(ART_CACHE_OUT)/$(subst /,@,$(1))
36endef
37
Brian Carlstrom32b4b2a2012-01-31 16:21:40 -080038# directory used for gtests on device
39ART_NATIVETEST_DIR := /data/nativetest/art
40ART_NATIVETEST_OUT := $(TARGET_OUT_DATA_NATIVE_TESTS)/art
41
Brian Carlstrom47a0d5a2011-10-12 21:20:05 -070042# directory used for tests on device
43ART_TEST_DIR := /data/art-test
44ART_TEST_OUT := $(TARGET_OUT_DATA)/art-test
45
Brian Carlstromcdc8de42011-07-19 14:23:17 -070046ART_CPP_EXTENSION := .cc
Carl Shapiro9bf84fd2011-06-17 17:05:25 -070047
Elliott Hughes0af55432011-08-17 18:37:28 -070048ART_C_INCLUDES := \
49 external/gtest/include \
50 external/icu4c/common \
51 external/icu4c/i18n \
Elliott Hughes8d768a92011-09-14 16:35:25 -070052 external/valgrind/dynamic_annotations \
buzbeec143c552011-08-20 17:38:58 -070053 external/zlib \
54 art/src \
55 dalvik/libdex
Brian Carlstromb0460ea2011-07-29 10:08:05 -070056
Elliott Hughes1d3f1142011-09-13 12:00:00 -070057art_cflags := \
Elliott Hughes7f40ffc2011-09-04 10:50:01 -070058 -O2 \
Carl Shapiro1fb86202011-06-27 17:43:13 -070059 -ggdb3 \
60 -Wall \
61 -Werror \
62 -Wextra \
63 -Wno-unused-parameter \
Elliott Hugheseaa200d2012-01-05 16:30:31 -080064 -Wstrict-aliasing=3 \
Carl Shapiro1fb86202011-06-27 17:43:13 -070065 -fno-align-jumps \
66 -fstrict-aliasing
67
Shih-wei Liaod1fec812012-02-13 09:51:10 -080068ifeq ($(ART_USE_LLVM_COMPILER),true)
69art_cflags := \
70 -DART_USE_LLVM_COMPILER=1
71endif
72
Brian Carlstrom69d7a6b2011-12-15 17:31:21 -080073ifeq ($(HOST_OS),linux)
Shih-wei Liao24782c62012-01-08 12:46:11 -080074 art_non_debug_cflags := \
Elliott Hughes3b6baaa2011-10-14 19:13:56 -070075 -Wframe-larger-than=1728
Brian Carlstrom69d7a6b2011-12-15 17:31:21 -080076endif
Elliott Hughes3b6baaa2011-10-14 19:13:56 -070077
78art_debug_cflags := \
Elliott Hughes06e3ad42012-02-07 14:51:57 -080079 -DDYNAMIC_ANNOTATIONS_ENABLED=1 \
Elliott Hughes3b6baaa2011-10-14 19:13:56 -070080 -UNDEBUG
81
Elliott Hughes1d3f1142011-09-13 12:00:00 -070082ART_HOST_CFLAGS := $(art_cflags) -DANDROID_SMP=1
83
84ART_TARGET_CFLAGS := $(art_cflags)
85ifeq ($(TARGET_CPU_SMP),true)
86 ART_TARGET_CFLAGS += -DANDROID_SMP=1
87else
88 ART_TARGET_CFLAGS += -DANDROID_SMP=0
89endif
90
Brian Carlstrom89521892011-12-07 22:05:07 -080091# To use oprofile_android --callgraph, uncomment this and recompile with "mmm art -B -j16"
92# ART_TARGET_CFLAGS += -fno-omit-frame-pointer -marm -mapcs
93
Elliott Hughes3b6baaa2011-10-14 19:13:56 -070094ART_HOST_NON_DEBUG_CFLAGS := $(art_non_debug_cflags)
95ART_TARGET_NON_DEBUG_CFLAGS := $(art_non_debug_cflags)
96
Brian Carlstrom86927212011-09-15 11:31:11 -070097# TODO: move -fkeep-inline-functions to art_debug_cflags when target gcc > 4.4
Elliott Hughes1ba27142012-01-20 15:32:00 -080098ART_HOST_DEBUG_CFLAGS := $(art_debug_cflags) -fkeep-inline-functions
Elliott Hughesad6c9c32012-01-19 17:39:12 -080099
100ifneq ($(HOST_OS),linux)
101 # Some Mac OS pthread header files are broken with -fkeep-inline-functions.
Elliott Hughes34cf5142012-01-20 16:39:13 -0800102 ART_HOST_DEBUG_CFLAGS := $(filter-out -fkeep-inline-functions,$(ART_HOST_DEBUG_CFLAGS))
Elliott Hughesad6c9c32012-01-19 17:39:12 -0800103endif
104
Brian Carlstrom86927212011-09-15 11:31:11 -0700105ART_TARGET_DEBUG_CFLAGS := $(art_debug_cflags)
Elliott Hughes1d3f1142011-09-13 12:00:00 -0700106
Brian Carlstrom69b15fb2011-09-03 12:25:21 -0700107DEX2OAT_SRC_FILES := \
108 src/dex2oat.cc
109
Brian Carlstrom78128a62011-09-15 17:21:19 -0700110OATDUMP_SRC_FILES := \
111 src/oatdump.cc
112
Brian Carlstrom69b15fb2011-09-03 12:25:21 -0700113OATEXEC_SRC_FILES := \
114 src/oatexec.cc
Carl Shapiro9bf84fd2011-06-17 17:05:25 -0700115
Brian Carlstrom934486c2011-07-12 23:42:50 -0700116LIBART_COMMON_SRC_FILES := \
Carl Shapiroa5d5cfd2011-06-21 12:46:59 -0700117 src/assembler.cc \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700118 src/assembler_arm.cc \
119 src/assembler_x86.cc \
Elliott Hughes5ea047b2011-09-13 14:38:18 -0700120 src/atomic.cc.arm \
Ian Rogersb033c752011-07-20 12:22:35 -0700121 src/calling_convention.cc \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700122 src/calling_convention_arm.cc \
123 src/calling_convention_x86.cc \
Ian Rogers5d76c432011-10-31 21:42:49 -0700124 src/card_table.cc \
Ian Rogersbdb03912011-09-14 00:55:44 -0700125 src/context.cc \
Elliott Hughes85d15452011-09-16 17:33:01 -0700126 src/context_arm.cc.arm \
127 src/context_x86.cc \
Elliott Hughesa2501992011-08-26 19:39:54 -0700128 src/check_jni.cc \
Carl Shapiro0e5d75d2011-07-06 18:28:37 -0700129 src/class_linker.cc \
Brian Carlstrom1f870082011-08-23 16:02:11 -0700130 src/class_loader.cc \
Brian Carlstrom3320cf42011-10-04 14:58:28 -0700131 src/compiled_method.cc \
Brian Carlstrom9ea1cb12011-08-24 23:18:18 -0700132 src/compiler.cc \
Brian Carlstromf91c8c32011-09-21 17:30:34 -0700133 src/dalvik_system_DexFile.cc \
Elliott Hughes01158d72011-09-19 19:47:10 -0700134 src/dalvik_system_VMDebug.cc \
Elliott Hughes7ede61e2011-09-14 18:18:06 -0700135 src/dalvik_system_VMRuntime.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700136 src/dalvik_system_VMStack.cc \
Elliott Hughes01158d72011-09-19 19:47:10 -0700137 src/dalvik_system_Zygote.cc \
Elliott Hughes872d4ec2011-10-21 17:07:15 -0700138 src/debugger.cc \
Brian Carlstrom7e49dca2011-07-22 18:07:34 -0700139 src/dex_cache.cc \
Carl Shapiro1fb86202011-06-27 17:43:13 -0700140 src/dex_file.cc \
jeffhao10037c82012-01-23 15:06:23 -0800141 src/dex_file_verifier.cc \
Carl Shapiro12eb78e2011-06-24 14:51:06 -0700142 src/dex_instruction.cc \
Carl Shapiro0e5d75d2011-07-06 18:28:37 -0700143 src/dex_verifier.cc \
Ian Rogers30fab402012-01-23 15:43:46 -0800144 src/dlmalloc.c \
Brian Carlstromdb4d5402011-08-09 12:18:28 -0700145 src/file.cc \
146 src/file_linux.cc \
Carl Shapiro69759ea2011-07-21 18:13:35 -0700147 src/heap.cc \
Elliott Hughes5e71b522011-10-20 13:12:32 -0700148 src/heap_bitmap.cc \
Jesse Wilsonc4824e62011-11-01 14:39:04 -0400149 src/hprof/hprof.cc \
Jesse Wilson0c54ac12011-11-09 15:14:05 -0500150 src/hprof/hprof_record.cc \
Brian Carlstrom4a289ed2011-08-16 17:17:49 -0700151 src/image.cc \
Brian Carlstromdb4d5402011-08-09 12:18:28 -0700152 src/image_writer.cc \
Elliott Hughes6c1a3942011-08-17 15:00:06 -0700153 src/indirect_reference_table.cc \
Brian Carlstrom7e93b502011-08-04 14:16:22 -0700154 src/intern_table.cc \
Elliott Hughesd369bb72011-09-12 14:41:14 -0700155 src/java_lang_Class.cc \
Elliott Hughesbf86d042011-08-31 17:53:14 -0700156 src/java_lang_Object.cc \
157 src/java_lang_Runtime.cc \
158 src/java_lang_String.cc \
159 src/java_lang_System.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700160 src/java_lang_Thread.cc \
Elliott Hughes1240dad2011-09-09 16:24:50 -0700161 src/java_lang_Throwable.cc \
Elliott Hughes64bf5a32011-09-20 14:43:12 -0700162 src/java_lang_VMClassLoader.cc \
Brian Carlstrom5b8e4c82011-09-18 01:38:59 -0700163 src/java_lang_reflect_Array.cc \
Elliott Hughes2a20cfd2011-09-23 19:30:41 -0700164 src/java_lang_reflect_Constructor.cc \
Brian Carlstromf867b6f2011-09-16 12:17:25 -0700165 src/java_lang_reflect_Field.cc \
166 src/java_lang_reflect_Method.cc \
Jesse Wilson95caa792011-10-12 18:14:17 -0400167 src/java_lang_reflect_Proxy.cc \
Elliott Hughesbf86d042011-08-31 17:53:14 -0700168 src/java_util_concurrent_atomic_AtomicLong.cc \
Elliott Hughes872d4ec2011-10-21 17:07:15 -0700169 src/jdwp/jdwp_constants.cc \
170 src/jdwp/jdwp_event.cc \
171 src/jdwp/jdwp_expand_buf.cc \
172 src/jdwp/jdwp_handler.cc \
173 src/jdwp/jdwp_main.cc \
174 src/jdwp/jdwp_socket.cc \
Ian Rogersb033c752011-07-20 12:22:35 -0700175 src/jni_compiler.cc \
Ian Rogersdf20fe02011-07-20 20:34:16 -0700176 src/jni_internal.cc \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700177 src/jni_internal_arm.cc \
178 src/jni_internal_x86.cc \
Elliott Hughes42ee1422011-09-06 12:33:32 -0700179 src/logging.cc \
Carl Shapiro69759ea2011-07-21 18:13:35 -0700180 src/mark_stack.cc \
181 src/mark_sweep.cc \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700182 src/managed_register_arm.cc \
183 src/managed_register_x86.cc \
Brian Carlstrom27ec9612011-09-19 20:20:38 -0700184 src/mem_map.cc \
Carl Shapiro1fb86202011-06-27 17:43:13 -0700185 src/memory_region.cc \
Elliott Hughes54e7df12011-09-16 11:47:04 -0700186 src/monitor.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700187 src/mutex.cc \
Brian Carlstrome24fa612011-09-29 00:53:55 -0700188 src/oat.cc \
189 src/oat_file.cc \
190 src/oat_writer.cc \
Carl Shapiro3ee755d2011-06-28 12:11:04 -0700191 src/object.cc \
Carl Shapiro69759ea2011-07-21 18:13:35 -0700192 src/offsets.cc \
Brian Carlstrom395520e2011-09-25 19:35:00 -0700193 src/org_apache_harmony_dalvik_ddmc_DdmServer.cc \
Elliott Hughesf6a1e1e2011-10-25 16:28:04 -0700194 src/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc \
Brian Carlstromdb4d5402011-08-09 12:18:28 -0700195 src/os_linux.cc \
Brian Carlstromae826982011-11-09 01:33:42 -0800196 src/primitive.cc \
Elliott Hughes11e45072011-08-16 17:40:46 -0700197 src/reference_table.cc \
Elliott Hughes418d20f2011-09-22 14:00:39 -0700198 src/reflection.cc \
Carl Shapirod4e48fd2011-06-30 18:53:29 -0700199 src/runtime.cc \
Elliott Hughese27955c2011-08-26 15:21:24 -0700200 src/signal_catcher.cc \
Carl Shapiro69759ea2011-07-21 18:13:35 -0700201 src/space.cc \
Elliott Hughes68e76522011-10-05 13:22:16 -0700202 src/stack.cc \
Carl Shapirob5573532011-07-12 18:22:59 -0700203 src/stringpiece.cc \
Elliott Hugheseb4f6142011-07-15 17:43:51 -0700204 src/stringprintf.cc \
Shih-wei Liao31384c52011-09-06 15:27:45 -0700205 src/stub_arm.cc \
206 src/stub_x86.cc \
Elliott Hughes5ee7a8b2011-09-13 16:40:07 -0700207 src/sun_misc_Unsafe.cc \
Brian Carlstromb0460ea2011-07-29 10:08:05 -0700208 src/thread.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700209 src/thread_list.cc \
jeffhaoe343b762011-12-05 16:36:44 -0800210 src/trace.cc \
Shih-wei Liao2d831012011-09-28 22:06:53 -0700211 src/runtime_support.cc \
Elliott Hughes814e4032011-08-23 12:07:56 -0700212 src/utf.cc \
Elliott Hughes11e45072011-08-16 17:40:46 -0700213 src/utils.cc \
Elliott Hughes5c9f0b42011-12-15 18:15:46 -0800214 src/zip_archive.cc
Carl Shapiroa5d5cfd2011-06-21 12:46:59 -0700215
Shih-wei Liaod1fec812012-02-13 09:51:10 -0800216ifeq ($(ART_USE_LLVM_COMPILER),true)
217LIBART_COMMON_SRC_FILES += \
218 src/compiler_llvm/compiler_llvm.cc \
219 src/compiler_llvm/frontend.cc \
220 src/compiler_llvm/ir_builder.cc \
221 src/compiler_llvm/method_compiler.cc
222else
223LIBART_COMMON_SRC_FILES += \
224 src/compiler/Dataflow.cc \
225 src/compiler/Frontend.cc \
226 src/compiler/IntermediateRep.cc \
227 src/compiler/Ralloc.cc \
228 src/compiler/SSATransformation.cc \
229 src/compiler/Utility.cc \
230 src/compiler/codegen/RallocUtil.cc \
231 src/compiler/codegen/arm/ArchUtility.cc \
232 src/compiler/codegen/arm/ArmRallocUtil.cc \
233 src/compiler/codegen/arm/Assemble.cc \
234 src/compiler/codegen/arm/LocalOptimizations.cc \
235 src/compiler/codegen/arm/armv7-a/Codegen.cc
236endif
237
Brian Carlstrom934486c2011-07-12 23:42:50 -0700238LIBART_TARGET_SRC_FILES := \
239 $(LIBART_COMMON_SRC_FILES) \
Elliott Hughes872d4ec2011-10-21 17:07:15 -0700240 src/jdwp/jdwp_adb.cc \
Elliott Hughesffe67362011-07-17 12:09:27 -0700241 src/logging_android.cc \
Elliott Hughesfc861622011-10-17 17:57:47 -0700242 src/monitor_android.cc \
Ian Rogersb033c752011-07-20 12:22:35 -0700243 src/runtime_android.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700244 src/thread_android.cc \
Elliott Hughes5c9f0b42011-12-15 18:15:46 -0800245 src/thread_arm.cc \
246 src/runtime_support_arm.S
Carl Shapiroa5d5cfd2011-06-21 12:46:59 -0700247
Brian Carlstrom934486c2011-07-12 23:42:50 -0700248LIBART_HOST_SRC_FILES := \
249 $(LIBART_COMMON_SRC_FILES) \
Elliott Hughesffe67362011-07-17 12:09:27 -0700250 src/logging_linux.cc \
Elliott Hughesfc861622011-10-17 17:57:47 -0700251 src/monitor_linux.cc \
Ian Rogersb033c752011-07-20 12:22:35 -0700252 src/runtime_linux.cc \
Elliott Hughes8daa0922011-09-11 13:46:25 -0700253 src/thread_linux.cc \
Elliott Hughes5c9f0b42011-12-15 18:15:46 -0800254 src/thread_x86.cc \
255 src/runtime_support_x86.S
Jesse Wilsonc981ace2011-06-22 14:17:14 -0700256
Brian Carlstromcdc8de42011-07-19 14:23:17 -0700257LIBARTTEST_COMMON_SRC_FILES := \
Shih-wei Liaoa6af3c32011-10-17 15:25:11 -0700258 test/StackWalk/stack_walk_jni.cc \
259 test/ReferenceMap/stack_walk_refmap_jni.cc
Brian Carlstromcdc8de42011-07-19 14:23:17 -0700260
Brian Carlstrom934486c2011-07-12 23:42:50 -0700261TEST_COMMON_SRC_FILES := \
Carl Shapiro0e5d75d2011-07-06 18:28:37 -0700262 src/class_linker_test.cc \
Brian Carlstromaded5f72011-10-07 17:15:04 -0700263 src/compiler_test.cc \
Brian Carlstrom7e49dca2011-07-22 18:07:34 -0700264 src/dex_cache_test.cc \
Carl Shapiro1fb86202011-06-27 17:43:13 -0700265 src/dex_file_test.cc \
266 src/dex_instruction_visitor_test.cc \
jeffhaoba5ebb92011-08-25 17:24:37 -0700267 src/dex_verifier_test.cc \
Shih-wei Liao2fb97532011-08-11 16:17:23 -0700268 src/exception_test.cc \
Brian Carlstromdb4d5402011-08-09 12:18:28 -0700269 src/file_test.cc \
Brian Carlstrom1f870082011-08-23 16:02:11 -0700270 src/heap_test.cc \
Brian Carlstromdb4d5402011-08-09 12:18:28 -0700271 src/image_test.cc \
Elliott Hughes6c1a3942011-08-17 15:00:06 -0700272 src/indirect_reference_table_test.cc \
Brian Carlstrom7e93b502011-08-04 14:16:22 -0700273 src/intern_table_test.cc \
Ian Rogerscd2764f2011-09-02 15:38:24 -0700274 src/jni_internal_test.cc \
275 src/jni_compiler_test.cc \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700276 src/managed_register_arm_test.cc \
277 src/managed_register_x86_test.cc \
Brian Carlstromcd74c4b2012-01-23 13:21:00 -0800278 src/mutex_test.cc \
Brian Carlstrome24fa612011-09-29 00:53:55 -0700279 src/oat_test.cc \
Carl Shapiro894d0fa2011-06-30 14:48:49 -0700280 src/object_test.cc \
Elliott Hughes11e45072011-08-16 17:40:46 -0700281 src/reference_table_test.cc \
Carl Shapirofc322c72011-07-27 00:20:01 -0700282 src/runtime_test.cc \
Brian Carlstromb0460ea2011-07-29 10:08:05 -0700283 src/space_test.cc \
Elliott Hughes11e45072011-08-16 17:40:46 -0700284 src/utils_test.cc \
Brian Carlstromaded5f72011-10-07 17:15:04 -0700285 src/zip_archive_test.cc
Jesse Wilsonc981ace2011-06-22 14:17:14 -0700286
Brian Carlstrom934486c2011-07-12 23:42:50 -0700287TEST_TARGET_SRC_FILES := \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700288 $(TEST_COMMON_SRC_FILES)
Carl Shapiro008e4122011-06-23 17:27:46 -0700289
Brian Carlstrom934486c2011-07-12 23:42:50 -0700290TEST_HOST_SRC_FILES := \
291 $(TEST_COMMON_SRC_FILES) \
Ian Rogers2c8f6532011-09-02 17:16:34 -0700292 src/assembler_x86_test.cc
Brian Carlstrom9f30b382011-08-28 22:41:38 -0700293
Brian Carlstrom32b4b2a2012-01-31 16:21:40 -0800294# subdirectories of test/ which are used as inputs for gtests
Brian Carlstrom9f30b382011-08-28 22:41:38 -0700295TEST_DEX_DIRECTORIES := \
Shih-wei Liao303b01e2011-09-14 00:46:13 -0700296 AbstractMethod \
Brian Carlstrom9f30b382011-08-28 22:41:38 -0700297 AllFields \
Ian Rogers0571d352011-11-03 19:51:38 -0700298 CreateMethodSignature \
Brian Carlstrom33f741e2011-10-03 11:24:05 -0700299 ExceptionHandle \
Brian Carlstrom9f30b382011-08-28 22:41:38 -0700300 IntMath \
301 Interfaces \
302 Main \
303 MyClass \
304 MyClassNatives \
305 Nested \
306 ProtoCompare \
307 ProtoCompare2 \
308 StaticLeafMethods \
309 Statics \
jeffhaoabcfde32011-09-29 15:05:18 -0700310 StaticsFromCode \
Brian Carlstrom9f30b382011-08-28 22:41:38 -0700311 XandY
Brian Carlstrom4b620ff2011-09-11 01:11:01 -0700312
Brian Carlstrom32b4b2a2012-01-31 16:21:40 -0800313# subdirectories of test/ which are used with test-art-target-oat
314# Declare the simplest tests (Main, HelloWorld, and Fibonacci) first, the rest are alphabetical
315TEST_OAT_DIRECTORIES := \
316 Main \
317 HelloWorld \
318 Fibonacci \
319 \
320 ExceptionTest \
321 GrowthLimit \
322 IntMath \
323 Invoke \
324 MemUsage \
325 ParallelGC \
326 ReferenceMap \
327 ReflectionTest \
328 StackWalk \
329 ThreadStress
330
331# TODO: Enable when the StackWalk2 tests are passing
332# StackWalk2 \
333
Brian Carlstrom4b620ff2011-09-11 01:11:01 -0700334ART_BUILD_TARGET := false
335ART_BUILD_HOST := false
336ifeq ($(ART_BUILD_TARGET_NDEBUG),true)
337 ART_BUILD_TARGET := true
338endif
339ifeq ($(ART_BUILD_TARGET_DEBUG),true)
340 ART_BUILD_TARGET := true
341endif
342ifeq ($(ART_BUILD_HOST_NDEBUG),true)
343 ART_BUILD_HOST := true
344endif
345ifeq ($(ART_BUILD_HOST_DEBUG),true)
346 ART_BUILD_HOST := true
347endif