Android.mk revision aaebaa0121be3b9d9f13630585304482cbcaeb4b
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 17LOCAL_PATH := $(call my-dir) 18 19include art/build/Android.common_build.mk 20 21LIBART_COMMON_SRC_FILES := \ 22 atomic.cc.arm \ 23 barrier.cc \ 24 base/allocator.cc \ 25 base/bit_vector.cc \ 26 base/hex_dump.cc \ 27 base/logging.cc \ 28 base/mutex.cc \ 29 base/scoped_flock.cc \ 30 base/stringpiece.cc \ 31 base/stringprintf.cc \ 32 base/timing_logger.cc \ 33 base/unix_file/fd_file.cc \ 34 base/unix_file/random_access_file_utils.cc \ 35 check_jni.cc \ 36 class_linker.cc \ 37 common_throws.cc \ 38 debugger.cc \ 39 dex_file.cc \ 40 dex_file_verifier.cc \ 41 dex_instruction.cc \ 42 elf_file.cc \ 43 gc/allocator/dlmalloc.cc \ 44 gc/allocator/rosalloc.cc \ 45 gc/accounting/card_table.cc \ 46 gc/accounting/heap_bitmap.cc \ 47 gc/accounting/mod_union_table.cc \ 48 gc/accounting/remembered_set.cc \ 49 gc/accounting/space_bitmap.cc \ 50 gc/collector/concurrent_copying.cc \ 51 gc/collector/garbage_collector.cc \ 52 gc/collector/immune_region.cc \ 53 gc/collector/mark_compact.cc \ 54 gc/collector/mark_sweep.cc \ 55 gc/collector/partial_mark_sweep.cc \ 56 gc/collector/semi_space.cc \ 57 gc/collector/sticky_mark_sweep.cc \ 58 gc/gc_cause.cc \ 59 gc/heap.cc \ 60 gc/reference_processor.cc \ 61 gc/reference_queue.cc \ 62 gc/space/bump_pointer_space.cc \ 63 gc/space/dlmalloc_space.cc \ 64 gc/space/image_space.cc \ 65 gc/space/large_object_space.cc \ 66 gc/space/malloc_space.cc \ 67 gc/space/region_space.cc \ 68 gc/space/rosalloc_space.cc \ 69 gc/space/space.cc \ 70 gc/space/zygote_space.cc \ 71 gc/task_processor.cc \ 72 hprof/hprof.cc \ 73 image.cc \ 74 indirect_reference_table.cc \ 75 instrumentation.cc \ 76 intern_table.cc \ 77 interpreter/interpreter.cc \ 78 interpreter/interpreter_common.cc \ 79 interpreter/interpreter_switch_impl.cc \ 80 java_vm_ext.cc \ 81 jdwp/jdwp_event.cc \ 82 jdwp/jdwp_expand_buf.cc \ 83 jdwp/jdwp_handler.cc \ 84 jdwp/jdwp_main.cc \ 85 jdwp/jdwp_request.cc \ 86 jdwp/jdwp_socket.cc \ 87 jdwp/object_registry.cc \ 88 jni_env_ext.cc \ 89 jni_internal.cc \ 90 jobject_comparator.cc \ 91 mem_map.cc \ 92 memory_region.cc \ 93 mirror/art_field.cc \ 94 mirror/art_method.cc \ 95 mirror/array.cc \ 96 mirror/class.cc \ 97 mirror/dex_cache.cc \ 98 mirror/object.cc \ 99 mirror/reference.cc \ 100 mirror/stack_trace_element.cc \ 101 mirror/string.cc \ 102 mirror/throwable.cc \ 103 monitor.cc \ 104 native_bridge_art_interface.cc \ 105 native/dalvik_system_DexFile.cc \ 106 native/dalvik_system_VMDebug.cc \ 107 native/dalvik_system_VMRuntime.cc \ 108 native/dalvik_system_VMStack.cc \ 109 native/dalvik_system_ZygoteHooks.cc \ 110 native/java_lang_Class.cc \ 111 native/java_lang_DexCache.cc \ 112 native/java_lang_Object.cc \ 113 native/java_lang_Runtime.cc \ 114 native/java_lang_String.cc \ 115 native/java_lang_System.cc \ 116 native/java_lang_Thread.cc \ 117 native/java_lang_Throwable.cc \ 118 native/java_lang_VMClassLoader.cc \ 119 native/java_lang_ref_FinalizerReference.cc \ 120 native/java_lang_ref_Reference.cc \ 121 native/java_lang_reflect_Array.cc \ 122 native/java_lang_reflect_Constructor.cc \ 123 native/java_lang_reflect_Field.cc \ 124 native/java_lang_reflect_Method.cc \ 125 native/java_lang_reflect_Proxy.cc \ 126 native/java_util_concurrent_atomic_AtomicLong.cc \ 127 native/org_apache_harmony_dalvik_ddmc_DdmServer.cc \ 128 native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc \ 129 native/sun_misc_Unsafe.cc \ 130 oat.cc \ 131 oat_file.cc \ 132 object_lock.cc \ 133 offsets.cc \ 134 os_linux.cc \ 135 parsed_options.cc \ 136 primitive.cc \ 137 quick_exception_handler.cc \ 138 quick/inline_method_analyser.cc \ 139 reference_table.cc \ 140 reflection.cc \ 141 runtime.cc \ 142 runtime_options.cc \ 143 signal_catcher.cc \ 144 stack.cc \ 145 thread.cc \ 146 thread_list.cc \ 147 thread_pool.cc \ 148 throw_location.cc \ 149 trace.cc \ 150 transaction.cc \ 151 profiler.cc \ 152 fault_handler.cc \ 153 utf.cc \ 154 utils.cc \ 155 verifier/dex_gc_map.cc \ 156 verifier/instruction_flags.cc \ 157 verifier/method_verifier.cc \ 158 verifier/reg_type.cc \ 159 verifier/reg_type_cache.cc \ 160 verifier/register_line.cc \ 161 well_known_classes.cc \ 162 zip_archive.cc 163 164LIBART_COMMON_SRC_FILES += \ 165 arch/context.cc \ 166 arch/instruction_set.cc \ 167 arch/instruction_set_features.cc \ 168 arch/memcmp16.cc \ 169 arch/arm/instruction_set_features_arm.cc \ 170 arch/arm/registers_arm.cc \ 171 arch/arm64/instruction_set_features_arm64.cc \ 172 arch/arm64/registers_arm64.cc \ 173 arch/mips/instruction_set_features_mips.cc \ 174 arch/mips/registers_mips.cc \ 175 arch/mips64/instruction_set_features_mips64.cc \ 176 arch/mips64/registers_mips64.cc \ 177 arch/x86/instruction_set_features_x86.cc \ 178 arch/x86/registers_x86.cc \ 179 arch/x86_64/registers_x86_64.cc \ 180 entrypoints/entrypoint_utils.cc \ 181 entrypoints/interpreter/interpreter_entrypoints.cc \ 182 entrypoints/jni/jni_entrypoints.cc \ 183 entrypoints/math_entrypoints.cc \ 184 entrypoints/quick/quick_alloc_entrypoints.cc \ 185 entrypoints/quick/quick_cast_entrypoints.cc \ 186 entrypoints/quick/quick_deoptimization_entrypoints.cc \ 187 entrypoints/quick/quick_dexcache_entrypoints.cc \ 188 entrypoints/quick/quick_field_entrypoints.cc \ 189 entrypoints/quick/quick_fillarray_entrypoints.cc \ 190 entrypoints/quick/quick_instrumentation_entrypoints.cc \ 191 entrypoints/quick/quick_jni_entrypoints.cc \ 192 entrypoints/quick/quick_lock_entrypoints.cc \ 193 entrypoints/quick/quick_math_entrypoints.cc \ 194 entrypoints/quick/quick_thread_entrypoints.cc \ 195 entrypoints/quick/quick_throw_entrypoints.cc \ 196 entrypoints/quick/quick_trampoline_entrypoints.cc 197 198# Source files that only compile with GCC. 199LIBART_GCC_ONLY_SRC_FILES := \ 200 interpreter/interpreter_goto_table_impl.cc 201 202LIBART_TARGET_LDFLAGS := 203LIBART_HOST_LDFLAGS := 204 205LIBART_TARGET_SRC_FILES := \ 206 $(LIBART_COMMON_SRC_FILES) \ 207 jdwp/jdwp_adb.cc \ 208 monitor_android.cc \ 209 runtime_android.cc \ 210 thread_android.cc 211 212LIBART_TARGET_SRC_FILES_arm := \ 213 arch/arm/context_arm.cc.arm \ 214 arch/arm/entrypoints_init_arm.cc \ 215 arch/arm/instruction_set_features_assembly_tests.S \ 216 arch/arm/jni_entrypoints_arm.S \ 217 arch/arm/memcmp16_arm.S \ 218 arch/arm/quick_entrypoints_arm.S \ 219 arch/arm/quick_entrypoints_cc_arm.cc \ 220 arch/arm/thread_arm.cc \ 221 arch/arm/fault_handler_arm.cc 222 223LIBART_TARGET_SRC_FILES_arm64 := \ 224 arch/arm64/context_arm64.cc \ 225 arch/arm64/entrypoints_init_arm64.cc \ 226 arch/arm64/jni_entrypoints_arm64.S \ 227 arch/arm64/memcmp16_arm64.S \ 228 arch/arm64/quick_entrypoints_arm64.S \ 229 arch/arm64/thread_arm64.cc \ 230 monitor_pool.cc \ 231 arch/arm64/fault_handler_arm64.cc 232 233LIBART_SRC_FILES_x86 := \ 234 arch/x86/context_x86.cc \ 235 arch/x86/entrypoints_init_x86.cc \ 236 arch/x86/jni_entrypoints_x86.S \ 237 arch/x86/memcmp16_x86.S \ 238 arch/x86/quick_entrypoints_x86.S \ 239 arch/x86/thread_x86.cc \ 240 arch/x86/fault_handler_x86.cc 241 242LIBART_TARGET_SRC_FILES_x86 := \ 243 $(LIBART_SRC_FILES_x86) 244 245# Note that the fault_handler_x86.cc is not a mistake. This file is 246# shared between the x86 and x86_64 architectures. 247LIBART_SRC_FILES_x86_64 := \ 248 arch/x86_64/context_x86_64.cc \ 249 arch/x86_64/entrypoints_init_x86_64.cc \ 250 arch/x86_64/jni_entrypoints_x86_64.S \ 251 arch/x86_64/memcmp16_x86_64.S \ 252 arch/x86_64/quick_entrypoints_x86_64.S \ 253 arch/x86_64/thread_x86_64.cc \ 254 monitor_pool.cc \ 255 arch/x86/fault_handler_x86.cc 256 257LIBART_TARGET_SRC_FILES_x86_64 := \ 258 $(LIBART_SRC_FILES_x86_64) \ 259 260LIBART_TARGET_SRC_FILES_mips := \ 261 arch/mips/context_mips.cc \ 262 arch/mips/entrypoints_init_mips.cc \ 263 arch/mips/jni_entrypoints_mips.S \ 264 arch/mips/memcmp16_mips.S \ 265 arch/mips/quick_entrypoints_mips.S \ 266 arch/mips/thread_mips.cc \ 267 arch/mips/fault_handler_mips.cc 268 269LIBART_TARGET_SRC_FILES_mips64 := \ 270 arch/mips64/context_mips64.cc \ 271 arch/mips64/entrypoints_init_mips64.cc \ 272 arch/mips64/jni_entrypoints_mips64.S \ 273 arch/mips64/memcmp16_mips64.S \ 274 arch/mips64/quick_entrypoints_mips64.S \ 275 arch/mips64/thread_mips64.cc \ 276 monitor_pool.cc \ 277 arch/mips64/fault_handler_mips64.cc 278 279LIBART_HOST_SRC_FILES := \ 280 $(LIBART_COMMON_SRC_FILES) \ 281 monitor_linux.cc \ 282 runtime_linux.cc \ 283 thread_linux.cc 284 285LIBART_HOST_SRC_FILES_32 := \ 286 $(LIBART_SRC_FILES_x86) 287 288LIBART_HOST_SRC_FILES_64 := \ 289 $(LIBART_SRC_FILES_x86_64) 290 291LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \ 292 arch/instruction_set.h \ 293 base/allocator.h \ 294 base/mutex.h \ 295 debugger.h \ 296 base/unix_file/fd_file.h \ 297 dex_file.h \ 298 dex_instruction.h \ 299 gc_root.h \ 300 gc/allocator/rosalloc.h \ 301 gc/collector/gc_type.h \ 302 gc/allocator_type.h \ 303 gc/collector_type.h \ 304 gc/space/space.h \ 305 gc/heap.h \ 306 instrumentation.h \ 307 indirect_reference_table.h \ 308 invoke_type.h \ 309 jdwp/jdwp.h \ 310 jdwp/jdwp_constants.h \ 311 lock_word.h \ 312 mirror/class.h \ 313 oat.h \ 314 object_callbacks.h \ 315 profiler_options.h \ 316 quick/inline_method_analyser.h \ 317 runtime.h \ 318 stack.h \ 319 thread.h \ 320 thread_state.h \ 321 verifier/method_verifier.h 322 323LIBART_CFLAGS := -DBUILDING_LIBART=1 324 325ifeq ($(MALLOC_IMPL),dlmalloc) 326 LIBART_CFLAGS += -DUSE_DLMALLOC 327else 328 LIBART_CFLAGS += -DUSE_JEMALLOC 329endif 330 331# Default dex2oat instruction set features. 332LIBART_HOST_DEFAULT_INSTRUCTION_SET_FEATURES := default 333LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := default 3342ND_LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := default 335ifeq ($(DEX2OAT_TARGET_ARCH),arm) 336 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a15 krait denver)) 337 LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := atomic_ldrd_strd,div 338 else 339 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a7)) 340 LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := div 341 endif 342 endif 343endif 344ifeq ($(2ND_DEX2OAT_TARGET_ARCH),arm) 345 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a15 krait denver)) 346 2ND_LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := atomic_ldrd_strd,div 347 else 348 ifneq (,$(filter $(DEX2OAT_TARGET_CPU_VARIANT),cortex-a7)) 349 2ND_LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := div 350 endif 351 endif 352endif 353 354# $(1): target or host 355# $(2): ndebug or debug 356define build-libart 357 ifneq ($(1),target) 358 ifneq ($(1),host) 359 $$(error expected target or host for argument 1, received $(1)) 360 endif 361 endif 362 ifneq ($(2),ndebug) 363 ifneq ($(2),debug) 364 $$(error expected ndebug or debug for argument 2, received $(2)) 365 endif 366 endif 367 368 art_target_or_host := $(1) 369 art_ndebug_or_debug := $(2) 370 371 include $$(CLEAR_VARS) 372 # Clang assembler has problem with macros in asm_support_x86.S, http://b/17443165, 373 # on linux. Yet sdk on mac needs integrated assembler. 374 ifeq ($$(HOST_OS),darwin) 375 LOCAL_CLANG_ASFLAGS += -integrated-as 376 else 377 LOCAL_CLANG_ASFLAGS += -no-integrated-as 378 endif 379 LOCAL_CPP_EXTENSION := $$(ART_CPP_EXTENSION) 380 ifeq ($$(art_ndebug_or_debug),ndebug) 381 LOCAL_MODULE := libart 382 ifeq ($$(art_target_or_host),target) 383 LOCAL_FDO_SUPPORT := true 384 endif 385 else # debug 386 LOCAL_MODULE := libartd 387 endif 388 389 LOCAL_MODULE_TAGS := optional 390 LOCAL_MODULE_CLASS := SHARED_LIBRARIES 391 392 ifeq ($$(art_target_or_host),target) 393 LOCAL_SRC_FILES := $$(LIBART_TARGET_SRC_FILES) 394 $$(foreach arch,$$(ART_TARGET_SUPPORTED_ARCH), \ 395 $$(eval LOCAL_SRC_FILES_$$(arch) := $$$$(LIBART_TARGET_SRC_FILES_$$(arch)))) 396 else # host 397 LOCAL_SRC_FILES := $$(LIBART_HOST_SRC_FILES) 398 LOCAL_SRC_FILES_32 := $$(LIBART_HOST_SRC_FILES_32) 399 LOCAL_SRC_FILES_64 := $$(LIBART_HOST_SRC_FILES_64) 400 LOCAL_IS_HOST_MODULE := true 401 endif 402 403 GENERATED_SRC_DIR := $$(call local-generated-sources-dir) 404 ENUM_OPERATOR_OUT_CC_FILES := $$(patsubst %.h,%_operator_out.cc,$$(LIBART_ENUM_OPERATOR_OUT_HEADER_FILES)) 405 ENUM_OPERATOR_OUT_GEN := $$(addprefix $$(GENERATED_SRC_DIR)/,$$(ENUM_OPERATOR_OUT_CC_FILES)) 406 407$$(ENUM_OPERATOR_OUT_GEN): art/tools/generate-operator-out.py 408$$(ENUM_OPERATOR_OUT_GEN): PRIVATE_CUSTOM_TOOL = art/tools/generate-operator-out.py $(LOCAL_PATH) $$< > $$@ 409$$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : $(LOCAL_PATH)/%.h 410 $$(transform-generated-source) 411 412 LOCAL_GENERATED_SOURCES += $$(ENUM_OPERATOR_OUT_GEN) 413 414 LOCAL_CFLAGS := $$(LIBART_CFLAGS) 415 LOCAL_LDFLAGS := $$(LIBART_LDFLAGS) 416 ifeq ($$(art_target_or_host),target) 417 LOCAL_LDFLAGS += $$(LIBART_TARGET_LDFLAGS) 418 else 419 LOCAL_LDFLAGS += $$(LIBART_HOST_LDFLAGS) 420 endif 421 $$(foreach arch,$$(ART_TARGET_SUPPORTED_ARCH), \ 422 $$(eval LOCAL_LDFLAGS_$$(arch) := $$(LIBART_TARGET_LDFLAGS_$$(arch)))) 423 424 # Clang usage 425 ifeq ($$(art_target_or_host),target) 426 $$(eval $$(call set-target-local-clang-vars)) 427 $$(eval $$(call set-target-local-cflags-vars,$(2))) 428 LOCAL_CFLAGS_$(DEX2OAT_TARGET_ARCH) += -DART_DEFAULT_INSTRUCTION_SET_FEATURES="$(LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES)" 429 LOCAL_CFLAGS_$(2ND_DEX2OAT_TARGET_ARCH) += -DART_DEFAULT_INSTRUCTION_SET_FEATURES="$(2ND_LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES)" 430 431 # TODO: Loop with ifeq, ART_TARGET_CLANG 432 ifneq ($$(ART_TARGET_CLANG_$$(TARGET_ARCH)),true) 433 LOCAL_SRC_FILES_$$(TARGET_ARCH) += $$(LIBART_GCC_ONLY_SRC_FILES) 434 endif 435 ifneq ($$(ART_TARGET_CLANG_$$(TARGET_2ND_ARCH)),true) 436 LOCAL_SRC_FILES_$$(TARGET_2ND_ARCH) += $$(LIBART_GCC_ONLY_SRC_FILES) 437 endif 438 else # host 439 ifneq ($$(ART_HOST_CLANG),true) 440 # Add files only built with GCC on the host. 441 LOCAL_SRC_FILES += $$(LIBART_GCC_ONLY_SRC_FILES) 442 endif 443 LOCAL_CLANG := $$(ART_HOST_CLANG) 444 LOCAL_LDLIBS := $$(ART_HOST_LDLIBS) 445 LOCAL_LDLIBS += -ldl -lpthread 446 ifeq ($$(HOST_OS),linux) 447 LOCAL_LDLIBS += -lrt 448 endif 449 LOCAL_CFLAGS += $$(ART_HOST_CFLAGS) 450 LOCAL_CFLAGS += -DART_DEFAULT_INSTRUCTION_SET_FEATURES="$(LIBART_HOST_DEFAULT_INSTRUCTION_SET_FEATURES)" 451 452 ifeq ($$(art_ndebug_or_debug),debug) 453 LOCAL_CFLAGS += $$(ART_HOST_DEBUG_CFLAGS) 454 else 455 LOCAL_CFLAGS += $$(ART_HOST_NON_DEBUG_CFLAGS) 456 endif 457 LOCAL_MULTILIB := both 458 endif 459 460 LOCAL_C_INCLUDES += $$(ART_C_INCLUDES) 461 LOCAL_C_INCLUDES += art/cmdline 462 LOCAL_C_INCLUDES += art/sigchainlib 463 LOCAL_C_INCLUDES += art 464 465 LOCAL_SHARED_LIBRARIES := libnativehelper libnativebridge libsigchain 466 LOCAL_SHARED_LIBRARIES += libbacktrace 467 ifeq ($$(art_target_or_host),target) 468 LOCAL_SHARED_LIBRARIES += libdl 469 # ZipArchive support, the order matters here to get all symbols. 470 LOCAL_STATIC_LIBRARIES := libziparchive libz 471 # For android::FileMap used by libziparchive. 472 LOCAL_SHARED_LIBRARIES += libutils 473 # For liblog, atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted. 474 LOCAL_SHARED_LIBRARIES += libcutils 475 else # host 476 LOCAL_SHARED_LIBRARIES += libziparchive-host 477 # For ashmem_create_region. 478 LOCAL_STATIC_LIBRARIES += libcutils 479 endif 480 LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common_build.mk 481 LOCAL_ADDITIONAL_DEPENDENCIES += $$(LOCAL_PATH)/Android.mk 482 483 ifeq ($$(art_target_or_host),target) 484 LOCAL_MODULE_TARGET_ARCH := $$(ART_TARGET_SUPPORTED_ARCH) 485 endif 486 487 LOCAL_NATIVE_COVERAGE := $(ART_COVERAGE) 488 489 ifeq ($$(art_target_or_host),target) 490 ifneq ($$(art_ndebug_or_debug),debug) 491 # Leave the symbols in the shared library so that stack unwinders can 492 # produce meaningful name resolution. 493 LOCAL_STRIP_MODULE := keep_symbols 494 endif 495 include $$(BUILD_SHARED_LIBRARY) 496 else # host 497 include $$(BUILD_HOST_SHARED_LIBRARY) 498 endif 499 500 # Clear locally defined variables. 501 GENERATED_SRC_DIR := 502 ENUM_OPERATOR_OUT_CC_FILES := 503 ENUM_OPERATOR_OUT_GEN := 504 art_target_or_host := 505 art_ndebug_or_debug := 506endef 507 508# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since 509# they are used to cross compile for the target. 510ifeq ($(ART_BUILD_HOST_NDEBUG),true) 511 $(eval $(call build-libart,host,ndebug)) 512endif 513ifeq ($(ART_BUILD_HOST_DEBUG),true) 514 $(eval $(call build-libart,host,debug)) 515endif 516 517ifeq ($(ART_BUILD_TARGET_NDEBUG),true) 518# $(error $(call build-libart,target,ndebug)) 519 $(eval $(call build-libart,target,ndebug)) 520endif 521ifeq ($(ART_BUILD_TARGET_DEBUG),true) 522 $(eval $(call build-libart,target,debug)) 523endif 524 525# Clear locally defined variables. 526LOCAL_PATH := 527LIBART_COMMON_SRC_FILES := 528LIBART_GCC_ONLY_SRC_FILES := 529LIBART_HOST_DEFAULT_INSTRUCTION_SET_FEATURES := 530LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := 5312ND_LIBART_TARGET_DEFAULT_INSTRUCTION_SET_FEATURES := 532LIBART_TARGET_LDFLAGS := 533LIBART_HOST_LDFLAGS := 534LIBART_TARGET_SRC_FILES := 535LIBART_TARGET_SRC_FILES_arm := 536LIBART_TARGET_SRC_FILES_arm64 := 537LIBART_TARGET_SRC_FILES_x86 := 538LIBART_TARGET_SRC_FILES_x86_64 := 539LIBART_TARGET_SRC_FILES_mips := 540LIBART_TARGET_SRC_FILES_mips64 := 541LIBART_HOST_SRC_FILES := 542LIBART_HOST_SRC_FILES_32 := 543LIBART_HOST_SRC_FILES_64 := 544LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := 545LIBART_CFLAGS := 546build-libart := 547