diff options
author | 2013-07-12 13:46:57 -0700 | |
---|---|---|
committer | 2013-07-12 17:49:01 -0700 | |
commit | 7940e44f4517de5e2634a7e07d58d0fb26160513 (patch) | |
tree | ac90242d96229a6942f6e24ab137bc1f8f2e0025 | |
parent | 5cd9e3b122f276f610980cbaf0d2ad6ed4cd9088 (diff) |
Create separate Android.mk for main build targets
The runtime, compiler, dex2oat, and oatdump now are in seperate trees
to prevent dependency creep. They can now be individually built
without rebuilding the rest of the art projects. dalvikvm and jdwpspy
were already this way. Builds in the art directory should behave as
before, building everything including tests.
Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81
-rw-r--r-- | Android.mk | 54 | ||||
-rw-r--r-- | build/Android.common.mk | 49 | ||||
-rw-r--r-- | build/Android.executable.mk | 60 | ||||
-rw-r--r-- | build/Android.gtest.mk | 90 | ||||
-rw-r--r-- | build/Android.libart.mk | 371 | ||||
-rw-r--r-- | build/Android.libarttest.mk | 2 | ||||
-rw-r--r-- | build/Android.oattest.mk | 138 | ||||
-rw-r--r-- | compiler/Android.mk (renamed from build/Android.libart-compiler.mk) | 159 | ||||
-rw-r--r-- | compiler/dex/arena_allocator.cc (renamed from src/compiler/dex/arena_allocator.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/arena_allocator.h (renamed from src/compiler/dex/arena_allocator.h) | 0 | ||||
-rw-r--r-- | compiler/dex/arena_bit_vector.cc (renamed from src/compiler/dex/arena_bit_vector.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/arena_bit_vector.h (renamed from src/compiler/dex/arena_bit_vector.h) | 0 | ||||
-rw-r--r-- | compiler/dex/backend.h (renamed from src/compiler/dex/backend.h) | 0 | ||||
-rw-r--r-- | compiler/dex/compiler_enums.h (renamed from src/compiler/dex/compiler_enums.h) | 0 | ||||
-rw-r--r-- | compiler/dex/compiler_internals.h (renamed from src/compiler/dex/compiler_internals.h) | 2 | ||||
-rw-r--r-- | compiler/dex/compiler_ir.h (renamed from src/compiler/dex/compiler_ir.h) | 12 | ||||
-rw-r--r-- | compiler/dex/dataflow_iterator-inl.h (renamed from src/compiler/dex/dataflow_iterator-inl.h) | 0 | ||||
-rw-r--r-- | compiler/dex/dataflow_iterator.h (renamed from src/compiler/dex/dataflow_iterator.h) | 0 | ||||
-rw-r--r-- | compiler/dex/dex_to_dex_compiler.cc (renamed from src/compiler/dex/dex_to_dex_compiler.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/frontend.cc (renamed from src/compiler/dex/frontend.cc) | 11 | ||||
-rw-r--r-- | compiler/dex/frontend.h (renamed from src/compiler/dex/frontend.h) | 0 | ||||
-rw-r--r-- | compiler/dex/growable_array.h (renamed from src/compiler/dex/growable_array.h) | 0 | ||||
-rw-r--r-- | compiler/dex/local_value_numbering.cc (renamed from src/compiler/dex/local_value_numbering.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/local_value_numbering.h (renamed from src/compiler/dex/local_value_numbering.h) | 0 | ||||
-rw-r--r-- | compiler/dex/mir_dataflow.cc (renamed from src/compiler/dex/mir_dataflow.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/mir_graph.cc (renamed from src/compiler/dex/mir_graph.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/mir_graph.h (renamed from src/compiler/dex/mir_graph.h) | 0 | ||||
-rw-r--r-- | compiler/dex/mir_optimization.cc (renamed from src/compiler/dex/mir_optimization.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/portable/mir_to_gbc.cc (renamed from src/compiler/dex/portable/mir_to_gbc.cc) | 10 | ||||
-rw-r--r-- | compiler/dex/portable/mir_to_gbc.h (renamed from src/compiler/dex/portable/mir_to_gbc.h) | 8 | ||||
-rw-r--r-- | compiler/dex/quick/arm/arm_lir.h (renamed from src/compiler/dex/quick/arm/arm_lir.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/assemble_arm.cc (renamed from src/compiler/dex/quick/arm/assemble_arm.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/call_arm.cc (renamed from src/compiler/dex/quick/arm/call_arm.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/codegen_arm.h (renamed from src/compiler/dex/quick/arm/codegen_arm.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/fp_arm.cc (renamed from src/compiler/dex/quick/arm/fp_arm.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/int_arm.cc (renamed from src/compiler/dex/quick/arm/int_arm.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/arm/target_arm.cc (renamed from src/compiler/dex/quick/arm/target_arm.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/quick/arm/utility_arm.cc (renamed from src/compiler/dex/quick/arm/utility_arm.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/codegen_util.cc (renamed from src/compiler/dex/quick/codegen_util.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/gen_common.cc (renamed from src/compiler/dex/quick/gen_common.cc) | 6 | ||||
-rw-r--r-- | compiler/dex/quick/gen_invoke.cc (renamed from src/compiler/dex/quick/gen_invoke.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/gen_loadstore.cc (renamed from src/compiler/dex/quick/gen_loadstore.cc) | 6 | ||||
-rw-r--r-- | compiler/dex/quick/local_optimizations.cc (renamed from src/compiler/dex/quick/local_optimizations.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/README.mips (renamed from src/compiler/dex/quick/mips/README.mips) | 0 | ||||
-rw-r--r-- | compiler/dex/quick/mips/assemble_mips.cc (renamed from src/compiler/dex/quick/mips/assemble_mips.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/call_mips.cc (renamed from src/compiler/dex/quick/mips/call_mips.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/codegen_mips.h (renamed from src/compiler/dex/quick/mips/codegen_mips.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/fp_mips.cc (renamed from src/compiler/dex/quick/mips/fp_mips.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/int_mips.cc (renamed from src/compiler/dex/quick/mips/int_mips.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/mips_lir.h (renamed from src/compiler/dex/quick/mips/mips_lir.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mips/target_mips.cc (renamed from src/compiler/dex/quick/mips/target_mips.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/quick/mips/utility_mips.cc (renamed from src/compiler/dex/quick/mips/utility_mips.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mir_to_lir-inl.h (renamed from src/compiler/dex/quick/mir_to_lir-inl.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/mir_to_lir.cc (renamed from src/compiler/dex/quick/mir_to_lir.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/quick/mir_to_lir.h (renamed from src/compiler/dex/quick/mir_to_lir.h) | 12 | ||||
-rw-r--r-- | compiler/dex/quick/ralloc_util.cc (renamed from src/compiler/dex/quick/ralloc_util.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/quick/x86/assemble_x86.cc (renamed from src/compiler/dex/quick/x86/assemble_x86.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/call_x86.cc (renamed from src/compiler/dex/quick/x86/call_x86.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/codegen_x86.h (renamed from src/compiler/dex/quick/x86/codegen_x86.h) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/fp_x86.cc (renamed from src/compiler/dex/quick/x86/fp_x86.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/int_x86.cc (renamed from src/compiler/dex/quick/x86/int_x86.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/target_x86.cc (renamed from src/compiler/dex/quick/x86/target_x86.cc) | 4 | ||||
-rw-r--r-- | compiler/dex/quick/x86/utility_x86.cc (renamed from src/compiler/dex/quick/x86/utility_x86.cc) | 2 | ||||
-rw-r--r-- | compiler/dex/quick/x86/x86_lir.h (renamed from src/compiler/dex/quick/x86/x86_lir.h) | 2 | ||||
-rw-r--r-- | compiler/dex/ssa_transformation.cc (renamed from src/compiler/dex/ssa_transformation.cc) | 0 | ||||
-rw-r--r-- | compiler/dex/vreg_analysis.cc (renamed from src/compiler/dex/vreg_analysis.cc) | 2 | ||||
-rw-r--r-- | compiler/driver/compiler_driver.cc (renamed from src/compiler/driver/compiler_driver.cc) | 6 | ||||
-rw-r--r-- | compiler/driver/compiler_driver.h (renamed from src/compiler/driver/compiler_driver.h) | 0 | ||||
-rw-r--r-- | compiler/driver/compiler_driver_test.cc (renamed from src/compiler/driver/compiler_driver_test.cc) | 2 | ||||
-rw-r--r-- | compiler/driver/dex_compilation_unit.cc (renamed from src/compiler/driver/dex_compilation_unit.cc) | 4 | ||||
-rw-r--r-- | compiler/driver/dex_compilation_unit.h (renamed from src/compiler/driver/dex_compilation_unit.h) | 0 | ||||
-rw-r--r-- | compiler/elf_fixup.cc (renamed from src/compiler/elf_fixup.cc) | 0 | ||||
-rw-r--r-- | compiler/elf_fixup.h (renamed from src/compiler/elf_fixup.h) | 0 | ||||
-rw-r--r-- | compiler/elf_stripper.cc (renamed from src/compiler/elf_stripper.cc) | 0 | ||||
-rw-r--r-- | compiler/elf_stripper.h (renamed from src/compiler/elf_stripper.h) | 0 | ||||
-rw-r--r-- | compiler/elf_writer.cc (renamed from src/compiler/elf_writer.cc) | 4 | ||||
-rw-r--r-- | compiler/elf_writer.h (renamed from src/compiler/elf_writer.h) | 0 | ||||
-rw-r--r-- | compiler/elf_writer_mclinker.cc (renamed from src/compiler/elf_writer_mclinker.cc) | 2 | ||||
-rw-r--r-- | compiler/elf_writer_mclinker.h (renamed from src/compiler/elf_writer_mclinker.h) | 0 | ||||
-rw-r--r-- | compiler/elf_writer_quick.cc (renamed from src/compiler/elf_writer_quick.cc) | 2 | ||||
-rw-r--r-- | compiler/elf_writer_quick.h (renamed from src/compiler/elf_writer_quick.h) | 0 | ||||
-rw-r--r-- | compiler/elf_writer_test.cc (renamed from src/compiler/elf_writer_test.cc) | 0 | ||||
-rw-r--r-- | compiler/image_writer.cc (renamed from src/compiler/image_writer.cc) | 4 | ||||
-rw-r--r-- | compiler/image_writer.h (renamed from src/compiler/image_writer.h) | 2 | ||||
-rw-r--r-- | compiler/jni/jni_compiler_test.cc (renamed from src/compiler/jni/jni_compiler_test.cc) | 0 | ||||
-rw-r--r-- | compiler/jni/portable/jni_compiler.cc (renamed from src/compiler/jni/portable/jni_compiler.cc) | 14 | ||||
-rw-r--r-- | compiler/jni/portable/jni_compiler.h (renamed from src/compiler/jni/portable/jni_compiler.h) | 0 | ||||
-rw-r--r-- | compiler/jni/quick/arm/calling_convention_arm.cc (renamed from src/compiler/jni/quick/arm/calling_convention_arm.cc) | 0 | ||||
-rw-r--r-- | compiler/jni/quick/arm/calling_convention_arm.h (renamed from src/compiler/jni/quick/arm/calling_convention_arm.h) | 2 | ||||
-rw-r--r-- | compiler/jni/quick/calling_convention.cc (renamed from src/compiler/jni/quick/calling_convention.cc) | 6 | ||||
-rw-r--r-- | compiler/jni/quick/calling_convention.h (renamed from src/compiler/jni/quick/calling_convention.h) | 0 | ||||
-rw-r--r-- | compiler/jni/quick/jni_compiler.cc (renamed from src/compiler/jni/quick/jni_compiler.cc) | 2 | ||||
-rw-r--r-- | compiler/jni/quick/mips/calling_convention_mips.cc (renamed from src/compiler/jni/quick/mips/calling_convention_mips.cc) | 0 | ||||
-rw-r--r-- | compiler/jni/quick/mips/calling_convention_mips.h (renamed from src/compiler/jni/quick/mips/calling_convention_mips.h) | 2 | ||||
-rw-r--r-- | compiler/jni/quick/x86/calling_convention_x86.cc (renamed from src/compiler/jni/quick/x86/calling_convention_x86.cc) | 0 | ||||
-rw-r--r-- | compiler/jni/quick/x86/calling_convention_x86.h (renamed from src/compiler/jni/quick/x86/calling_convention_x86.h) | 2 | ||||
-rw-r--r-- | compiler/llvm/art_module.ll (renamed from src/compiler/llvm/art_module.ll) | 0 | ||||
-rw-r--r-- | compiler/llvm/backend_options.h (renamed from src/compiler/llvm/backend_options.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/backend_types.h (renamed from src/compiler/llvm/backend_types.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/compiler_llvm.cc (renamed from src/compiler/llvm/compiler_llvm.cc) | 6 | ||||
-rw-r--r-- | compiler/llvm/compiler_llvm.h (renamed from src/compiler/llvm/compiler_llvm.h) | 2 | ||||
-rw-r--r-- | compiler/llvm/gbc_expander.cc (renamed from src/compiler/llvm/gbc_expander.cc) | 10 | ||||
-rw-r--r-- | compiler/llvm/generated/art_module.cc (renamed from src/compiler/llvm/generated/art_module.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/intrinsic_func_list.def (renamed from src/compiler/llvm/intrinsic_func_list.def) | 0 | ||||
-rw-r--r-- | compiler/llvm/intrinsic_helper.cc (renamed from src/compiler/llvm/intrinsic_helper.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/intrinsic_helper.h (renamed from src/compiler/llvm/intrinsic_helper.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/ir_builder.cc (renamed from src/compiler/llvm/ir_builder.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/ir_builder.h (renamed from src/compiler/llvm/ir_builder.h) | 2 | ||||
-rw-r--r-- | compiler/llvm/llvm_compilation_unit.cc (renamed from src/compiler/llvm/llvm_compilation_unit.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/llvm_compilation_unit.h (renamed from src/compiler/llvm/llvm_compilation_unit.h) | 6 | ||||
-rw-r--r-- | compiler/llvm/md_builder.cc (renamed from src/compiler/llvm/md_builder.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/md_builder.h (renamed from src/compiler/llvm/md_builder.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder.cc (renamed from src/compiler/llvm/runtime_support_builder.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder.h (renamed from src/compiler/llvm/runtime_support_builder.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_arm.cc (renamed from src/compiler/llvm/runtime_support_builder_arm.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_arm.h (renamed from src/compiler/llvm/runtime_support_builder_arm.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_thumb2.cc (renamed from src/compiler/llvm/runtime_support_builder_thumb2.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_thumb2.h (renamed from src/compiler/llvm/runtime_support_builder_thumb2.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_x86.cc (renamed from src/compiler/llvm/runtime_support_builder_x86.cc) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_builder_x86.h (renamed from src/compiler/llvm/runtime_support_builder_x86.h) | 0 | ||||
-rw-r--r-- | compiler/llvm/runtime_support_llvm_func.h (renamed from src/compiler/llvm/runtime_support_llvm_func.h) | 0 | ||||
-rwxr-xr-x | compiler/llvm/tools/gen_art_module_cc.sh (renamed from src/compiler/llvm/tools/gen_art_module_cc.sh) | 0 | ||||
-rw-r--r-- | compiler/llvm/utils_llvm.h (renamed from src/compiler/llvm/utils_llvm.h) | 0 | ||||
-rw-r--r-- | compiler/oat_writer.cc (renamed from src/compiler/oat_writer.cc) | 0 | ||||
-rw-r--r-- | compiler/oat_writer.h (renamed from src/compiler/oat_writer.h) | 2 | ||||
-rw-r--r-- | compiler/sea_ir/frontend.cc (renamed from src/compiler/sea_ir/frontend.cc) | 10 | ||||
-rw-r--r-- | compiler/sea_ir/instruction_tools.cc (renamed from src/compiler/sea_ir/instruction_tools.cc) | 0 | ||||
-rw-r--r-- | compiler/sea_ir/instruction_tools.h (renamed from src/compiler/sea_ir/instruction_tools.h) | 0 | ||||
-rw-r--r-- | compiler/sea_ir/sea.cc (renamed from src/compiler/sea_ir/sea.cc) | 3 | ||||
-rw-r--r-- | compiler/sea_ir/sea.h (renamed from src/compiler/sea_ir/sea.h) | 2 | ||||
-rw-r--r-- | compiler/stubs/portable/stubs.cc (renamed from src/compiler/stubs/portable/stubs.cc) | 3 | ||||
-rw-r--r-- | compiler/stubs/quick/stubs.cc (renamed from src/compiler/stubs/quick/stubs.cc) | 7 | ||||
-rw-r--r-- | compiler/stubs/stubs.h (renamed from src/compiler/stubs/stubs.h) | 0 | ||||
-rw-r--r-- | dex2oat/Android.mk | 37 | ||||
-rw-r--r-- | dex2oat/dex2oat.cc (renamed from src/dex2oat.cc) | 10 | ||||
-rw-r--r-- | jdwpspy/Android.mk | 4 | ||||
-rw-r--r-- | oatdump/Android.mk | 36 | ||||
-rw-r--r-- | oatdump/oatdump.cc (renamed from src/oatdump.cc) | 0 | ||||
-rw-r--r-- | runtime/Android.mk | 374 | ||||
-rw-r--r-- | runtime/asm_support.h (renamed from src/asm_support.h) | 0 | ||||
-rw-r--r-- | runtime/atomic.cc (renamed from src/atomic.cc) | 0 | ||||
-rw-r--r-- | runtime/atomic.h (renamed from src/atomic.h) | 0 | ||||
-rw-r--r-- | runtime/atomic_integer.h (renamed from src/atomic_integer.h) | 0 | ||||
-rw-r--r-- | runtime/barrier.cc (renamed from src/barrier.cc) | 0 | ||||
-rw-r--r-- | runtime/barrier.h (renamed from src/barrier.h) | 0 | ||||
-rw-r--r-- | runtime/barrier_test.cc (renamed from src/barrier_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/casts.h (renamed from src/base/casts.h) | 0 | ||||
-rw-r--r-- | runtime/base/histogram-inl.h (renamed from src/base/histogram-inl.h) | 0 | ||||
-rw-r--r-- | runtime/base/histogram.h (renamed from src/base/histogram.h) | 0 | ||||
-rw-r--r-- | runtime/base/histogram_test.cc (renamed from src/base/histogram_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/logging.cc (renamed from src/base/logging.cc) | 0 | ||||
-rw-r--r-- | runtime/base/logging.h (renamed from src/base/logging.h) | 0 | ||||
-rw-r--r-- | runtime/base/logging_android.cc (renamed from src/base/logging_android.cc) | 0 | ||||
-rw-r--r-- | runtime/base/logging_linux.cc (renamed from src/base/logging_linux.cc) | 0 | ||||
-rw-r--r-- | runtime/base/macros.h (renamed from src/base/macros.h) | 0 | ||||
-rw-r--r-- | runtime/base/mutex-inl.h (renamed from src/base/mutex-inl.h) | 0 | ||||
-rw-r--r-- | runtime/base/mutex.cc (renamed from src/base/mutex.cc) | 0 | ||||
-rw-r--r-- | runtime/base/mutex.h (renamed from src/base/mutex.h) | 0 | ||||
-rw-r--r-- | runtime/base/mutex_test.cc (renamed from src/base/mutex_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/stl_util.h (renamed from src/base/stl_util.h) | 0 | ||||
-rw-r--r-- | runtime/base/stringpiece.cc (renamed from src/base/stringpiece.cc) | 0 | ||||
-rw-r--r-- | runtime/base/stringpiece.h (renamed from src/base/stringpiece.h) | 0 | ||||
-rw-r--r-- | runtime/base/stringprintf.cc (renamed from src/base/stringprintf.cc) | 0 | ||||
-rw-r--r-- | runtime/base/stringprintf.h (renamed from src/base/stringprintf.h) | 0 | ||||
-rw-r--r-- | runtime/base/timing_logger.cc (renamed from src/base/timing_logger.cc) | 0 | ||||
-rw-r--r-- | runtime/base/timing_logger.h (renamed from src/base/timing_logger.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/README (renamed from src/base/unix_file/README) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/fd_file.cc (renamed from src/base/unix_file/fd_file.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/fd_file.h (renamed from src/base/unix_file/fd_file.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/fd_file_test.cc (renamed from src/base/unix_file/fd_file_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/mapped_file.cc (renamed from src/base/unix_file/mapped_file.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/mapped_file.h (renamed from src/base/unix_file/mapped_file.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/mapped_file_test.cc (renamed from src/base/unix_file/mapped_file_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/null_file.cc (renamed from src/base/unix_file/null_file.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/null_file.h (renamed from src/base/unix_file/null_file.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/null_file_test.cc (renamed from src/base/unix_file/null_file_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/random_access_file.h (renamed from src/base/unix_file/random_access_file.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/random_access_file_test.h (renamed from src/base/unix_file/random_access_file_test.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/random_access_file_utils.cc (renamed from src/base/unix_file/random_access_file_utils.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/random_access_file_utils.h (renamed from src/base/unix_file/random_access_file_utils.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/random_access_file_utils_test.cc (renamed from src/base/unix_file/random_access_file_utils_test.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/string_file.cc (renamed from src/base/unix_file/string_file.cc) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/string_file.h (renamed from src/base/unix_file/string_file.h) | 0 | ||||
-rw-r--r-- | runtime/base/unix_file/string_file_test.cc (renamed from src/base/unix_file/string_file_test.cc) | 0 | ||||
-rw-r--r-- | runtime/check_jni.cc (renamed from src/check_jni.cc) | 0 | ||||
-rw-r--r-- | runtime/class_linker-inl.h (renamed from src/class_linker-inl.h) | 0 | ||||
-rw-r--r-- | runtime/class_linker.cc (renamed from src/class_linker.cc) | 0 | ||||
-rw-r--r-- | runtime/class_linker.h (renamed from src/class_linker.h) | 0 | ||||
-rw-r--r-- | runtime/class_linker_test.cc (renamed from src/class_linker_test.cc) | 0 | ||||
-rw-r--r-- | runtime/class_reference.h (renamed from src/class_reference.h) | 0 | ||||
-rw-r--r-- | runtime/closure.h (renamed from src/closure.h) | 0 | ||||
-rw-r--r-- | runtime/common_test.cc (renamed from src/common_test.cc) | 0 | ||||
-rw-r--r-- | runtime/common_test.h (renamed from src/common_test.h) | 0 | ||||
-rw-r--r-- | runtime/common_throws.cc (renamed from src/common_throws.cc) | 0 | ||||
-rw-r--r-- | runtime/common_throws.h (renamed from src/common_throws.h) | 0 | ||||
-rw-r--r-- | runtime/compiled_class.h (renamed from src/compiled_class.h) | 0 | ||||
-rw-r--r-- | runtime/compiled_method.cc (renamed from src/compiled_method.cc) | 0 | ||||
-rw-r--r-- | runtime/compiled_method.h (renamed from src/compiled_method.h) | 0 | ||||
-rw-r--r-- | runtime/constants_arm.h (renamed from src/constants_arm.h) | 0 | ||||
-rw-r--r-- | runtime/constants_mips.h (renamed from src/constants_mips.h) | 0 | ||||
-rw-r--r-- | runtime/constants_x86.h (renamed from src/constants_x86.h) | 0 | ||||
-rw-r--r-- | runtime/debugger.cc (renamed from src/debugger.cc) | 0 | ||||
-rw-r--r-- | runtime/debugger.h (renamed from src/debugger.h) | 0 | ||||
-rw-r--r-- | runtime/dex_file-inl.h (renamed from src/dex_file-inl.h) | 0 | ||||
-rw-r--r-- | runtime/dex_file.cc (renamed from src/dex_file.cc) | 0 | ||||
-rw-r--r-- | runtime/dex_file.h (renamed from src/dex_file.h) | 0 | ||||
-rw-r--r-- | runtime/dex_file_test.cc (renamed from src/dex_file_test.cc) | 0 | ||||
-rw-r--r-- | runtime/dex_file_verifier.cc (renamed from src/dex_file_verifier.cc) | 0 | ||||
-rw-r--r-- | runtime/dex_file_verifier.h (renamed from src/dex_file_verifier.h) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction-inl.h (renamed from src/dex_instruction-inl.h) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction.cc (renamed from src/dex_instruction.cc) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction.h (renamed from src/dex_instruction.h) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction_list.h (renamed from src/dex_instruction_list.h) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction_visitor.h (renamed from src/dex_instruction_visitor.h) | 0 | ||||
-rw-r--r-- | runtime/dex_instruction_visitor_test.cc (renamed from src/dex_instruction_visitor_test.cc) | 0 | ||||
-rw-r--r-- | runtime/dex_method_iterator.h (renamed from src/dex_method_iterator.h) | 0 | ||||
-rw-r--r-- | runtime/dex_method_iterator_test.cc (renamed from src/dex_method_iterator_test.cc) | 0 | ||||
-rw-r--r-- | runtime/disassembler.cc (renamed from src/disassembler.cc) | 0 | ||||
-rw-r--r-- | runtime/disassembler.h (renamed from src/disassembler.h) | 0 | ||||
-rw-r--r-- | runtime/disassembler_arm.cc (renamed from src/disassembler_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/disassembler_arm.h (renamed from src/disassembler_arm.h) | 0 | ||||
-rw-r--r-- | runtime/disassembler_mips.cc (renamed from src/disassembler_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/disassembler_mips.h (renamed from src/disassembler_mips.h) | 0 | ||||
-rw-r--r-- | runtime/disassembler_x86.cc (renamed from src/disassembler_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/disassembler_x86.h (renamed from src/disassembler_x86.h) | 0 | ||||
-rw-r--r-- | runtime/elf_file.cc (renamed from src/elf_file.cc) | 0 | ||||
-rw-r--r-- | runtime/elf_file.h (renamed from src/elf_file.h) | 0 | ||||
-rw-r--r-- | runtime/exception_test.cc (renamed from src/exception_test.cc) | 0 | ||||
-rw-r--r-- | runtime/file_output_stream.cc (renamed from src/file_output_stream.cc) | 0 | ||||
-rw-r--r-- | runtime/file_output_stream.h (renamed from src/file_output_stream.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/atomic_stack.h (renamed from src/gc/accounting/atomic_stack.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/card_table-inl.h (renamed from src/gc/accounting/card_table-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/card_table.cc (renamed from src/gc/accounting/card_table.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/card_table.h (renamed from src/gc/accounting/card_table.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/heap_bitmap-inl.h (renamed from src/gc/accounting/heap_bitmap-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/heap_bitmap.cc (renamed from src/gc/accounting/heap_bitmap.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/heap_bitmap.h (renamed from src/gc/accounting/heap_bitmap.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/mod_union_table-inl.h (renamed from src/gc/accounting/mod_union_table-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/mod_union_table.cc (renamed from src/gc/accounting/mod_union_table.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/mod_union_table.h (renamed from src/gc/accounting/mod_union_table.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/space_bitmap-inl.h (renamed from src/gc/accounting/space_bitmap-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/space_bitmap.cc (renamed from src/gc/accounting/space_bitmap.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/space_bitmap.h (renamed from src/gc/accounting/space_bitmap.h) | 0 | ||||
-rw-r--r-- | runtime/gc/accounting/space_bitmap_test.cc (renamed from src/gc/accounting/space_bitmap_test.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/allocator/dlmalloc.cc (renamed from src/gc/allocator/dlmalloc.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/allocator/dlmalloc.h (renamed from src/gc/allocator/dlmalloc.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/garbage_collector.cc (renamed from src/gc/collector/garbage_collector.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/garbage_collector.h (renamed from src/gc/collector/garbage_collector.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/gc_type.cc (renamed from src/gc/collector/gc_type.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/gc_type.h (renamed from src/gc/collector/gc_type.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/mark_sweep-inl.h (renamed from src/gc/collector/mark_sweep-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/mark_sweep.cc (renamed from src/gc/collector/mark_sweep.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/mark_sweep.h (renamed from src/gc/collector/mark_sweep.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/partial_mark_sweep.cc (renamed from src/gc/collector/partial_mark_sweep.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/partial_mark_sweep.h (renamed from src/gc/collector/partial_mark_sweep.h) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/sticky_mark_sweep.cc (renamed from src/gc/collector/sticky_mark_sweep.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/collector/sticky_mark_sweep.h (renamed from src/gc/collector/sticky_mark_sweep.h) | 0 | ||||
-rw-r--r-- | runtime/gc/heap.cc (renamed from src/gc/heap.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/heap.h (renamed from src/gc/heap.h) | 0 | ||||
-rw-r--r-- | runtime/gc/heap_test.cc (renamed from src/gc/heap_test.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/space/dlmalloc_space.cc (renamed from src/gc/space/dlmalloc_space.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/space/dlmalloc_space.h (renamed from src/gc/space/dlmalloc_space.h) | 0 | ||||
-rw-r--r-- | runtime/gc/space/image_space.cc (renamed from src/gc/space/image_space.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/space/image_space.h (renamed from src/gc/space/image_space.h) | 0 | ||||
-rw-r--r-- | runtime/gc/space/large_object_space.cc (renamed from src/gc/space/large_object_space.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/space/large_object_space.h (renamed from src/gc/space/large_object_space.h) | 0 | ||||
-rw-r--r-- | runtime/gc/space/space-inl.h (renamed from src/gc/space/space-inl.h) | 0 | ||||
-rw-r--r-- | runtime/gc/space/space.cc (renamed from src/gc/space/space.cc) | 0 | ||||
-rw-r--r-- | runtime/gc/space/space.h (renamed from src/gc/space/space.h) | 0 | ||||
-rw-r--r-- | runtime/gc/space/space_test.cc (renamed from src/gc/space/space_test.cc) | 0 | ||||
-rw-r--r-- | runtime/gc_map.h (renamed from src/gc_map.h) | 0 | ||||
-rw-r--r-- | runtime/globals.h (renamed from src/globals.h) | 0 | ||||
-rw-r--r-- | runtime/gtest_test.cc (renamed from src/gtest_test.cc) | 0 | ||||
-rw-r--r-- | runtime/hprof/hprof.cc (renamed from src/hprof/hprof.cc) | 0 | ||||
-rw-r--r-- | runtime/hprof/hprof.h (renamed from src/hprof/hprof.h) | 0 | ||||
-rw-r--r-- | runtime/image.cc (renamed from src/image.cc) | 0 | ||||
-rw-r--r-- | runtime/image.h (renamed from src/image.h) | 0 | ||||
-rw-r--r-- | runtime/image_test.cc (renamed from src/image_test.cc) | 0 | ||||
-rw-r--r-- | runtime/indenter.h (renamed from src/indenter.h) | 0 | ||||
-rw-r--r-- | runtime/indenter_test.cc (renamed from src/indenter_test.cc) | 0 | ||||
-rw-r--r-- | runtime/indirect_reference_table.cc (renamed from src/indirect_reference_table.cc) | 0 | ||||
-rw-r--r-- | runtime/indirect_reference_table.h (renamed from src/indirect_reference_table.h) | 0 | ||||
-rw-r--r-- | runtime/indirect_reference_table_test.cc (renamed from src/indirect_reference_table_test.cc) | 0 | ||||
-rw-r--r-- | runtime/instruction_set.h (renamed from src/instruction_set.h) | 0 | ||||
-rw-r--r-- | runtime/instrumentation.cc (renamed from src/instrumentation.cc) | 0 | ||||
-rw-r--r-- | runtime/instrumentation.h (renamed from src/instrumentation.h) | 0 | ||||
-rw-r--r-- | runtime/intern_table.cc (renamed from src/intern_table.cc) | 0 | ||||
-rw-r--r-- | runtime/intern_table.h (renamed from src/intern_table.h) | 0 | ||||
-rw-r--r-- | runtime/intern_table_test.cc (renamed from src/intern_table_test.cc) | 0 | ||||
-rw-r--r-- | runtime/interpreter/interpreter.cc (renamed from src/interpreter/interpreter.cc) | 0 | ||||
-rw-r--r-- | runtime/interpreter/interpreter.h (renamed from src/interpreter/interpreter.h) | 0 | ||||
-rw-r--r-- | runtime/invoke_arg_array_builder.h (renamed from src/invoke_arg_array_builder.h) | 0 | ||||
-rw-r--r-- | runtime/invoke_type.h (renamed from src/invoke_type.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/README.txt (renamed from src/jdwp/README.txt) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp.h (renamed from src/jdwp/jdwp.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_adb.cc (renamed from src/jdwp/jdwp_adb.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_bits.h (renamed from src/jdwp/jdwp_bits.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_constants.h (renamed from src/jdwp/jdwp_constants.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_event.cc (renamed from src/jdwp/jdwp_event.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_event.h (renamed from src/jdwp/jdwp_event.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_expand_buf.cc (renamed from src/jdwp/jdwp_expand_buf.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_expand_buf.h (renamed from src/jdwp/jdwp_expand_buf.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_handler.cc (renamed from src/jdwp/jdwp_handler.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_main.cc (renamed from src/jdwp/jdwp_main.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_priv.h (renamed from src/jdwp/jdwp_priv.h) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_request.cc (renamed from src/jdwp/jdwp_request.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_socket.cc (renamed from src/jdwp/jdwp_socket.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/object_registry.cc (renamed from src/jdwp/object_registry.cc) | 0 | ||||
-rw-r--r-- | runtime/jdwp/object_registry.h (renamed from src/jdwp/object_registry.h) | 0 | ||||
-rw-r--r-- | runtime/jni_internal.cc (renamed from src/jni_internal.cc) | 0 | ||||
-rw-r--r-- | runtime/jni_internal.h (renamed from src/jni_internal.h) | 0 | ||||
-rw-r--r-- | runtime/jni_internal_test.cc (renamed from src/jni_internal_test.cc) | 0 | ||||
-rw-r--r-- | runtime/jobject_comparator.cc (renamed from src/jobject_comparator.cc) | 0 | ||||
-rw-r--r-- | runtime/jobject_comparator.h (renamed from src/jobject_comparator.h) | 0 | ||||
-rw-r--r-- | runtime/jvalue.h (renamed from src/jvalue.h) | 0 | ||||
-rw-r--r-- | runtime/leb128.h (renamed from src/leb128.h) | 0 | ||||
-rw-r--r-- | runtime/locks.cc (renamed from src/locks.cc) | 0 | ||||
-rw-r--r-- | runtime/locks.h (renamed from src/locks.h) | 0 | ||||
-rw-r--r-- | runtime/log_severity.h (renamed from src/log_severity.h) | 0 | ||||
-rw-r--r-- | runtime/mem_map.cc (renamed from src/mem_map.cc) | 0 | ||||
-rw-r--r-- | runtime/mem_map.h (renamed from src/mem_map.h) | 0 | ||||
-rw-r--r-- | runtime/memory_region.cc (renamed from src/memory_region.cc) | 0 | ||||
-rw-r--r-- | runtime/memory_region.h (renamed from src/memory_region.h) | 0 | ||||
-rw-r--r-- | runtime/method_reference.h (renamed from src/method_reference.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/abstract_method-inl.h (renamed from src/mirror/abstract_method-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/abstract_method.cc (renamed from src/mirror/abstract_method.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/abstract_method.h (renamed from src/mirror/abstract_method.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/array-inl.h (renamed from src/mirror/array-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/array.cc (renamed from src/mirror/array.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/array.h (renamed from src/mirror/array.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/class-inl.h (renamed from src/mirror/class-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/class.cc (renamed from src/mirror/class.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/class.h (renamed from src/mirror/class.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/class_loader.h (renamed from src/mirror/class_loader.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/dex_cache-inl.h (renamed from src/mirror/dex_cache-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/dex_cache.cc (renamed from src/mirror/dex_cache.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/dex_cache.h (renamed from src/mirror/dex_cache.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/dex_cache_test.cc (renamed from src/mirror/dex_cache_test.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/field-inl.h (renamed from src/mirror/field-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/field.cc (renamed from src/mirror/field.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/field.h (renamed from src/mirror/field.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/iftable-inl.h (renamed from src/mirror/iftable-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/iftable.h (renamed from src/mirror/iftable.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/object-inl.h (renamed from src/mirror/object-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/object.cc (renamed from src/mirror/object.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/object.h (renamed from src/mirror/object.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/object_array-inl.h (renamed from src/mirror/object_array-inl.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/object_array.h (renamed from src/mirror/object_array.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/object_test.cc (renamed from src/mirror/object_test.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/proxy.h (renamed from src/mirror/proxy.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/stack_trace_element.cc (renamed from src/mirror/stack_trace_element.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/stack_trace_element.h (renamed from src/mirror/stack_trace_element.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/string.cc (renamed from src/mirror/string.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/string.h (renamed from src/mirror/string.h) | 0 | ||||
-rw-r--r-- | runtime/mirror/throwable.cc (renamed from src/mirror/throwable.cc) | 0 | ||||
-rw-r--r-- | runtime/mirror/throwable.h (renamed from src/mirror/throwable.h) | 0 | ||||
-rw-r--r-- | runtime/modifiers.h (renamed from src/modifiers.h) | 0 | ||||
-rw-r--r-- | runtime/monitor.cc (renamed from src/monitor.cc) | 0 | ||||
-rw-r--r-- | runtime/monitor.h (renamed from src/monitor.h) | 0 | ||||
-rw-r--r-- | runtime/monitor_android.cc (renamed from src/monitor_android.cc) | 0 | ||||
-rw-r--r-- | runtime/monitor_linux.cc (renamed from src/monitor_linux.cc) | 0 | ||||
-rw-r--r-- | runtime/native/dalvik_system_DexFile.cc (renamed from src/native/dalvik_system_DexFile.cc) | 0 | ||||
-rw-r--r-- | runtime/native/dalvik_system_VMDebug.cc (renamed from src/native/dalvik_system_VMDebug.cc) | 0 | ||||
-rw-r--r-- | runtime/native/dalvik_system_VMRuntime.cc (renamed from src/native/dalvik_system_VMRuntime.cc) | 0 | ||||
-rw-r--r-- | runtime/native/dalvik_system_VMStack.cc (renamed from src/native/dalvik_system_VMStack.cc) | 0 | ||||
-rw-r--r-- | runtime/native/dalvik_system_Zygote.cc (renamed from src/native/dalvik_system_Zygote.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_Class.cc (renamed from src/native/java_lang_Class.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_Object.cc (renamed from src/native/java_lang_Object.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_Runtime.cc (renamed from src/native/java_lang_Runtime.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_String.cc (renamed from src/native/java_lang_String.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_System.cc (renamed from src/native/java_lang_System.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_Thread.cc (renamed from src/native/java_lang_Thread.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_Throwable.cc (renamed from src/native/java_lang_Throwable.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_VMClassLoader.cc (renamed from src/native/java_lang_VMClassLoader.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_reflect_Array.cc (renamed from src/native/java_lang_reflect_Array.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_reflect_Constructor.cc (renamed from src/native/java_lang_reflect_Constructor.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_reflect_Field.cc (renamed from src/native/java_lang_reflect_Field.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_reflect_Method.cc (renamed from src/native/java_lang_reflect_Method.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_lang_reflect_Proxy.cc (renamed from src/native/java_lang_reflect_Proxy.cc) | 0 | ||||
-rw-r--r-- | runtime/native/java_util_concurrent_atomic_AtomicLong.cc (renamed from src/native/java_util_concurrent_atomic_AtomicLong.cc) | 0 | ||||
-rw-r--r-- | runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc (renamed from src/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc) | 0 | ||||
-rw-r--r-- | runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc (renamed from src/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc) | 0 | ||||
-rw-r--r-- | runtime/native/sun_misc_Unsafe.cc (renamed from src/native/sun_misc_Unsafe.cc) | 0 | ||||
-rw-r--r-- | runtime/nth_caller_visitor.h (renamed from src/nth_caller_visitor.h) | 0 | ||||
-rw-r--r-- | runtime/oat.cc (renamed from src/oat.cc) | 0 | ||||
-rw-r--r-- | runtime/oat.h (renamed from src/oat.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/argument_visitor.h (renamed from src/oat/runtime/argument_visitor.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/arm/context_arm.cc (renamed from src/oat/runtime/arm/context_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/arm/context_arm.h (renamed from src/oat/runtime/arm/context_arm.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/arm/oat_support_entrypoints_arm.cc (renamed from src/oat/runtime/arm/oat_support_entrypoints_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/arm/runtime_support_arm.S (renamed from src/oat/runtime/arm/runtime_support_arm.S) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/callee_save_frame.h (renamed from src/oat/runtime/callee_save_frame.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/context.cc (renamed from src/oat/runtime/context.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/context.h (renamed from src/oat/runtime/context.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/mips/context_mips.cc (renamed from src/oat/runtime/mips/context_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/mips/context_mips.h (renamed from src/oat/runtime/mips/context_mips.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/mips/oat_support_entrypoints_mips.cc (renamed from src/oat/runtime/mips/oat_support_entrypoints_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/mips/runtime_support_mips.S (renamed from src/oat/runtime/mips/runtime_support_mips.S) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/oat_support_entrypoints.h (renamed from src/oat/runtime/oat_support_entrypoints.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_alloc.cc (renamed from src/oat/runtime/support_alloc.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_cast.cc (renamed from src/oat/runtime/support_cast.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_deoptimize.cc (renamed from src/oat/runtime/support_deoptimize.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_dexcache.cc (renamed from src/oat/runtime/support_dexcache.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_field.cc (renamed from src/oat/runtime/support_field.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_fillarray.cc (renamed from src/oat/runtime/support_fillarray.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_instrumentation.cc (renamed from src/oat/runtime/support_instrumentation.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_interpreter.cc (renamed from src/oat/runtime/support_interpreter.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_invoke.cc (renamed from src/oat/runtime/support_invoke.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_jni.cc (renamed from src/oat/runtime/support_jni.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_locks.cc (renamed from src/oat/runtime/support_locks.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_math.cc (renamed from src/oat/runtime/support_math.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_proxy.cc (renamed from src/oat/runtime/support_proxy.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_stubs.cc (renamed from src/oat/runtime/support_stubs.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_thread.cc (renamed from src/oat/runtime/support_thread.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/support_throw.cc (renamed from src/oat/runtime/support_throw.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/x86/context_x86.cc (renamed from src/oat/runtime/x86/context_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/x86/context_x86.h (renamed from src/oat/runtime/x86/context_x86.h) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/x86/oat_support_entrypoints_x86.cc (renamed from src/oat/runtime/x86/oat_support_entrypoints_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/runtime/x86/runtime_support_x86.S (renamed from src/oat/runtime/x86/runtime_support_x86.S) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/arm/assembler_arm.cc (renamed from src/oat/utils/arm/assembler_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/arm/assembler_arm.h (renamed from src/oat/utils/arm/assembler_arm.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/arm/managed_register_arm.cc (renamed from src/oat/utils/arm/managed_register_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/arm/managed_register_arm.h (renamed from src/oat/utils/arm/managed_register_arm.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/arm/managed_register_arm_test.cc (renamed from src/oat/utils/arm/managed_register_arm_test.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/assembler.cc (renamed from src/oat/utils/assembler.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/assembler.h (renamed from src/oat/utils/assembler.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/managed_register.h (renamed from src/oat/utils/managed_register.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/mips/assembler_mips.cc (renamed from src/oat/utils/mips/assembler_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/mips/assembler_mips.h (renamed from src/oat/utils/mips/assembler_mips.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/mips/managed_register_mips.cc (renamed from src/oat/utils/mips/managed_register_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/mips/managed_register_mips.h (renamed from src/oat/utils/mips/managed_register_mips.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/assembler_x86.cc (renamed from src/oat/utils/x86/assembler_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/assembler_x86.h (renamed from src/oat/utils/x86/assembler_x86.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/assembler_x86_test.cc (renamed from src/oat/utils/x86/assembler_x86_test.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/managed_register_x86.cc (renamed from src/oat/utils/x86/managed_register_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/managed_register_x86.h (renamed from src/oat/utils/x86/managed_register_x86.h) | 0 | ||||
-rw-r--r-- | runtime/oat/utils/x86/managed_register_x86_test.cc (renamed from src/oat/utils/x86/managed_register_x86_test.cc) | 0 | ||||
-rw-r--r-- | runtime/oat_file.cc (renamed from src/oat_file.cc) | 0 | ||||
-rw-r--r-- | runtime/oat_file.h (renamed from src/oat_file.h) | 0 | ||||
-rw-r--r-- | runtime/oat_test.cc (renamed from src/oat_test.cc) | 0 | ||||
-rw-r--r-- | runtime/object_utils.h (renamed from src/object_utils.h) | 0 | ||||
-rw-r--r-- | runtime/offsets.cc (renamed from src/offsets.cc) | 0 | ||||
-rw-r--r-- | runtime/offsets.h (renamed from src/offsets.h) | 0 | ||||
-rw-r--r-- | runtime/os.h (renamed from src/os.h) | 0 | ||||
-rw-r--r-- | runtime/os_linux.cc (renamed from src/os_linux.cc) | 0 | ||||
-rw-r--r-- | runtime/output_stream.h (renamed from src/output_stream.h) | 0 | ||||
-rw-r--r-- | runtime/output_stream_test.cc (renamed from src/output_stream_test.cc) | 0 | ||||
-rw-r--r-- | runtime/primitive.cc (renamed from src/primitive.cc) | 0 | ||||
-rw-r--r-- | runtime/primitive.h (renamed from src/primitive.h) | 0 | ||||
-rw-r--r-- | runtime/reference_table.cc (renamed from src/reference_table.cc) | 0 | ||||
-rw-r--r-- | runtime/reference_table.h (renamed from src/reference_table.h) | 0 | ||||
-rw-r--r-- | runtime/reference_table_test.cc (renamed from src/reference_table_test.cc) | 0 | ||||
-rw-r--r-- | runtime/reflection.cc (renamed from src/reflection.cc) | 0 | ||||
-rw-r--r-- | runtime/reflection.h (renamed from src/reflection.h) | 0 | ||||
-rw-r--r-- | runtime/root_visitor.h (renamed from src/root_visitor.h) | 0 | ||||
-rw-r--r-- | runtime/runtime.cc (renamed from src/runtime.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime.h (renamed from src/runtime.h) | 0 | ||||
-rw-r--r-- | runtime/runtime_android.cc (renamed from src/runtime_android.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime_linux.cc (renamed from src/runtime_linux.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime_stats.h (renamed from src/runtime_stats.h) | 0 | ||||
-rw-r--r-- | runtime/runtime_support.cc (renamed from src/runtime_support.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime_support.h (renamed from src/runtime_support.h) | 0 | ||||
-rw-r--r-- | runtime/runtime_support_llvm.cc (renamed from src/runtime_support_llvm.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime_support_llvm.h (renamed from src/runtime_support_llvm.h) | 0 | ||||
-rw-r--r-- | runtime/runtime_support_llvm_func_list.h (renamed from src/runtime_support_llvm_func_list.h) | 0 | ||||
-rw-r--r-- | runtime/runtime_support_test.cc (renamed from src/runtime_support_test.cc) | 0 | ||||
-rw-r--r-- | runtime/runtime_test.cc (renamed from src/runtime_test.cc) | 0 | ||||
-rw-r--r-- | runtime/safe_map.h (renamed from src/safe_map.h) | 0 | ||||
-rw-r--r-- | runtime/scoped_thread_state_change.h (renamed from src/scoped_thread_state_change.h) | 0 | ||||
-rw-r--r-- | runtime/signal_catcher.cc (renamed from src/signal_catcher.cc) | 0 | ||||
-rw-r--r-- | runtime/signal_catcher.h (renamed from src/signal_catcher.h) | 0 | ||||
-rw-r--r-- | runtime/signal_set.h (renamed from src/signal_set.h) | 0 | ||||
-rw-r--r-- | runtime/sirt_ref.h (renamed from src/sirt_ref.h) | 0 | ||||
-rw-r--r-- | runtime/stack.cc (renamed from src/stack.cc) | 0 | ||||
-rw-r--r-- | runtime/stack.h (renamed from src/stack.h) | 0 | ||||
-rw-r--r-- | runtime/stack_indirect_reference_table.h (renamed from src/stack_indirect_reference_table.h) | 0 | ||||
-rw-r--r-- | runtime/strutil.h (renamed from src/strutil.h) | 0 | ||||
-rw-r--r-- | runtime/thread-inl.h (renamed from src/thread-inl.h) | 0 | ||||
-rw-r--r-- | runtime/thread.cc (renamed from src/thread.cc) | 0 | ||||
-rw-r--r-- | runtime/thread.h (renamed from src/thread.h) | 0 | ||||
-rw-r--r-- | runtime/thread_android.cc (renamed from src/thread_android.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_arm.cc (renamed from src/thread_arm.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_linux.cc (renamed from src/thread_linux.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_list.cc (renamed from src/thread_list.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_list.h (renamed from src/thread_list.h) | 0 | ||||
-rw-r--r-- | runtime/thread_mips.cc (renamed from src/thread_mips.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_pool.cc (renamed from src/thread_pool.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_pool.h (renamed from src/thread_pool.h) | 0 | ||||
-rw-r--r-- | runtime/thread_pool_test.cc (renamed from src/thread_pool_test.cc) | 0 | ||||
-rw-r--r-- | runtime/thread_state.h (renamed from src/thread_state.h) | 0 | ||||
-rw-r--r-- | runtime/thread_x86.cc (renamed from src/thread_x86.cc) | 0 | ||||
-rw-r--r-- | runtime/throw_location.cc (renamed from src/throw_location.cc) | 0 | ||||
-rw-r--r-- | runtime/throw_location.h (renamed from src/throw_location.h) | 0 | ||||
-rw-r--r-- | runtime/trace.cc (renamed from src/trace.cc) | 0 | ||||
-rw-r--r-- | runtime/trace.h (renamed from src/trace.h) | 0 | ||||
-rw-r--r-- | runtime/utf.cc (renamed from src/utf.cc) | 0 | ||||
-rw-r--r-- | runtime/utf.h (renamed from src/utf.h) | 0 | ||||
-rw-r--r-- | runtime/utils.cc (renamed from src/utils.cc) | 0 | ||||
-rw-r--r-- | runtime/utils.h (renamed from src/utils.h) | 0 | ||||
-rw-r--r-- | runtime/utils_test.cc (renamed from src/utils_test.cc) | 0 | ||||
-rw-r--r-- | runtime/vector_output_stream.cc (renamed from src/vector_output_stream.cc) | 0 | ||||
-rw-r--r-- | runtime/vector_output_stream.h (renamed from src/vector_output_stream.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/dex_gc_map.cc (renamed from src/verifier/dex_gc_map.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/dex_gc_map.h (renamed from src/verifier/dex_gc_map.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/instruction_flags.cc (renamed from src/verifier/instruction_flags.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/instruction_flags.h (renamed from src/verifier/instruction_flags.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/method_verifier.cc (renamed from src/verifier/method_verifier.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/method_verifier.h (renamed from src/verifier/method_verifier.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/method_verifier_test.cc (renamed from src/verifier/method_verifier_test.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type.cc (renamed from src/verifier/reg_type.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type.h (renamed from src/verifier/reg_type.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type_cache-inl.h (renamed from src/verifier/reg_type_cache-inl.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type_cache.cc (renamed from src/verifier/reg_type_cache.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type_cache.h (renamed from src/verifier/reg_type_cache.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/reg_type_test.cc (renamed from src/verifier/reg_type_test.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/register_line-inl.h (renamed from src/verifier/register_line-inl.h) | 0 | ||||
-rw-r--r-- | runtime/verifier/register_line.cc (renamed from src/verifier/register_line.cc) | 0 | ||||
-rw-r--r-- | runtime/verifier/register_line.h (renamed from src/verifier/register_line.h) | 0 | ||||
-rw-r--r-- | runtime/well_known_classes.cc (renamed from src/well_known_classes.cc) | 0 | ||||
-rw-r--r-- | runtime/well_known_classes.h (renamed from src/well_known_classes.h) | 0 | ||||
-rw-r--r-- | runtime/zip_archive.cc (renamed from src/zip_archive.cc) | 0 | ||||
-rw-r--r-- | runtime/zip_archive.h (renamed from src/zip_archive.h) | 0 | ||||
-rw-r--r-- | runtime/zip_archive_test.cc (renamed from src/zip_archive_test.cc) | 0 | ||||
-rw-r--r-- | test/Android.mk | 132 | ||||
-rwxr-xr-x | tools/generate-operator-out.py | 7 |
525 files changed, 926 insertions, 847 deletions
diff --git a/Android.mk b/Android.mk index daff6cb529..4ffa9ac0ab 100644 --- a/Android.mk +++ b/Android.mk @@ -16,38 +16,8 @@ LOCAL_PATH := $(call my-dir) -# These can be overridden via the environment or by editing to -# enable/disable certain build configuration. -# -# For example, to disable everything but the host debug build you use: -# -# (export ART_BUILD_TARGET_NDEBUG=false && export ART_BUILD_TARGET_DEBUG=false && export ART_BUILD_HOST_NDEBUG=false && ...) -# -# Beware that tests may use the non-debug build for performance, notable 055-enum-performance -# -ART_BUILD_TARGET_NDEBUG ?= true -ART_BUILD_TARGET_DEBUG ?= true -ART_BUILD_HOST_NDEBUG ?= true -ART_BUILD_HOST_DEBUG ?= true - -ifeq ($(ART_BUILD_TARGET_NDEBUG),false) -$(info Disabling ART_BUILD_TARGET_NDEBUG) -endif -ifeq ($(ART_BUILD_TARGET_DEBUG),false) -$(info Disabling ART_BUILD_TARGET_DEBUG) -endif -ifeq ($(ART_BUILD_HOST_NDEBUG),false) -$(info Disabling ART_BUILD_HOST_NDEBUG) -endif -ifeq ($(ART_BUILD_HOST_DEBUG),false) -$(info Disabling ART_BUILD_HOST_DEBUG) -endif - -ART_HOST_SHLIB_EXTENSION := $(HOST_SHLIB_SUFFIX) -ART_HOST_SHLIB_EXTENSION ?= .so - -build_path := $(LOCAL_PATH)/build -include $(build_path)/Android.common.mk +art_path := $(LOCAL_PATH) +art_build_path := $(art_path)/build ######################################################################## # clean-oat targets @@ -111,17 +81,18 @@ clean-oat-target: # we aren't building most of art on darwin right now, but we do need to build new dalvikvm ifeq ($(HOST_OS)-$(HOST_ARCH),darwin-x86) art_dont_bother := true -include $(LOCAL_PATH)/dalvikvm/Android.mk +include $(art_path)/dalvikvm/Android.mk endif ifneq ($(art_dont_bother),true) ######################################################################## # product targets -include $(build_path)/Android.libart.mk -include $(build_path)/Android.libart-compiler.mk -include $(build_path)/Android.executable.mk -include $(build_path)/Android.oat.mk +include $(art_path)/runtime/Android.mk +include $(art_path)/compiler/Android.mk +include $(art_path)/dex2oat/Android.mk +include $(art_path)/oatdump/Android.mk +include $(art_build_path)/Android.oat.mk # ART_HOST_DEPENDENCIES depends on Android.executable.mk above for ART_HOST_EXECUTABLES ART_HOST_DEPENDENCIES := $(ART_HOST_EXECUTABLES) $(HOST_OUT_JAVA_LIBRARIES)/core-hostdex.jar @@ -131,8 +102,8 @@ ART_TARGET_DEPENDENCIES := $(ART_TARGET_EXECUTABLES) $(TARGET_OUT_JAVA_LIBRARIES ######################################################################## # test targets -include $(build_path)/Android.oattest.mk -include $(build_path)/Android.gtest.mk +include $(art_path)/test/Android.mk +include $(art_build_path)/Android.gtest.mk # The ART_*_TEST_DEPENDENCIES definitions: # - depend on Android.oattest.mk above for ART_TEST_*_DEX_FILES @@ -140,7 +111,7 @@ include $(build_path)/Android.gtest.mk ART_HOST_TEST_DEPENDENCIES := $(ART_HOST_DEPENDENCIES) $(ART_HOST_TEST_EXECUTABLES) $(ART_TEST_HOST_DEX_FILES) $(HOST_CORE_IMG_OUT) ART_TARGET_TEST_DEPENDENCIES := $(ART_TARGET_DEPENDENCIES) $(ART_TARGET_TEST_EXECUTABLES) $(ART_TEST_TARGET_DEX_FILES) $(TARGET_CORE_IMG_OUT) -include $(build_path)/Android.libarttest.mk +include $(art_build_path)/Android.libarttest.mk # "m build-art" for quick minimal build .PHONY: build-art @@ -386,6 +357,7 @@ use-dalvik: ######################################################################## -include $(call all-makefiles-under,$(LOCAL_PATH)) +include $(art_path)/dalvikvm/Android.mk +include $(art_path)/jdwpspy/Android.mk endif # !art_dont_bother diff --git a/build/Android.common.mk b/build/Android.common.mk index 671ce5cc94..fcaa2bd533 100644 --- a/build/Android.common.mk +++ b/build/Android.common.mk @@ -14,6 +14,36 @@ # limitations under the License. # +# These can be overridden via the environment or by editing to +# enable/disable certain build configuration. +# +# For example, to disable everything but the host debug build you use: +# +# (export ART_BUILD_TARGET_NDEBUG=false && export ART_BUILD_TARGET_DEBUG=false && export ART_BUILD_HOST_NDEBUG=false && ...) +# +# Beware that tests may use the non-debug build for performance, notable 055-enum-performance +# +ART_BUILD_TARGET_NDEBUG ?= true +ART_BUILD_TARGET_DEBUG ?= true +ART_BUILD_HOST_NDEBUG ?= true +ART_BUILD_HOST_DEBUG ?= true + +ifeq ($(ART_BUILD_TARGET_NDEBUG),false) +$(info Disabling ART_BUILD_TARGET_NDEBUG) +endif +ifeq ($(ART_BUILD_TARGET_DEBUG),false) +$(info Disabling ART_BUILD_TARGET_DEBUG) +endif +ifeq ($(ART_BUILD_HOST_NDEBUG),false) +$(info Disabling ART_BUILD_HOST_NDEBUG) +endif +ifeq ($(ART_BUILD_HOST_DEBUG),false) +$(info Disabling ART_BUILD_HOST_DEBUG) +endif + +# +# Used to enable smart mode +# ART_SMALL_MODE := false ifneq ($(wildcard art/SMALL_ART),) $(info Enabling ART_SMALL_MODE because of existence of art/SMALL_ART) @@ -23,6 +53,9 @@ ifeq ($(WITH_ART_SMALL_MODE), true) ART_SMALL_MODE := true endif +# +# Used to enable SEA mode +# ART_SEA_IR_MODE := false ifneq ($(wildcard art/SEA_IR_ART),) $(info Enabling ART_SEA_IR_MODE because of existence of art/SEA_IR_ART) @@ -32,6 +65,9 @@ ifeq ($(WITH_ART_SEA_IR_MODE), true) ART_SEA_IR_MODE := true endif +# +# Used to enable portable mode +# ART_USE_PORTABLE_COMPILER := false ifneq ($(wildcard art/USE_PORTABLE_COMPILER),) $(info Enabling ART_USE_PORTABLE_COMPILER because of existence of art/USE_PORTABLE_COMPILER) @@ -59,12 +95,14 @@ ART_TEST_OUT := $(TARGET_OUT_DATA)/art-test ART_CPP_EXTENSION := .cc +ART_HOST_SHLIB_EXTENSION := $(HOST_SHLIB_SUFFIX) +ART_HOST_SHLIB_EXTENSION ?= .so + ART_C_INCLUDES := \ external/gtest/include \ external/valgrind/main/include \ external/zlib \ - frameworks/compile/mclinker/include \ - art/src + frameworks/compile/mclinker/include art_cflags := \ -fno-rtti \ @@ -125,8 +163,11 @@ ifneq ($(filter 4.6 4.6.%, $(TARGET_GCC_VERSION)),) else # Warn if not using GCC 4.6 for target builds when not doing a top-level or 'mma' build. ifneq ($(ONE_SHOT_MAKEFILE),) - # Enable target GCC 4.6 with: export TARGET_GCC_VERSION_EXP=4.6 - $(info Using target GCC $(TARGET_GCC_VERSION) disables thread-safety checks.) + ifneq ($(ART_THREAD_SAFETY_CHECK_WARNING),true) + # Enable target GCC 4.6 with: export TARGET_GCC_VERSION_EXP=4.6 + $(info Using target GCC $(TARGET_GCC_VERSION) disables thread-safety checks.) + ART_THREAD_SAFETY_CHECK_WARNING := true + endif endif endif # We build with GCC 4.6 on the host. diff --git a/build/Android.executable.mk b/build/Android.executable.mk index e74645cb30..54f9926a80 100644 --- a/build/Android.executable.mk +++ b/build/Android.executable.mk @@ -14,11 +14,7 @@ # limitations under the License. # -DEX2OAT_SRC_FILES := \ - src/dex2oat.cc - -OATDUMP_SRC_FILES := \ - src/oatdump.cc +include art/build/Android.common.mk ART_HOST_EXECUTABLES := ART_TARGET_EXECUTABLES := @@ -30,26 +26,28 @@ endif # $(1): executable ("d" will be appended for debug version) # $(2): source -# $(3): shared libraries -# $(4): target or host -# $(5): ndebug or debug +# $(3): extra shared libraries +# $(4): extra include directories +# $(5): target or host +# $(6): ndebug or debug define build-art-executable - ifneq ($(4),target) - ifneq ($(4),host) - $$(error expected target or host for argument 4, received $(4)) + ifneq ($(5),target) + ifneq ($(5),host) + $$(error expected target or host for argument 5, received $(5)) endif endif - ifneq ($(5),ndebug) - ifneq ($(5),debug) - $$(error expected ndebug or debug for argument 5, received $(5)) + ifneq ($(6),ndebug) + ifneq ($(6),debug) + $$(error expected ndebug or debug for argument 6, received $(6)) endif endif art_executable := $(1) art_source := $(2) art_shared_libraries := $(3) - art_target_or_host := $(4) - art_ndebug_or_debug := $(5) + art_c_includes := $(4) + art_target_or_host := $(5) + art_ndebug_or_debug := $(6) include $(CLEAR_VARS) ifeq ($$(art_target_or_host),target) @@ -59,7 +57,7 @@ define build-art-executable LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $$(art_source) - LOCAL_C_INCLUDES += $(ART_C_INCLUDES) + LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime $$(art_c_includes) LOCAL_SHARED_LIBRARIES := $$(art_shared_libraries) # libnativehelper ifeq ($$(art_ndebug_or_debug),ndebug) @@ -97,8 +95,8 @@ define build-art-executable LOCAL_SHARED_LIBRARIES += libstlport endif - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.executable.mk + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.executable.mk ifeq ($$(art_target_or_host),target) include $(BUILD_EXECUTABLE) @@ -109,27 +107,3 @@ define build-art-executable endif endef - -ifeq ($(ART_BUILD_TARGET_NDEBUG),true) - $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,target,ndebug)) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,target,ndebug)) -endif -ifeq ($(ART_BUILD_TARGET_DEBUG),true) - $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,target,debug)) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,target,debug)) -endif - -# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since they are used to cross compile for the target. -ifeq ($(ART_BUILD_NDEBUG),true) - $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,host,ndebug)) -endif -ifeq ($(ART_BUILD_NDEBUG),true) - $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,host,debug)) -endif - -ifeq ($(ART_BUILD_HOST_NDEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,host,ndebug)) -endif -ifeq ($(ART_BUILD_HOST_DEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,host,debug)) -endif diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk index 8b65efd1fb..51af10c6cb 100644 --- a/build/Android.gtest.mk +++ b/build/Android.gtest.mk @@ -14,53 +14,55 @@ # limitations under the License. # +LOCAL_PATH := art + TEST_COMMON_SRC_FILES := \ - src/barrier_test.cc \ - src/base/histogram_test.cc \ - src/base/mutex_test.cc \ - src/base/unix_file/fd_file_test.cc \ - src/base/unix_file/mapped_file_test.cc \ - src/base/unix_file/null_file_test.cc \ - src/base/unix_file/random_access_file_utils_test.cc \ - src/base/unix_file/string_file_test.cc \ - src/class_linker_test.cc \ - src/compiler/driver/compiler_driver_test.cc \ - src/compiler/elf_writer_test.cc \ - src/compiler/jni/jni_compiler_test.cc \ - src/dex_file_test.cc \ - src/dex_instruction_visitor_test.cc \ - src/dex_method_iterator_test.cc \ - src/exception_test.cc \ - src/gc/accounting/space_bitmap_test.cc \ - src/gc/heap_test.cc \ - src/gc/space/space_test.cc \ - src/gtest_test.cc \ - src/image_test.cc \ - src/indenter_test.cc \ - src/indirect_reference_table_test.cc \ - src/intern_table_test.cc \ - src/jni_internal_test.cc \ - src/mirror/dex_cache_test.cc \ - src/mirror/object_test.cc \ - src/oat/utils/arm/managed_register_arm_test.cc \ - src/oat/utils/x86/managed_register_x86_test.cc \ - src/oat_test.cc \ - src/output_stream_test.cc \ - src/reference_table_test.cc \ - src/runtime_support_test.cc \ - src/runtime_test.cc \ - src/thread_pool_test.cc \ - src/utils_test.cc \ - src/verifier/method_verifier_test.cc \ - src/verifier/reg_type_test.cc \ - src/zip_archive_test.cc + runtime/barrier_test.cc \ + runtime/base/histogram_test.cc \ + runtime/base/mutex_test.cc \ + runtime/base/unix_file/fd_file_test.cc \ + runtime/base/unix_file/mapped_file_test.cc \ + runtime/base/unix_file/null_file_test.cc \ + runtime/base/unix_file/random_access_file_utils_test.cc \ + runtime/base/unix_file/string_file_test.cc \ + runtime/class_linker_test.cc \ + runtime/dex_file_test.cc \ + runtime/dex_instruction_visitor_test.cc \ + runtime/dex_method_iterator_test.cc \ + runtime/exception_test.cc \ + runtime/gc/accounting/space_bitmap_test.cc \ + runtime/gc/heap_test.cc \ + runtime/gc/space/space_test.cc \ + runtime/gtest_test.cc \ + runtime/image_test.cc \ + runtime/indenter_test.cc \ + runtime/indirect_reference_table_test.cc \ + runtime/intern_table_test.cc \ + runtime/jni_internal_test.cc \ + runtime/mirror/dex_cache_test.cc \ + runtime/mirror/object_test.cc \ + runtime/oat/utils/arm/managed_register_arm_test.cc \ + runtime/oat/utils/x86/managed_register_x86_test.cc \ + runtime/oat_test.cc \ + runtime/output_stream_test.cc \ + runtime/reference_table_test.cc \ + runtime/runtime_support_test.cc \ + runtime/runtime_test.cc \ + runtime/thread_pool_test.cc \ + runtime/utils_test.cc \ + runtime/verifier/method_verifier_test.cc \ + runtime/verifier/reg_type_test.cc \ + runtime/zip_archive_test.cc \ + compiler/driver/compiler_driver_test.cc \ + compiler/elf_writer_test.cc \ + compiler/jni/jni_compiler_test.cc TEST_TARGET_SRC_FILES := \ $(TEST_COMMON_SRC_FILES) TEST_HOST_SRC_FILES := \ $(TEST_COMMON_SRC_FILES) \ - src/oat/utils/x86/assembler_x86_test.cc + runtime/oat/utils/x86/assembler_x86_test.cc ART_HOST_TEST_EXECUTABLES := ART_TARGET_TEST_EXECUTABLES := @@ -96,11 +98,11 @@ define build-art-test ifeq ($$(art_target_or_host),target) LOCAL_MODULE_TAGS := tests endif - LOCAL_SRC_FILES := $$(art_gtest_filename) src/common_test.cc - LOCAL_C_INCLUDES += $(ART_C_INCLUDES) + LOCAL_SRC_FILES := $$(art_gtest_filename) runtime/common_test.cc + LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime art/compiler LOCAL_SHARED_LIBRARIES := libartd-compiler libartd - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.gtest.mk + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.gtest.mk # Mac OS linker doesn't understand --export-dynamic. ifneq ($(HOST_OS)-$$(art_target_or_host),darwin-host) diff --git a/build/Android.libart.mk b/build/Android.libart.mk deleted file mode 100644 index 2f17583a58..0000000000 --- a/build/Android.libart.mk +++ /dev/null @@ -1,371 +0,0 @@ -# -# 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. -# - -LIBART_COMMON_SRC_FILES := \ - src/atomic.cc.arm \ - src/barrier.cc \ - src/base/logging.cc \ - src/base/mutex.cc \ - src/base/stringpiece.cc \ - src/base/stringprintf.cc \ - src/base/timing_logger.cc \ - src/base/unix_file/fd_file.cc \ - src/base/unix_file/mapped_file.cc \ - src/base/unix_file/null_file.cc \ - src/base/unix_file/random_access_file_utils.cc \ - src/base/unix_file/string_file.cc \ - src/check_jni.cc \ - src/class_linker.cc \ - src/common_throws.cc \ - src/compiled_method.cc \ - src/debugger.cc \ - src/dex_file.cc \ - src/dex_file_verifier.cc \ - src/dex_instruction.cc \ - src/disassembler.cc \ - src/disassembler_arm.cc \ - src/disassembler_mips.cc \ - src/disassembler_x86.cc \ - src/elf_file.cc \ - src/file_output_stream.cc \ - src/gc/allocator/dlmalloc.cc \ - src/gc/accounting/card_table.cc \ - src/gc/accounting/heap_bitmap.cc \ - src/gc/accounting/mod_union_table.cc \ - src/gc/accounting/space_bitmap.cc \ - src/gc/collector/garbage_collector.cc \ - src/gc/collector/mark_sweep.cc \ - src/gc/collector/partial_mark_sweep.cc \ - src/gc/collector/sticky_mark_sweep.cc \ - src/gc/heap.cc \ - src/gc/space/dlmalloc_space.cc \ - src/gc/space/image_space.cc \ - src/gc/space/large_object_space.cc \ - src/gc/space/space.cc \ - src/hprof/hprof.cc \ - src/image.cc \ - src/indirect_reference_table.cc \ - src/instrumentation.cc \ - src/intern_table.cc \ - src/interpreter/interpreter.cc \ - src/jdwp/jdwp_event.cc \ - src/jdwp/jdwp_expand_buf.cc \ - src/jdwp/jdwp_handler.cc \ - src/jdwp/jdwp_main.cc \ - src/jdwp/jdwp_request.cc \ - src/jdwp/jdwp_socket.cc \ - src/jdwp/object_registry.cc \ - src/jni_internal.cc \ - src/jobject_comparator.cc \ - src/locks.cc \ - src/mem_map.cc \ - src/memory_region.cc \ - src/mirror/abstract_method.cc \ - src/mirror/array.cc \ - src/mirror/class.cc \ - src/mirror/dex_cache.cc \ - src/mirror/field.cc \ - src/mirror/object.cc \ - src/mirror/stack_trace_element.cc \ - src/mirror/string.cc \ - src/mirror/throwable.cc \ - src/monitor.cc \ - src/native/dalvik_system_DexFile.cc \ - src/native/dalvik_system_VMDebug.cc \ - src/native/dalvik_system_VMRuntime.cc \ - src/native/dalvik_system_VMStack.cc \ - src/native/dalvik_system_Zygote.cc \ - src/native/java_lang_Class.cc \ - src/native/java_lang_Object.cc \ - src/native/java_lang_Runtime.cc \ - src/native/java_lang_String.cc \ - src/native/java_lang_System.cc \ - src/native/java_lang_Thread.cc \ - src/native/java_lang_Throwable.cc \ - src/native/java_lang_VMClassLoader.cc \ - src/native/java_lang_reflect_Array.cc \ - src/native/java_lang_reflect_Constructor.cc \ - src/native/java_lang_reflect_Field.cc \ - src/native/java_lang_reflect_Method.cc \ - src/native/java_lang_reflect_Proxy.cc \ - src/native/java_util_concurrent_atomic_AtomicLong.cc \ - src/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc \ - src/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc \ - src/native/sun_misc_Unsafe.cc \ - src/oat.cc \ - src/oat/utils/arm/assembler_arm.cc \ - src/oat/utils/arm/managed_register_arm.cc \ - src/oat/utils/assembler.cc \ - src/oat/utils/mips/assembler_mips.cc \ - src/oat/utils/mips/managed_register_mips.cc \ - src/oat/utils/x86/assembler_x86.cc \ - src/oat/utils/x86/managed_register_x86.cc \ - src/oat_file.cc \ - src/offsets.cc \ - src/os_linux.cc \ - src/primitive.cc \ - src/reference_table.cc \ - src/reflection.cc \ - src/runtime.cc \ - src/runtime_support.cc \ - src/runtime_support_llvm.cc \ - src/signal_catcher.cc \ - src/stack.cc \ - src/thread.cc \ - src/thread_list.cc \ - src/thread_pool.cc \ - src/throw_location.cc \ - src/trace.cc \ - src/utf.cc \ - src/utils.cc \ - src/vector_output_stream.cc \ - src/verifier/dex_gc_map.cc \ - src/verifier/instruction_flags.cc \ - src/verifier/method_verifier.cc \ - src/verifier/reg_type.cc \ - src/verifier/reg_type_cache.cc \ - src/verifier/register_line.cc \ - src/well_known_classes.cc \ - src/zip_archive.cc - -LIBART_COMMON_SRC_FILES += \ - src/oat/runtime/context.cc \ - src/oat/runtime/support_alloc.cc \ - src/oat/runtime/support_cast.cc \ - src/oat/runtime/support_deoptimize.cc \ - src/oat/runtime/support_dexcache.cc \ - src/oat/runtime/support_field.cc \ - src/oat/runtime/support_fillarray.cc \ - src/oat/runtime/support_instrumentation.cc \ - src/oat/runtime/support_invoke.cc \ - src/oat/runtime/support_jni.cc \ - src/oat/runtime/support_locks.cc \ - src/oat/runtime/support_math.cc \ - src/oat/runtime/support_proxy.cc \ - src/oat/runtime/support_stubs.cc \ - src/oat/runtime/support_thread.cc \ - src/oat/runtime/support_throw.cc \ - src/oat/runtime/support_interpreter.cc - -ifeq ($(ART_SEA_IR_MODE),true) -LIBART_COMMON_SRC_FILES += \ - src/compiler/sea_ir/sea.cc \ - src/compiler/sea_ir/instruction_tools.cc -endif - -LIBART_TARGET_SRC_FILES := \ - $(LIBART_COMMON_SRC_FILES) \ - src/base/logging_android.cc \ - src/jdwp/jdwp_adb.cc \ - src/monitor_android.cc \ - src/runtime_android.cc \ - src/thread_android.cc - -ifeq ($(TARGET_ARCH),arm) -LIBART_TARGET_SRC_FILES += \ - src/oat/runtime/arm/context_arm.cc.arm \ - src/oat/runtime/arm/oat_support_entrypoints_arm.cc \ - src/oat/runtime/arm/runtime_support_arm.S -else # TARGET_ARCH != arm -ifeq ($(TARGET_ARCH),x86) -LIBART_TARGET_SRC_FILES += \ - src/oat/runtime/x86/context_x86.cc \ - src/oat/runtime/x86/oat_support_entrypoints_x86.cc \ - src/oat/runtime/x86/runtime_support_x86.S -else # TARGET_ARCH != x86 -ifeq ($(TARGET_ARCH),mips) -LIBART_TARGET_SRC_FILES += \ - src/oat/runtime/mips/context_mips.cc \ - src/oat/runtime/mips/oat_support_entrypoints_mips.cc \ - src/oat/runtime/mips/runtime_support_mips.S -else # TARGET_ARCH != mips -$(error unsupported TARGET_ARCH=$(TARGET_ARCH)) -endif # TARGET_ARCH != mips -endif # TARGET_ARCH != x86 -endif # TARGET_ARCH != arm - -ifeq ($(TARGET_ARCH),arm) -LIBART_TARGET_SRC_FILES += src/thread_arm.cc -else # TARGET_ARCH != arm -ifeq ($(TARGET_ARCH),x86) -LIBART_TARGET_SRC_FILES += src/thread_x86.cc -else # TARGET_ARCH != x86 -ifeq ($(TARGET_ARCH),mips) -LIBART_TARGET_SRC_FILES += src/thread_mips.cc -else # TARGET_ARCH != mips -$(error unsupported TARGET_ARCH=$(TARGET_ARCH)) -endif # TARGET_ARCH != mips -endif # TARGET_ARCH != x86 -endif # TARGET_ARCH != arm - -LIBART_HOST_SRC_FILES := \ - $(LIBART_COMMON_SRC_FILES) \ - src/base/logging_linux.cc \ - src/monitor_linux.cc \ - src/runtime_linux.cc \ - src/thread_linux.cc - -ifeq ($(HOST_ARCH),x86) -LIBART_HOST_SRC_FILES += \ - src/oat/runtime/x86/context_x86.cc \ - src/oat/runtime/x86/oat_support_entrypoints_x86.cc \ - src/oat/runtime/x86/runtime_support_x86.S -else # HOST_ARCH != x86 -$(error unsupported HOST_ARCH=$(HOST_ARCH)) -endif # HOST_ARCH != x86 - -ifeq ($(HOST_ARCH),x86) -LIBART_HOST_SRC_FILES += src/thread_x86.cc -else # HOST_ARCH != x86 -$(error unsupported HOST_ARCH=$(HOST_ARCH)) -endif # HOST_ARCH != x86 - - -LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \ - src/base/mutex.h \ - src/compiler/dex/compiler_enums.h \ - src/dex_file.h \ - src/dex_instruction.h \ - src/gc/collector/gc_type.h \ - src/gc/space/space.h \ - src/gc/heap.h \ - src/indirect_reference_table.h \ - src/instruction_set.h \ - src/invoke_type.h \ - src/jdwp/jdwp.h \ - src/jdwp/jdwp_constants.h \ - src/locks.h \ - src/mirror/class.h \ - src/thread.h \ - src/thread_state.h \ - src/verifier/method_verifier.h - -LIBART_CFLAGS := -ifeq ($(ART_USE_PORTABLE_COMPILER),true) - LIBART_CFLAGS += -DART_USE_PORTABLE_COMPILER=1 -endif - -# $(1): target or host -# $(2): ndebug or debug -define build-libart - ifneq ($(1),target) - ifneq ($(1),host) - $$(error expected target or host for argument 1, received $(1)) - endif - endif - ifneq ($(2),ndebug) - ifneq ($(2),debug) - $$(error expected ndebug or debug for argument 2, received $(2)) - endif - endif - - art_target_or_host := $(1) - art_ndebug_or_debug := $(2) - - include $(CLEAR_VARS) - ifeq ($$(art_target_or_host),target) - include external/stlport/libstlport.mk - endif - LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION) - ifeq ($$(art_ndebug_or_debug),ndebug) - LOCAL_MODULE := libart - else # debug - LOCAL_MODULE := libartd - endif - - LOCAL_MODULE_TAGS := optional - LOCAL_MODULE_CLASS := SHARED_LIBRARIES - - ifeq ($$(art_target_or_host),target) - LOCAL_SRC_FILES := $(LIBART_TARGET_SRC_FILES) - else # host - LOCAL_SRC_FILES := $(LIBART_HOST_SRC_FILES) - LOCAL_IS_HOST_MODULE := true - endif - - GENERATED_SRC_DIR := $$(call intermediates-dir-for,$$(LOCAL_MODULE_CLASS),$$(LOCAL_MODULE),$$(LOCAL_IS_HOST_MODULE),) - ENUM_OPERATOR_OUT_CC_FILES := $$(patsubst %.h,%_operator_out.cc,$$(LIBART_ENUM_OPERATOR_OUT_HEADER_FILES)) - ENUM_OPERATOR_OUT_GEN := $$(addprefix $$(GENERATED_SRC_DIR)/,$$(ENUM_OPERATOR_OUT_CC_FILES)) - -$$(ENUM_OPERATOR_OUT_GEN): art/tools/generate-operator-out.py -$$(ENUM_OPERATOR_OUT_GEN): PRIVATE_CUSTOM_TOOL = art/tools/generate-operator-out.py $$< > $$@ -$$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : art/%.h - $$(transform-generated-source) - - LOCAL_GENERATED_SOURCES += $$(ENUM_OPERATOR_OUT_GEN) - - LOCAL_CFLAGS := $(LIBART_CFLAGS) - ifeq ($$(art_target_or_host),target) - LOCAL_CLANG := $(ART_TARGET_CLANG) - LOCAL_CFLAGS += $(ART_TARGET_CFLAGS) - else # host - LOCAL_CLANG := $(ART_HOST_CLANG) - LOCAL_CFLAGS += $(ART_HOST_CFLAGS) - endif - ifeq ($$(art_ndebug_or_debug),debug) - ifeq ($$(art_target_or_host),target) - LOCAL_CFLAGS += $(ART_TARGET_DEBUG_CFLAGS) - else # host - LOCAL_CFLAGS += $(ART_HOST_DEBUG_CFLAGS) - LOCAL_LDLIBS += $(ART_HOST_DEBUG_LDLIBS) - LOCAL_STATIC_LIBRARIES := libgtest_host - endif - else - ifeq ($$(art_target_or_host),target) - LOCAL_CFLAGS += $(ART_TARGET_NON_DEBUG_CFLAGS) - else # host - LOCAL_CFLAGS += $(ART_HOST_NON_DEBUG_CFLAGS) - endif - endif - LOCAL_C_INCLUDES += $(ART_C_INCLUDES) - LOCAL_SHARED_LIBRARIES := liblog libnativehelper - LOCAL_SHARED_LIBRARIES += libcorkscrew # native stack trace support - ifeq ($$(art_target_or_host),target) - LOCAL_SHARED_LIBRARIES += libcutils libstlport libz libdl libselinux - else # host - LOCAL_STATIC_LIBRARIES += libcutils - LOCAL_SHARED_LIBRARIES += libz-host - LOCAL_LDLIBS += -ldl -lpthread - ifeq ($(HOST_OS),linux) - LOCAL_LDLIBS += -lrt - endif - endif - include $(LLVM_GEN_INTRINSICS_MK) - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.libart.mk - ifeq ($$(art_target_or_host),target) - include $(LLVM_DEVICE_BUILD_MK) - include $(BUILD_SHARED_LIBRARY) - else # host - include $(LLVM_HOST_BUILD_MK) - include $(BUILD_HOST_SHARED_LIBRARY) - endif -endef - -ifeq ($(ART_BUILD_TARGET_NDEBUG),true) - $(eval $(call build-libart,target,ndebug)) -endif -ifeq ($(ART_BUILD_TARGET_DEBUG),true) - $(eval $(call build-libart,target,debug)) -endif - -# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since they are used to cross compile for the target. -ifeq ($(ART_BUILD_NDEBUG),true) - $(eval $(call build-libart,host,ndebug)) -endif -ifeq ($(ART_BUILD_DEBUG),true) - $(eval $(call build-libart,host,debug)) -endif diff --git a/build/Android.libarttest.mk b/build/Android.libarttest.mk index 64f8368a3c..239f6c1dad 100644 --- a/build/Android.libarttest.mk +++ b/build/Android.libarttest.mk @@ -40,7 +40,7 @@ define build-libarttest endif LOCAL_SRC_FILES := $(LIBARTTEST_COMMON_SRC_FILES) LOCAL_SHARED_LIBRARIES := libartd - LOCAL_C_INCLUDES += $(ART_C_INCLUDES) + LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.libarttest.mk ifeq ($$(art_target_or_host),target) diff --git a/build/Android.oattest.mk b/build/Android.oattest.mk deleted file mode 100644 index 6ee8492000..0000000000 --- a/build/Android.oattest.mk +++ /dev/null @@ -1,138 +0,0 @@ -# -# 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. -# - -######################################################################## - -# subdirectories of test/ which are used as inputs for gtests -TEST_DEX_DIRECTORIES := \ - AbstractMethod \ - AllFields \ - CreateMethodSignature \ - ExceptionHandle \ - Interfaces \ - Main \ - MyClass \ - MyClassNatives \ - Nested \ - NonStaticLeafMethods \ - ProtoCompare \ - ProtoCompare2 \ - StaticLeafMethods \ - Statics \ - StaticsFromCode \ - XandY - -# subdirectories of test/ which are used with test-art-target-oat -# Declare the simplest tests (Main, HelloWorld) first, the rest are alphabetical -TEST_OAT_DIRECTORIES := \ - Main \ - HelloWorld \ - \ - ParallelGC \ - ReferenceMap \ - StackWalk \ - ThreadStress - -# TODO: Enable when the StackWalk2 tests are passing -# StackWalk2 \ - -ART_TEST_TARGET_DEX_FILES := -ART_TEST_HOST_DEX_FILES := - -# $(1): module prefix -# $(2): input test directory -# $(3): target output module path (default module path is used on host) -define build-art-test-dex - ifeq ($(ART_BUILD_TARGET),true) - include $(CLEAR_VARS) - LOCAL_MODULE := $(1)-$(2) - LOCAL_MODULE_TAGS := tests - LOCAL_SRC_FILES := $(call all-java-files-under, test/$(2)) - LOCAL_JAVA_LIBRARIES := $(TARGET_CORE_JARS) - LOCAL_NO_STANDARD_LIBRARIES := true - LOCAL_MODULE_PATH := $(3) - LOCAL_DEX_PREOPT_IMAGE := $(TARGET_CORE_IMG_OUT) - LOCAL_DEX_PREOPT := false - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.oattest.mk - include $(BUILD_JAVA_LIBRARY) - ART_TEST_TARGET_DEX_FILES += $(3)/$$(LOCAL_MODULE).jar - endif - - ifeq ($(ART_BUILD_HOST),true) - include $(CLEAR_VARS) - LOCAL_MODULE := $(1)-$(2) - LOCAL_SRC_FILES := $(call all-java-files-under, test/$(2)) - LOCAL_JAVA_LIBRARIES := $(HOST_CORE_JARS) - LOCAL_NO_STANDARD_LIBRARIES := true - LOCAL_DEX_PREOPT_IMAGE := $(HOST_CORE_IMG_OUT) - LOCAL_BUILD_HOST_DEX := true - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.oattest.mk - include $(BUILD_HOST_JAVA_LIBRARY) - ART_TEST_HOST_DEX_FILES += $$(LOCAL_MODULE_PATH)/$$(LOCAL_MODULE).jar - endif -endef -$(foreach dir,$(TEST_DEX_DIRECTORIES), $(eval $(call build-art-test-dex,art-test-dex,$(dir),$(ART_NATIVETEST_OUT)))) -$(foreach dir,$(TEST_OAT_DIRECTORIES), $(eval $(call build-art-test-dex,oat-test-dex,$(dir),$(ART_TEST_OUT)))) - -######################################################################## - -ART_TEST_TARGET_OAT_TARGETS := -ART_TEST_HOST_OAT_TARGETS := -ART_TEST_HOST_INTERPRETER_OAT_TARGETS := - -# $(1): directory -# $(2): arguments -define declare-test-art-oat-targets -.PHONY: test-art-target-oat-$(1) -test-art-target-oat-$(1): $(ART_TEST_OUT)/oat-test-dex-$(1).jar test-art-target-sync - adb shell touch $(ART_TEST_DIR)/test-art-target-oat-$(1) - adb shell rm $(ART_TEST_DIR)/test-art-target-oat-$(1) - adb shell sh -c "dalvikvm -XXlib:libartd.so -Ximage:$(ART_TEST_DIR)/core.art -classpath $(ART_TEST_DIR)/oat-test-dex-$(1).jar -Djava.library.path=$(ART_TEST_DIR) $(1) $(2) && touch $(ART_TEST_DIR)/test-art-target-oat-$(1)" - $(hide) (adb pull $(ART_TEST_DIR)/test-art-target-oat-$(1) /tmp/ && echo test-art-target-oat-$(1) PASSED) || (echo test-art-target-oat-$(1) FAILED && exit 1) - $(hide) rm /tmp/test-art-target-oat-$(1) - -$(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex: $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar $(HOST_CORE_IMG_OUT) | $(DEX2OAT) - $(DEX2OAT) --runtime-arg -Xms16m --runtime-arg -Xmx16m --boot-image=$(HOST_CORE_IMG_OUT) --dex-file=$$< --oat-file=$$@ --instruction-set=$(HOST_ARCH) --host --host-prefix="" --android-root=$(HOST_OUT) - -.PHONY: test-art-host-oat-$(1) -test-art-host-oat-$(1): $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex test-art-host-dependencies - mkdir -p /tmp/android-data/test-art-host-oat-$(1) - ANDROID_DATA=/tmp/android-data/test-art-host-oat-$(1) \ - ANDROID_ROOT=$(HOST_OUT) \ - LD_LIBRARY_PATH=$(HOST_OUT_SHARED_LIBRARIES) \ - dalvikvm -XXlib:libartd.so -Ximage:$(shell pwd)/$(HOST_CORE_IMG_OUT) -classpath $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar -Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES) $(1) $(2) \ - && echo test-art-host-oat-$(1) PASSED || (echo test-art-host-oat-$(1) FAILED && exit 1) - $(hide) rm -r /tmp/android-data/test-art-host-oat-$(1) - -.PHONY: test-art-host-interpreter-oat-$(1) -test-art-host-interpreter-oat-$(1): $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex test-art-host-dependencies - mkdir -p /tmp/android-data/test-art-host-interpreter-oat-$(1) - ANDROID_DATA=/tmp/android-data/test-art-host-interpreter-oat-$(1) \ - ANDROID_ROOT=$(HOST_OUT) \ - LD_LIBRARY_PATH=$(HOST_OUT_SHARED_LIBRARIES) \ - dalvikvm -XXlib:libartd.so -Ximage:$(shell pwd)/$(HOST_CORE_IMG_OUT) -Xint -classpath $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar -Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES) $(1) $(2) \ - && echo test-art-host-interpreter-oat-$(1) PASSED || (echo test-art-host-interpreter-oat-$(1) FAILED && exit 1) - $(hide) rm -r /tmp/android-data/test-art-host-interpreter-oat-$(1) - -ART_TEST_TARGET_OAT_TARGETS += test-art-target-oat-$(1) -ART_TEST_HOST_OAT_TARGETS += test-art-host-oat-$(1) -ART_TEST_HOST_INTERPRETER_OAT_TARGETS += test-art-host-interpreter-oat-$(1) -endef -$(foreach dir,$(TEST_OAT_DIRECTORIES), $(eval $(call declare-test-art-oat-targets,$(dir)))) - -######################################################################## diff --git a/build/Android.libart-compiler.mk b/compiler/Android.mk index ce6edbaf33..40a74c11e2 100644 --- a/build/Android.libart-compiler.mk +++ b/compiler/Android.mk @@ -14,83 +14,90 @@ # limitations under the License. # +LOCAL_PATH := $(call my-dir) + +include art/build/Android.common.mk + LIBART_COMPILER_SRC_FILES := \ - src/compiler/dex/local_value_numbering.cc \ - src/compiler/dex/arena_allocator.cc \ - src/compiler/dex/arena_bit_vector.cc \ - src/compiler/dex/quick/arm/assemble_arm.cc \ - src/compiler/dex/quick/arm/call_arm.cc \ - src/compiler/dex/quick/arm/fp_arm.cc \ - src/compiler/dex/quick/arm/int_arm.cc \ - src/compiler/dex/quick/arm/target_arm.cc \ - src/compiler/dex/quick/arm/utility_arm.cc \ - src/compiler/dex/quick/codegen_util.cc \ - src/compiler/dex/quick/gen_common.cc \ - src/compiler/dex/quick/gen_invoke.cc \ - src/compiler/dex/quick/gen_loadstore.cc \ - src/compiler/dex/quick/local_optimizations.cc \ - src/compiler/dex/quick/mips/assemble_mips.cc \ - src/compiler/dex/quick/mips/call_mips.cc \ - src/compiler/dex/quick/mips/fp_mips.cc \ - src/compiler/dex/quick/mips/int_mips.cc \ - src/compiler/dex/quick/mips/target_mips.cc \ - src/compiler/dex/quick/mips/utility_mips.cc \ - src/compiler/dex/quick/mir_to_lir.cc \ - src/compiler/dex/quick/ralloc_util.cc \ - src/compiler/dex/quick/x86/assemble_x86.cc \ - src/compiler/dex/quick/x86/call_x86.cc \ - src/compiler/dex/quick/x86/fp_x86.cc \ - src/compiler/dex/quick/x86/int_x86.cc \ - src/compiler/dex/quick/x86/target_x86.cc \ - src/compiler/dex/quick/x86/utility_x86.cc \ - src/compiler/dex/portable/mir_to_gbc.cc \ - src/compiler/dex/dex_to_dex_compiler.cc \ - src/compiler/dex/mir_dataflow.cc \ - src/compiler/dex/mir_optimization.cc \ - src/compiler/dex/frontend.cc \ - src/compiler/dex/mir_graph.cc \ - src/compiler/dex/vreg_analysis.cc \ - src/compiler/dex/ssa_transformation.cc \ - src/compiler/driver/compiler_driver.cc \ - src/compiler/driver/dex_compilation_unit.cc \ - src/compiler/jni/portable/jni_compiler.cc \ - src/compiler/jni/quick/arm/calling_convention_arm.cc \ - src/compiler/jni/quick/mips/calling_convention_mips.cc \ - src/compiler/jni/quick/x86/calling_convention_x86.cc \ - src/compiler/jni/quick/calling_convention.cc \ - src/compiler/jni/quick/jni_compiler.cc \ - src/compiler/llvm/compiler_llvm.cc \ - src/compiler/llvm/gbc_expander.cc \ - src/compiler/llvm/generated/art_module.cc \ - src/compiler/llvm/intrinsic_helper.cc \ - src/compiler/llvm/ir_builder.cc \ - src/compiler/llvm/llvm_compilation_unit.cc \ - src/compiler/llvm/md_builder.cc \ - src/compiler/llvm/runtime_support_builder.cc \ - src/compiler/llvm/runtime_support_builder_arm.cc \ - src/compiler/llvm/runtime_support_builder_thumb2.cc \ - src/compiler/llvm/runtime_support_builder_x86.cc \ - src/compiler/stubs/portable/stubs.cc \ - src/compiler/stubs/quick/stubs.cc \ - src/compiler/elf_fixup.cc \ - src/compiler/elf_stripper.cc \ - src/compiler/elf_writer.cc \ - src/compiler/elf_writer_quick.cc \ - src/compiler/image_writer.cc \ - src/compiler/oat_writer.cc + dex/local_value_numbering.cc \ + dex/arena_allocator.cc \ + dex/arena_bit_vector.cc \ + dex/quick/arm/assemble_arm.cc \ + dex/quick/arm/call_arm.cc \ + dex/quick/arm/fp_arm.cc \ + dex/quick/arm/int_arm.cc \ + dex/quick/arm/target_arm.cc \ + dex/quick/arm/utility_arm.cc \ + dex/quick/codegen_util.cc \ + dex/quick/gen_common.cc \ + dex/quick/gen_invoke.cc \ + dex/quick/gen_loadstore.cc \ + dex/quick/local_optimizations.cc \ + dex/quick/mips/assemble_mips.cc \ + dex/quick/mips/call_mips.cc \ + dex/quick/mips/fp_mips.cc \ + dex/quick/mips/int_mips.cc \ + dex/quick/mips/target_mips.cc \ + dex/quick/mips/utility_mips.cc \ + dex/quick/mir_to_lir.cc \ + dex/quick/ralloc_util.cc \ + dex/quick/x86/assemble_x86.cc \ + dex/quick/x86/call_x86.cc \ + dex/quick/x86/fp_x86.cc \ + dex/quick/x86/int_x86.cc \ + dex/quick/x86/target_x86.cc \ + dex/quick/x86/utility_x86.cc \ + dex/portable/mir_to_gbc.cc \ + dex/dex_to_dex_compiler.cc \ + dex/mir_dataflow.cc \ + dex/mir_optimization.cc \ + dex/frontend.cc \ + dex/mir_graph.cc \ + dex/vreg_analysis.cc \ + dex/ssa_transformation.cc \ + driver/compiler_driver.cc \ + driver/dex_compilation_unit.cc \ + jni/portable/jni_compiler.cc \ + jni/quick/arm/calling_convention_arm.cc \ + jni/quick/mips/calling_convention_mips.cc \ + jni/quick/x86/calling_convention_x86.cc \ + jni/quick/calling_convention.cc \ + jni/quick/jni_compiler.cc \ + llvm/compiler_llvm.cc \ + llvm/gbc_expander.cc \ + llvm/generated/art_module.cc \ + llvm/intrinsic_helper.cc \ + llvm/ir_builder.cc \ + llvm/llvm_compilation_unit.cc \ + llvm/md_builder.cc \ + llvm/runtime_support_builder.cc \ + llvm/runtime_support_builder_arm.cc \ + llvm/runtime_support_builder_thumb2.cc \ + llvm/runtime_support_builder_x86.cc \ + stubs/portable/stubs.cc \ + stubs/quick/stubs.cc \ + elf_fixup.cc \ + elf_stripper.cc \ + elf_writer.cc \ + elf_writer_quick.cc \ + image_writer.cc \ + oat_writer.cc ifeq ($(ART_SEA_IR_MODE),true) LIBART_COMPILER_SRC_FILES += \ - src/compiler/sea_ir/frontend.cc \ - src/compiler/sea_ir/instruction_tools.cc + sea_ir/frontend.cc \ + sea_ir/instruction_tools.cc endif LIBART_COMPILER_CFLAGS := ifeq ($(ART_USE_PORTABLE_COMPILER),true) - LIBART_COMPILER_SRC_FILES += src/compiler/elf_writer_mclinker.cc + LIBART_COMPILER_SRC_FILES += elf_writer_mclinker.cc LIBART_COMPILER_CFLAGS += -DART_USE_PORTABLE_COMPILER=1 endif +LIBART_COMPILER_ENUM_OPERATOR_OUT_HEADER_FILES := \ + dex/compiler_enums.h + # $(1): target or host # $(2): ndebug or debug define build-libart-compiler @@ -111,6 +118,8 @@ define build-libart-compiler include $(CLEAR_VARS) ifeq ($$(art_target_or_host),target) include external/stlport/libstlport.mk + else + LOCAL_IS_HOST_MODULE := true endif LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION) ifeq ($$(art_ndebug_or_debug),ndebug) @@ -124,6 +133,17 @@ define build-libart-compiler LOCAL_SRC_FILES := $$(LIBART_COMPILER_SRC_FILES) + GENERATED_SRC_DIR := $$(call intermediates-dir-for,$$(LOCAL_MODULE_CLASS),$$(LOCAL_MODULE),$$(LOCAL_IS_HOST_MODULE),) + ENUM_OPERATOR_OUT_CC_FILES := $$(patsubst %.h,%_operator_out.cc,$$(LIBART_COMPILER_ENUM_OPERATOR_OUT_HEADER_FILES)) + ENUM_OPERATOR_OUT_GEN := $$(addprefix $$(GENERATED_SRC_DIR)/,$$(ENUM_OPERATOR_OUT_CC_FILES)) + +$$(ENUM_OPERATOR_OUT_GEN): art/tools/generate-operator-out.py +$$(ENUM_OPERATOR_OUT_GEN): PRIVATE_CUSTOM_TOOL = art/tools/generate-operator-out.py $(LOCAL_PATH) $$< > $$@ +$$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : $(LOCAL_PATH)/%.h + $$(transform-generated-source) + + LOCAL_GENERATED_SOURCES += $$(ENUM_OPERATOR_OUT_GEN) + LOCAL_CFLAGS := $$(LIBART_COMPILER_CFLAGS) ifeq ($$(art_target_or_host),target) LOCAL_CLANG := $(ART_TARGET_CLANG) @@ -158,22 +178,21 @@ define build-libart-compiler LOCAL_CFLAGS += -DART_USE_PORTABLE_COMPILER=1 endif - LOCAL_C_INCLUDES += $(ART_C_INCLUDES) + LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime ifeq ($$(art_target_or_host),target) LOCAL_SHARED_LIBRARIES += libstlport else # host LOCAL_LDLIBS := -ldl -lpthread endif - LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/build/Android.common.mk - LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/build/Android.libart-compiler.mk + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk ifeq ($$(art_target_or_host),target) LOCAL_SHARED_LIBRARIES += libcutils include $(LLVM_GEN_INTRINSICS_MK) include $(LLVM_DEVICE_BUILD_MK) include $(BUILD_SHARED_LIBRARY) else # host - LOCAL_IS_HOST_MODULE := true LOCAL_STATIC_LIBRARIES += libcutils include $(LLVM_GEN_INTRINSICS_MK) include $(LLVM_HOST_BUILD_MK) diff --git a/src/compiler/dex/arena_allocator.cc b/compiler/dex/arena_allocator.cc index 3a3e3858b3..3a3e3858b3 100644 --- a/src/compiler/dex/arena_allocator.cc +++ b/compiler/dex/arena_allocator.cc diff --git a/src/compiler/dex/arena_allocator.h b/compiler/dex/arena_allocator.h index 78d4614f90..78d4614f90 100644 --- a/src/compiler/dex/arena_allocator.h +++ b/compiler/dex/arena_allocator.h diff --git a/src/compiler/dex/arena_bit_vector.cc b/compiler/dex/arena_bit_vector.cc index 1fbf7740ac..1fbf7740ac 100644 --- a/src/compiler/dex/arena_bit_vector.cc +++ b/compiler/dex/arena_bit_vector.cc diff --git a/src/compiler/dex/arena_bit_vector.h b/compiler/dex/arena_bit_vector.h index a950e82498..a950e82498 100644 --- a/src/compiler/dex/arena_bit_vector.h +++ b/compiler/dex/arena_bit_vector.h diff --git a/src/compiler/dex/backend.h b/compiler/dex/backend.h index 45a1531b85..45a1531b85 100644 --- a/src/compiler/dex/backend.h +++ b/compiler/dex/backend.h diff --git a/src/compiler/dex/compiler_enums.h b/compiler/dex/compiler_enums.h index bc456b2e70..bc456b2e70 100644 --- a/src/compiler/dex/compiler_enums.h +++ b/compiler/dex/compiler_enums.h diff --git a/src/compiler/dex/compiler_internals.h b/compiler/dex/compiler_internals.h index c680f1bc67..a3fa25e842 100644 --- a/src/compiler/dex/compiler_internals.h +++ b/compiler/dex/compiler_internals.h @@ -24,8 +24,8 @@ #include "base/logging.h" #include "class_linker.h" +#include "driver/compiler_driver.h" #include "quick/mir_to_lir.h" -#include "compiler/driver/compiler_driver.h" #include "mir_graph.h" #include "compiler_ir.h" #include "frontend.h" diff --git a/src/compiler/dex/compiler_ir.h b/compiler/dex/compiler_ir.h index eb1aec187a..c6f99f3a88 100644 --- a/src/compiler/dex/compiler_ir.h +++ b/compiler/dex/compiler_ir.h @@ -19,16 +19,16 @@ #include <vector> #include <llvm/IR/Module.h> -#include "compiler/dex/quick/mir_to_lir.h" +#include "arena_allocator.h" #include "backend.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/driver/dex_compilation_unit.h" -#include "compiler/llvm/intrinsic_helper.h" -#include "compiler/llvm/ir_builder.h" #include "compiler_enums.h" +#include "dex/quick/mir_to_lir.h" #include "dex_instruction.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" +#include "llvm/intrinsic_helper.h" +#include "llvm/ir_builder.h" #include "safe_map.h" -#include "arena_allocator.h" namespace art { diff --git a/src/compiler/dex/dataflow_iterator-inl.h b/compiler/dex/dataflow_iterator-inl.h index b20004decc..b20004decc 100644 --- a/src/compiler/dex/dataflow_iterator-inl.h +++ b/compiler/dex/dataflow_iterator-inl.h diff --git a/src/compiler/dex/dataflow_iterator.h b/compiler/dex/dataflow_iterator.h index 12cbf9cadf..12cbf9cadf 100644 --- a/src/compiler/dex/dataflow_iterator.h +++ b/compiler/dex/dataflow_iterator.h diff --git a/src/compiler/dex/dex_to_dex_compiler.cc b/compiler/dex/dex_to_dex_compiler.cc index 734829a63d..ee68a5dc85 100644 --- a/src/compiler/dex/dex_to_dex_compiler.cc +++ b/compiler/dex/dex_to_dex_compiler.cc @@ -16,10 +16,10 @@ #include "base/logging.h" #include "base/mutex.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/driver/dex_compilation_unit.h" #include "dex_file-inl.h" #include "dex_instruction-inl.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" #include "mirror/abstract_method-inl.h" #include "mirror/class-inl.h" #include "mirror/dex_cache.h" diff --git a/src/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index 033657b351..746d475a9b 100644 --- a/src/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -16,19 +16,20 @@ #include <llvm/Support/Threading.h> -#include "compiler/driver/compiler_driver.h" #include "compiler_internals.h" +#include "driver/compiler_driver.h" #include "dataflow_iterator-inl.h" -#if defined(ART_USE_PORTABLE_COMPILER) -#include "compiler/llvm/llvm_compilation_unit.h" -#include "compiler/dex/portable/mir_to_gbc.h" -#endif #include "leb128.h" #include "mirror/object.h" #include "runtime.h" #include "backend.h" #include "base/logging.h" +#if defined(ART_USE_PORTABLE_COMPILER) +#include "dex/portable/mir_to_gbc.h" +#include "llvm/llvm_compilation_unit.h" +#endif + namespace { #if !defined(ART_USE_PORTABLE_COMPILER) pthread_once_t llvm_multi_init = PTHREAD_ONCE_INIT; diff --git a/src/compiler/dex/frontend.h b/compiler/dex/frontend.h index 69d7f7728c..69d7f7728c 100644 --- a/src/compiler/dex/frontend.h +++ b/compiler/dex/frontend.h diff --git a/src/compiler/dex/growable_array.h b/compiler/dex/growable_array.h index c4684a71f6..c4684a71f6 100644 --- a/src/compiler/dex/growable_array.h +++ b/compiler/dex/growable_array.h diff --git a/src/compiler/dex/local_value_numbering.cc b/compiler/dex/local_value_numbering.cc index ec5ab5db38..ec5ab5db38 100644 --- a/src/compiler/dex/local_value_numbering.cc +++ b/compiler/dex/local_value_numbering.cc diff --git a/src/compiler/dex/local_value_numbering.h b/compiler/dex/local_value_numbering.h index beb4cea733..beb4cea733 100644 --- a/src/compiler/dex/local_value_numbering.h +++ b/compiler/dex/local_value_numbering.h diff --git a/src/compiler/dex/mir_dataflow.cc b/compiler/dex/mir_dataflow.cc index 6c152d2fb3..6c152d2fb3 100644 --- a/src/compiler/dex/mir_dataflow.cc +++ b/compiler/dex/mir_dataflow.cc diff --git a/src/compiler/dex/mir_graph.cc b/compiler/dex/mir_graph.cc index 11e100dc61..11e100dc61 100644 --- a/src/compiler/dex/mir_graph.cc +++ b/compiler/dex/mir_graph.cc diff --git a/src/compiler/dex/mir_graph.h b/compiler/dex/mir_graph.h index 2b1c21fd70..2b1c21fd70 100644 --- a/src/compiler/dex/mir_graph.h +++ b/compiler/dex/mir_graph.h diff --git a/src/compiler/dex/mir_optimization.cc b/compiler/dex/mir_optimization.cc index 6b8f3f0915..6b8f3f0915 100644 --- a/src/compiler/dex/mir_optimization.cc +++ b/compiler/dex/mir_optimization.cc diff --git a/src/compiler/dex/portable/mir_to_gbc.cc b/compiler/dex/portable/mir_to_gbc.cc index 1f9c92a3d2..2be1ef435b 100644 --- a/src/compiler/dex/portable/mir_to_gbc.cc +++ b/compiler/dex/portable/mir_to_gbc.cc @@ -27,13 +27,13 @@ #include <llvm/Support/InstIterator.h> #include <llvm/Support/ToolOutputFile.h> -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/dataflow_iterator-inl.h" -#include "compiler/dex/frontend.h" +#include "dex/compiler_internals.h" +#include "dex/dataflow_iterator-inl.h" +#include "dex/frontend.h" #include "mir_to_gbc.h" -#include "compiler/llvm/llvm_compilation_unit.h" -#include "compiler/llvm/utils_llvm.h" +#include "llvm/llvm_compilation_unit.h" +#include "llvm/utils_llvm.h" const char* kLabelFormat = "%c0x%x_%d"; const char kInvalidBlock = 0xff; diff --git a/src/compiler/dex/portable/mir_to_gbc.h b/compiler/dex/portable/mir_to_gbc.h index 233735b769..8aa0271761 100644 --- a/src/compiler/dex/portable/mir_to_gbc.h +++ b/compiler/dex/portable/mir_to_gbc.h @@ -19,10 +19,10 @@ #include "invoke_type.h" #include "compiled_method.h" -#include "compiler/dex/compiler_enums.h" -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/backend.h" -#include "compiler/llvm/llvm_compilation_unit.h" +#include "dex/compiler_enums.h" +#include "dex/compiler_ir.h" +#include "dex/backend.h" +#include "llvm/llvm_compilation_unit.h" #include "safe_map.h" namespace art { diff --git a/src/compiler/dex/quick/arm/arm_lir.h b/compiler/dex/quick/arm/arm_lir.h index abcaacc214..9dd7dafcd6 100644 --- a/src/compiler/dex/quick/arm/arm_lir.h +++ b/compiler/dex/quick/arm/arm_lir.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_COMPILER_DEX_QUICK_ARM_ARMLIR_H_ #define ART_SRC_COMPILER_DEX_QUICK_ARM_ARMLIR_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/quick/arm/assemble_arm.cc b/compiler/dex/quick/arm/assemble_arm.cc index 36038f7741..e804215c11 100644 --- a/src/compiler/dex/quick/arm/assemble_arm.cc +++ b/compiler/dex/quick/arm/assemble_arm.cc @@ -16,7 +16,7 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" namespace art { diff --git a/src/compiler/dex/quick/arm/call_arm.cc b/compiler/dex/quick/arm/call_arm.cc index 879065f570..a6720ce6f2 100644 --- a/src/compiler/dex/quick/arm/call_arm.cc +++ b/compiler/dex/quick/arm/call_arm.cc @@ -18,7 +18,7 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "oat/runtime/oat_support_entrypoints.h" namespace art { diff --git a/src/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h index 60111d1d06..a9199dfa7c 100644 --- a/src/compiler/dex/quick/arm/codegen_arm.h +++ b/compiler/dex/quick/arm/codegen_arm.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_COMPILER_DEX_QUICK_ARM_CODEGENARM_H_ #define ART_SRC_COMPILER_DEX_QUICK_ARM_CODEGENARM_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/quick/arm/fp_arm.cc b/compiler/dex/quick/arm/fp_arm.cc index cd71c0798b..53a5e1a6dc 100644 --- a/src/compiler/dex/quick/arm/fp_arm.cc +++ b/compiler/dex/quick/arm/fp_arm.cc @@ -16,7 +16,7 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" namespace art { diff --git a/src/compiler/dex/quick/arm/int_arm.cc b/compiler/dex/quick/arm/int_arm.cc index 110e9f4320..feea896e9f 100644 --- a/src/compiler/dex/quick/arm/int_arm.cc +++ b/compiler/dex/quick/arm/int_arm.cc @@ -18,7 +18,7 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mirror/array.h" #include "oat/runtime/oat_support_entrypoints.h" diff --git a/src/compiler/dex/quick/arm/target_arm.cc b/compiler/dex/quick/arm/target_arm.cc index ee127a8e17..4bece136bc 100644 --- a/src/compiler/dex/quick/arm/target_arm.cc +++ b/compiler/dex/quick/arm/target_arm.cc @@ -18,8 +18,8 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/compiler_internals.h" +#include "dex/quick/mir_to_lir-inl.h" namespace art { diff --git a/src/compiler/dex/quick/arm/utility_arm.cc b/compiler/dex/quick/arm/utility_arm.cc index ef0cc72a5c..abf921f8ad 100644 --- a/src/compiler/dex/quick/arm/utility_arm.cc +++ b/compiler/dex/quick/arm/utility_arm.cc @@ -16,7 +16,7 @@ #include "arm_lir.h" #include "codegen_arm.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" namespace art { diff --git a/src/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 766cdce235..5c10c4ce2b 100644 --- a/src/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" #include "dex_file-inl.h" #include "gc_map.h" #include "mir_to_lir-inl.h" diff --git a/src/compiler/dex/quick/gen_common.cc b/compiler/dex/quick/gen_common.cc index 2980acbd06..865b9c5c4d 100644 --- a/src/compiler/dex/quick/gen_common.cc +++ b/compiler/dex/quick/gen_common.cc @@ -14,9 +14,9 @@ * limitations under the License. */ -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/compiler_ir.h" +#include "dex/compiler_internals.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mirror/array.h" #include "oat/runtime/oat_support_entrypoints.h" #include "verifier/method_verifier.h" diff --git a/src/compiler/dex/quick/gen_invoke.cc b/compiler/dex/quick/gen_invoke.cc index 3bc73401cf..e3993e0617 100644 --- a/src/compiler/dex/quick/gen_invoke.cc +++ b/compiler/dex/quick/gen_invoke.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "compiler/dex/compiler_ir.h" +#include "dex/compiler_ir.h" #include "dex_file-inl.h" #include "invoke_type.h" #include "mirror/array.h" diff --git a/src/compiler/dex/quick/gen_loadstore.cc b/compiler/dex/quick/gen_loadstore.cc index 085f7f518c..6a25c1db45 100644 --- a/src/compiler/dex/quick/gen_loadstore.cc +++ b/compiler/dex/quick/gen_loadstore.cc @@ -14,9 +14,9 @@ * limitations under the License. */ -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/compiler_ir.h" +#include "dex/compiler_internals.h" +#include "dex/quick/mir_to_lir-inl.h" #include "invoke_type.h" namespace art { diff --git a/src/compiler/dex/quick/local_optimizations.cc b/compiler/dex/quick/local_optimizations.cc index 1cafce4e0a..ac654d8f21 100644 --- a/src/compiler/dex/quick/local_optimizations.cc +++ b/compiler/dex/quick/local_optimizations.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/quick/mips/README.mips b/compiler/dex/quick/mips/README.mips index 061c157256..061c157256 100644 --- a/src/compiler/dex/quick/mips/README.mips +++ b/compiler/dex/quick/mips/README.mips diff --git a/src/compiler/dex/quick/mips/assemble_mips.cc b/compiler/dex/quick/mips/assemble_mips.cc index 002a23e5ae..2482aa4fbb 100644 --- a/src/compiler/dex/quick/mips/assemble_mips.cc +++ b/compiler/dex/quick/mips/assemble_mips.cc @@ -15,7 +15,7 @@ */ #include "codegen_mips.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" namespace art { diff --git a/src/compiler/dex/quick/mips/call_mips.cc b/compiler/dex/quick/mips/call_mips.cc index ddaf08156a..eb0302e80f 100644 --- a/src/compiler/dex/quick/mips/call_mips.cc +++ b/compiler/dex/quick/mips/call_mips.cc @@ -17,7 +17,7 @@ /* This file contains codegen for the Mips ISA */ #include "codegen_mips.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" #include "oat/runtime/oat_support_entrypoints.h" diff --git a/src/compiler/dex/quick/mips/codegen_mips.h b/compiler/dex/quick/mips/codegen_mips.h index 9fa8f779fe..9723b899a9 100644 --- a/src/compiler/dex/quick/mips/codegen_mips.h +++ b/compiler/dex/quick/mips/codegen_mips.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_DEX_QUICK_CODEGEN_MIPS_CODEGENMIPS_H_ #define ART_SRC_DEX_QUICK_CODEGEN_MIPS_CODEGENMIPS_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" #include "mips_lir.h" namespace art { diff --git a/src/compiler/dex/quick/mips/fp_mips.cc b/compiler/dex/quick/mips/fp_mips.cc index f384da1a5b..8581d5beb6 100644 --- a/src/compiler/dex/quick/mips/fp_mips.cc +++ b/compiler/dex/quick/mips/fp_mips.cc @@ -15,8 +15,8 @@ */ #include "codegen_mips.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" #include "oat/runtime/oat_support_entrypoints.h" namespace art { diff --git a/src/compiler/dex/quick/mips/int_mips.cc b/compiler/dex/quick/mips/int_mips.cc index fe9e83f879..8bfc4e1f91 100644 --- a/src/compiler/dex/quick/mips/int_mips.cc +++ b/compiler/dex/quick/mips/int_mips.cc @@ -17,7 +17,7 @@ /* This file contains codegen for the Mips ISA */ #include "codegen_mips.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" #include "mirror/array.h" #include "oat/runtime/oat_support_entrypoints.h" diff --git a/src/compiler/dex/quick/mips/mips_lir.h b/compiler/dex/quick/mips/mips_lir.h index 9771ea9364..ceab9ab1e5 100644 --- a/src/compiler/dex/quick/mips/mips_lir.h +++ b/compiler/dex/quick/mips/mips_lir.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_COMPILER_DEX_QUICK_MIPS_MIPSLIR_H_ #define ART_SRC_COMPILER_DEX_QUICK_MIPS_MIPSLIR_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/quick/mips/target_mips.cc b/compiler/dex/quick/mips/target_mips.cc index 356104c86c..cab2c1b53d 100644 --- a/src/compiler/dex/quick/mips/target_mips.cc +++ b/compiler/dex/quick/mips/target_mips.cc @@ -15,8 +15,8 @@ */ #include "codegen_mips.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/compiler_internals.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" #include <string> diff --git a/src/compiler/dex/quick/mips/utility_mips.cc b/compiler/dex/quick/mips/utility_mips.cc index 257b0f6cb2..8daafc8d96 100644 --- a/src/compiler/dex/quick/mips/utility_mips.cc +++ b/compiler/dex/quick/mips/utility_mips.cc @@ -15,7 +15,7 @@ */ #include "codegen_mips.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mips_lir.h" namespace art { diff --git a/src/compiler/dex/quick/mir_to_lir-inl.h b/compiler/dex/quick/mir_to_lir-inl.h index f7546924c8..4eef264a0f 100644 --- a/src/compiler/dex/quick/mir_to_lir-inl.h +++ b/compiler/dex/quick/mir_to_lir-inl.h @@ -19,7 +19,7 @@ #include "mir_to_lir.h" -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/quick/mir_to_lir.cc b/compiler/dex/quick/mir_to_lir.cc index 754aae42dd..4562482a06 100644 --- a/src/compiler/dex/quick/mir_to_lir.cc +++ b/compiler/dex/quick/mir_to_lir.cc @@ -14,8 +14,8 @@ * limitations under the License. */ -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/dataflow_iterator-inl.h" +#include "dex/compiler_internals.h" +#include "dex/dataflow_iterator-inl.h" #include "mir_to_lir-inl.h" #include "object_utils.h" diff --git a/src/compiler/dex/quick/mir_to_lir.h b/compiler/dex/quick/mir_to_lir.h index 93098dbfd1..47514f769f 100644 --- a/src/compiler/dex/quick/mir_to_lir.h +++ b/compiler/dex/quick/mir_to_lir.h @@ -19,12 +19,12 @@ #include "invoke_type.h" #include "compiled_method.h" -#include "compiler/dex/compiler_enums.h" -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/backend.h" -#include "compiler/dex/growable_array.h" -#include "compiler/dex/arena_allocator.h" -#include "compiler/driver/compiler_driver.h" +#include "dex/compiler_enums.h" +#include "dex/compiler_ir.h" +#include "dex/backend.h" +#include "dex/growable_array.h" +#include "dex/arena_allocator.h" +#include "driver/compiler_driver.h" #include "safe_map.h" namespace art { diff --git a/src/compiler/dex/quick/ralloc_util.cc b/compiler/dex/quick/ralloc_util.cc index 8e0dba3a4f..8f43542098 100644 --- a/src/compiler/dex/quick/ralloc_util.cc +++ b/compiler/dex/quick/ralloc_util.cc @@ -16,8 +16,8 @@ /* This file contains register alloction support. */ -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_ir.h" +#include "dex/compiler_internals.h" #include "mir_to_lir-inl.h" namespace art { diff --git a/src/compiler/dex/quick/x86/assemble_x86.cc b/compiler/dex/quick/x86/assemble_x86.cc index 83dabe6c9a..4aeda41291 100644 --- a/src/compiler/dex/quick/x86/assemble_x86.cc +++ b/compiler/dex/quick/x86/assemble_x86.cc @@ -15,7 +15,7 @@ */ #include "codegen_x86.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/call_x86.cc b/compiler/dex/quick/x86/call_x86.cc index dba0e24fab..d60be72c31 100644 --- a/src/compiler/dex/quick/x86/call_x86.cc +++ b/compiler/dex/quick/x86/call_x86.cc @@ -17,7 +17,7 @@ /* This file contains codegen for the X86 ISA */ #include "codegen_x86.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/codegen_x86.h b/compiler/dex/quick/x86/codegen_x86.h index 9050656071..3e30141594 100644 --- a/src/compiler/dex/quick/x86/codegen_x86.h +++ b/compiler/dex/quick/x86/codegen_x86.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_COMPILER_DEX_QUICK_X86_CODEGENX86_H_ #define ART_SRC_COMPILER_DEX_QUICK_X86_CODEGENX86_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/fp_x86.cc b/compiler/dex/quick/x86/fp_x86.cc index 3341e28ce5..906b4cc759 100644 --- a/src/compiler/dex/quick/x86/fp_x86.cc +++ b/compiler/dex/quick/x86/fp_x86.cc @@ -15,7 +15,7 @@ */ #include "codegen_x86.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/int_x86.cc b/compiler/dex/quick/x86/int_x86.cc index fffb900ec9..97d9d2deed 100644 --- a/src/compiler/dex/quick/x86/int_x86.cc +++ b/compiler/dex/quick/x86/int_x86.cc @@ -17,8 +17,8 @@ /* This file contains codegen for the X86 ISA */ #include "codegen_x86.h" +#include "dex/quick/mir_to_lir-inl.h" #include "mirror/array.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/target_x86.cc b/compiler/dex/quick/x86/target_x86.cc index 9110b704b8..c421ef3f11 100644 --- a/src/compiler/dex/quick/x86/target_x86.cc +++ b/compiler/dex/quick/x86/target_x86.cc @@ -15,8 +15,8 @@ */ #include "codegen_x86.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/compiler_internals.h" +#include "dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" #include <string> diff --git a/src/compiler/dex/quick/x86/utility_x86.cc b/compiler/dex/quick/x86/utility_x86.cc index 82466d496b..fb07ff1e22 100644 --- a/src/compiler/dex/quick/x86/utility_x86.cc +++ b/compiler/dex/quick/x86/utility_x86.cc @@ -15,7 +15,7 @@ */ #include "codegen_x86.h" -#include "compiler/dex/quick/mir_to_lir-inl.h" +#include "dex/quick/mir_to_lir-inl.h" #include "x86_lir.h" namespace art { diff --git a/src/compiler/dex/quick/x86/x86_lir.h b/compiler/dex/quick/x86/x86_lir.h index 7e9e56e14a..600bd03026 100644 --- a/src/compiler/dex/quick/x86/x86_lir.h +++ b/compiler/dex/quick/x86/x86_lir.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_COMPILER_DEX_QUICK_X86_X86LIR_H_ #define ART_SRC_COMPILER_DEX_QUICK_X86_X86LIR_H_ -#include "compiler/dex/compiler_internals.h" +#include "dex/compiler_internals.h" namespace art { diff --git a/src/compiler/dex/ssa_transformation.cc b/compiler/dex/ssa_transformation.cc index 41820720d8..41820720d8 100644 --- a/src/compiler/dex/ssa_transformation.cc +++ b/compiler/dex/ssa_transformation.cc diff --git a/src/compiler/dex/vreg_analysis.cc b/compiler/dex/vreg_analysis.cc index b941140b00..adbda5c18f 100644 --- a/src/compiler/dex/vreg_analysis.cc +++ b/compiler/dex/vreg_analysis.cc @@ -15,7 +15,7 @@ */ #include "compiler_internals.h" -#include "compiler/dex/dataflow_iterator-inl.h" +#include "dex/dataflow_iterator-inl.h" namespace art { diff --git a/src/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index c876252d45..c99d103c17 100644 --- a/src/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -23,7 +23,6 @@ #include "base/stl_util.h" #include "base/timing_logger.h" #include "class_linker.h" -#include "compiler/stubs/stubs.h" #include "dex_compilation_unit.h" #include "dex_file-inl.h" #include "jni_internal.h" @@ -43,14 +42,15 @@ #include "mirror/throwable.h" #include "scoped_thread_state_change.h" #include "ScopedLocalRef.h" +#include "stubs/stubs.h" #include "thread.h" #include "thread_pool.h" #include "verifier/method_verifier.h" #if defined(ART_USE_PORTABLE_COMPILER) -#include "compiler/elf_writer_mclinker.h" +#include "elf_writer_mclinker.h" #else -#include "compiler/elf_writer_quick.h" +#include "elf_writer_quick.h" #endif namespace art { diff --git a/src/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index d37f494ef1..d37f494ef1 100644 --- a/src/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h diff --git a/src/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index abf8a9a3f7..6a160f75c6 100644 --- a/src/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "compiler/driver/compiler_driver.h" +#include "driver/compiler_driver.h" #include <stdint.h> #include <stdio.h> diff --git a/src/compiler/driver/dex_compilation_unit.cc b/compiler/driver/dex_compilation_unit.cc index c7a4df6ea4..6ba338aa96 100644 --- a/src/compiler/driver/dex_compilation_unit.cc +++ b/compiler/driver/dex_compilation_unit.cc @@ -17,8 +17,8 @@ #include "dex_compilation_unit.h" #include "base/stringprintf.h" -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/mir_graph.h" +#include "dex/compiler_ir.h" +#include "dex/mir_graph.h" #include "utils.h" namespace art { diff --git a/src/compiler/driver/dex_compilation_unit.h b/compiler/driver/dex_compilation_unit.h index 3c6129d642..3c6129d642 100644 --- a/src/compiler/driver/dex_compilation_unit.h +++ b/compiler/driver/dex_compilation_unit.h diff --git a/src/compiler/elf_fixup.cc b/compiler/elf_fixup.cc index 127bc85d2c..127bc85d2c 100644 --- a/src/compiler/elf_fixup.cc +++ b/compiler/elf_fixup.cc diff --git a/src/compiler/elf_fixup.h b/compiler/elf_fixup.h index 79c45c1874..79c45c1874 100644 --- a/src/compiler/elf_fixup.h +++ b/compiler/elf_fixup.h diff --git a/src/compiler/elf_stripper.cc b/compiler/elf_stripper.cc index 7fc662ca1d..7fc662ca1d 100644 --- a/src/compiler/elf_stripper.cc +++ b/compiler/elf_stripper.cc diff --git a/src/compiler/elf_stripper.h b/compiler/elf_stripper.h index b202e6e1f0..b202e6e1f0 100644 --- a/src/compiler/elf_stripper.h +++ b/compiler/elf_stripper.h diff --git a/src/compiler/elf_writer.cc b/compiler/elf_writer.cc index 7592eb5edb..0823a53f87 100644 --- a/src/compiler/elf_writer.cc +++ b/compiler/elf_writer.cc @@ -18,12 +18,12 @@ #include "base/unix_file/fd_file.h" #include "class_linker.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/llvm/utils_llvm.h" #include "dex_file-inl.h" #include "dex_method_iterator.h" +#include "driver/compiler_driver.h" #include "elf_file.h" #include "invoke_type.h" +#include "llvm/utils_llvm.h" #include "mirror/abstract_method-inl.h" #include "mirror/object-inl.h" #include "oat.h" diff --git a/src/compiler/elf_writer.h b/compiler/elf_writer.h index 7392e67d7f..7392e67d7f 100644 --- a/src/compiler/elf_writer.h +++ b/compiler/elf_writer.h diff --git a/src/compiler/elf_writer_mclinker.cc b/compiler/elf_writer_mclinker.cc index 47887a5086..472a606cc6 100644 --- a/src/compiler/elf_writer_mclinker.cc +++ b/compiler/elf_writer_mclinker.cc @@ -29,8 +29,8 @@ #include "base/unix_file/fd_file.h" #include "class_linker.h" -#include "compiler/driver/compiler_driver.h" #include "dex_method_iterator.h" +#include "driver/compiler_driver.h" #include "elf_file.h" #include "globals.h" #include "mirror/abstract_method.h" diff --git a/src/compiler/elf_writer_mclinker.h b/compiler/elf_writer_mclinker.h index 21f23e113d..21f23e113d 100644 --- a/src/compiler/elf_writer_mclinker.h +++ b/compiler/elf_writer_mclinker.h diff --git a/src/compiler/elf_writer_quick.cc b/compiler/elf_writer_quick.cc index c3c5415733..9de96d271e 100644 --- a/src/compiler/elf_writer_quick.cc +++ b/compiler/elf_writer_quick.cc @@ -18,7 +18,7 @@ #include "base/logging.h" #include "base/unix_file/fd_file.h" -#include "compiler/driver/compiler_driver.h" +#include "driver/compiler_driver.h" #include "globals.h" #include "oat.h" #include "utils.h" diff --git a/src/compiler/elf_writer_quick.h b/compiler/elf_writer_quick.h index a1a386b3d7..a1a386b3d7 100644 --- a/src/compiler/elf_writer_quick.h +++ b/compiler/elf_writer_quick.h diff --git a/src/compiler/elf_writer_test.cc b/compiler/elf_writer_test.cc index d4486d2c56..d4486d2c56 100644 --- a/src/compiler/elf_writer_test.cc +++ b/compiler/elf_writer_test.cc diff --git a/src/compiler/image_writer.cc b/compiler/image_writer.cc index 8b84e124e7..8d32a915dd 100644 --- a/src/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -24,9 +24,9 @@ #include "base/unix_file/fd_file.h" #include "class_linker.h" #include "compiled_method.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/elf_writer.h" #include "dex_file-inl.h" +#include "driver/compiler_driver.h" +#include "elf_writer.h" #include "gc/accounting/card_table-inl.h" #include "gc/accounting/heap_bitmap.h" #include "gc/heap.h" diff --git a/src/compiler/image_writer.h b/compiler/image_writer.h index b79cb2f0c2..9b0d671604 100644 --- a/src/compiler/image_writer.h +++ b/compiler/image_writer.h @@ -23,7 +23,7 @@ #include <set> #include <string> -#include "compiler/driver/compiler_driver.h" +#include "driver/compiler_driver.h" #include "mem_map.h" #include "oat_file.h" #include "mirror/dex_cache.h" diff --git a/src/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc index 560a146052..560a146052 100644 --- a/src/compiler/jni/jni_compiler_test.cc +++ b/compiler/jni/jni_compiler_test.cc diff --git a/src/compiler/jni/portable/jni_compiler.cc b/compiler/jni/portable/jni_compiler.cc index cd8158d0ed..44d0c2d215 100644 --- a/src/compiler/jni/portable/jni_compiler.cc +++ b/compiler/jni/portable/jni_compiler.cc @@ -19,14 +19,14 @@ #include "base/logging.h" #include "class_linker.h" #include "compiled_method.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/driver/dex_compilation_unit.h" -#include "compiler/llvm/compiler_llvm.h" -#include "compiler/llvm/ir_builder.h" -#include "compiler/llvm/llvm_compilation_unit.h" -#include "compiler/llvm/runtime_support_llvm_func.h" -#include "compiler/llvm/utils_llvm.h" #include "dex_file-inl.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" +#include "llvm/compiler_llvm.h" +#include "llvm/ir_builder.h" +#include "llvm/llvm_compilation_unit.h" +#include "llvm/runtime_support_llvm_func.h" +#include "llvm/utils_llvm.h" #include "mirror/abstract_method.h" #include "runtime.h" #include "stack.h" diff --git a/src/compiler/jni/portable/jni_compiler.h b/compiler/jni/portable/jni_compiler.h index a04277c9e6..a04277c9e6 100644 --- a/src/compiler/jni/portable/jni_compiler.h +++ b/compiler/jni/portable/jni_compiler.h diff --git a/src/compiler/jni/quick/arm/calling_convention_arm.cc b/compiler/jni/quick/arm/calling_convention_arm.cc index e9b09c5bba..e9b09c5bba 100644 --- a/src/compiler/jni/quick/arm/calling_convention_arm.cc +++ b/compiler/jni/quick/arm/calling_convention_arm.cc diff --git a/src/compiler/jni/quick/arm/calling_convention_arm.h b/compiler/jni/quick/arm/calling_convention_arm.h index 7a3e7387bf..3787d45c6f 100644 --- a/src/compiler/jni/quick/arm/calling_convention_arm.h +++ b/compiler/jni/quick/arm/calling_convention_arm.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_OAT_JNI_ARM_CALLING_CONVENTION_ARM_H_ #define ART_SRC_OAT_JNI_ARM_CALLING_CONVENTION_ARM_H_ -#include "compiler/jni/quick/calling_convention.h" +#include "jni/quick/calling_convention.h" namespace art { namespace arm { diff --git a/src/compiler/jni/quick/calling_convention.cc b/compiler/jni/quick/calling_convention.cc index 512483edab..5d5eaf2ea9 100644 --- a/src/compiler/jni/quick/calling_convention.cc +++ b/compiler/jni/quick/calling_convention.cc @@ -17,9 +17,9 @@ #include "calling_convention.h" #include "base/logging.h" -#include "compiler/jni/quick/arm/calling_convention_arm.h" -#include "compiler/jni/quick/mips/calling_convention_mips.h" -#include "compiler/jni/quick/x86/calling_convention_x86.h" +#include "jni/quick/arm/calling_convention_arm.h" +#include "jni/quick/mips/calling_convention_mips.h" +#include "jni/quick/x86/calling_convention_x86.h" #include "utils.h" namespace art { diff --git a/src/compiler/jni/quick/calling_convention.h b/compiler/jni/quick/calling_convention.h index 121d1f80ae..121d1f80ae 100644 --- a/src/compiler/jni/quick/calling_convention.h +++ b/compiler/jni/quick/calling_convention.h diff --git a/src/compiler/jni/quick/jni_compiler.cc b/compiler/jni/quick/jni_compiler.cc index 3b85384446..fa227f7fbb 100644 --- a/src/compiler/jni/quick/jni_compiler.cc +++ b/compiler/jni/quick/jni_compiler.cc @@ -22,8 +22,8 @@ #include "calling_convention.h" #include "class_linker.h" #include "compiled_method.h" -#include "compiler/driver/compiler_driver.h" #include "dex_file-inl.h" +#include "driver/compiler_driver.h" #include "disassembler.h" #include "jni_internal.h" #include "oat/runtime/oat_support_entrypoints.h" diff --git a/src/compiler/jni/quick/mips/calling_convention_mips.cc b/compiler/jni/quick/mips/calling_convention_mips.cc index 053ab44eb4..053ab44eb4 100644 --- a/src/compiler/jni/quick/mips/calling_convention_mips.cc +++ b/compiler/jni/quick/mips/calling_convention_mips.cc diff --git a/src/compiler/jni/quick/mips/calling_convention_mips.h b/compiler/jni/quick/mips/calling_convention_mips.h index b9b2b72bc0..90681362bc 100644 --- a/src/compiler/jni/quick/mips/calling_convention_mips.h +++ b/compiler/jni/quick/mips/calling_convention_mips.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_OAT_JNI_MIPS_CALLING_CONVENTION_MIPS_H_ #define ART_SRC_OAT_JNI_MIPS_CALLING_CONVENTION_MIPS_H_ -#include "compiler/jni/quick/calling_convention.h" +#include "jni/quick/calling_convention.h" namespace art { namespace mips { diff --git a/src/compiler/jni/quick/x86/calling_convention_x86.cc b/compiler/jni/quick/x86/calling_convention_x86.cc index b671bd190c..b671bd190c 100644 --- a/src/compiler/jni/quick/x86/calling_convention_x86.cc +++ b/compiler/jni/quick/x86/calling_convention_x86.cc diff --git a/src/compiler/jni/quick/x86/calling_convention_x86.h b/compiler/jni/quick/x86/calling_convention_x86.h index e80e4327e8..ea8a26e7d5 100644 --- a/src/compiler/jni/quick/x86/calling_convention_x86.h +++ b/compiler/jni/quick/x86/calling_convention_x86.h @@ -17,7 +17,7 @@ #ifndef ART_SRC_OAT_JNI_X86_CALLING_CONVENTION_X86_H_ #define ART_SRC_OAT_JNI_X86_CALLING_CONVENTION_X86_H_ -#include "compiler/jni/quick/calling_convention.h" +#include "jni/quick/calling_convention.h" namespace art { namespace x86 { diff --git a/src/compiler/llvm/art_module.ll b/compiler/llvm/art_module.ll index 233692c079..233692c079 100644 --- a/src/compiler/llvm/art_module.ll +++ b/compiler/llvm/art_module.ll diff --git a/src/compiler/llvm/backend_options.h b/compiler/llvm/backend_options.h index 924a34639c..924a34639c 100644 --- a/src/compiler/llvm/backend_options.h +++ b/compiler/llvm/backend_options.h diff --git a/src/compiler/llvm/backend_types.h b/compiler/llvm/backend_types.h index c89504a859..c89504a859 100644 --- a/src/compiler/llvm/backend_types.h +++ b/compiler/llvm/backend_types.h diff --git a/src/compiler/llvm/compiler_llvm.cc b/compiler/llvm/compiler_llvm.cc index 3af6687f65..afca223192 100644 --- a/src/compiler/llvm/compiler_llvm.cc +++ b/compiler/llvm/compiler_llvm.cc @@ -20,11 +20,11 @@ #include "base/stl_util.h" #include "class_linker.h" #include "compiled_method.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/driver/dex_compilation_unit.h" -#include "compiler/jni/portable/jni_compiler.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" #include "globals.h" #include "ir_builder.h" +#include "jni/portable/jni_compiler.h" #include "llvm_compilation_unit.h" #include "oat_file.h" #include "utils_llvm.h" diff --git a/src/compiler/llvm/compiler_llvm.h b/compiler/llvm/compiler_llvm.h index e7717a3fd4..b70ddc5e20 100644 --- a/src/compiler/llvm/compiler_llvm.h +++ b/compiler/llvm/compiler_llvm.h @@ -18,8 +18,8 @@ #define ART_SRC_COMPILER_LLVM_COMPILER_LLVM_H_ #include "base/macros.h" -#include "compiler/driver/compiler_driver.h" #include "dex_file.h" +#include "driver/compiler_driver.h" #include "instruction_set.h" #include "mirror/object.h" diff --git a/src/compiler/llvm/gbc_expander.cc b/compiler/llvm/gbc_expander.cc index 4702b37de1..b139e322f1 100644 --- a/src/compiler/llvm/gbc_expander.cc +++ b/compiler/llvm/gbc_expander.cc @@ -14,9 +14,9 @@ * limitations under the License. */ -#include "compiler/driver/compiler_driver.h" -#include "compiler/driver/dex_compilation_unit.h" #include "dex_file-inl.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" #include "intrinsic_helper.h" #include "ir_builder.h" #include "method_reference.h" @@ -27,9 +27,9 @@ #include "utils_llvm.h" #include "verifier/method_verifier.h" -#include "compiler/dex/mir_graph.h" -#include "compiler/dex/compiler_ir.h" -#include "compiler/dex/quick/mir_to_lir.h" +#include "dex/compiler_ir.h" +#include "dex/mir_graph.h" +#include "dex/quick/mir_to_lir.h" using art::kMIRIgnoreNullCheck; using art::kMIRIgnoreRangeCheck; diff --git a/src/compiler/llvm/generated/art_module.cc b/compiler/llvm/generated/art_module.cc index bcd90b96a1..bcd90b96a1 100644 --- a/src/compiler/llvm/generated/art_module.cc +++ b/compiler/llvm/generated/art_module.cc diff --git a/src/compiler/llvm/intrinsic_func_list.def b/compiler/llvm/intrinsic_func_list.def index 92537ba419..92537ba419 100644 --- a/src/compiler/llvm/intrinsic_func_list.def +++ b/compiler/llvm/intrinsic_func_list.def diff --git a/src/compiler/llvm/intrinsic_helper.cc b/compiler/llvm/intrinsic_helper.cc index a34cb330bc..a34cb330bc 100644 --- a/src/compiler/llvm/intrinsic_helper.cc +++ b/compiler/llvm/intrinsic_helper.cc diff --git a/src/compiler/llvm/intrinsic_helper.h b/compiler/llvm/intrinsic_helper.h index 49b8a95230..49b8a95230 100644 --- a/src/compiler/llvm/intrinsic_helper.h +++ b/compiler/llvm/intrinsic_helper.h diff --git a/src/compiler/llvm/ir_builder.cc b/compiler/llvm/ir_builder.cc index a65cf2bdae..a65cf2bdae 100644 --- a/src/compiler/llvm/ir_builder.cc +++ b/compiler/llvm/ir_builder.cc diff --git a/src/compiler/llvm/ir_builder.h b/compiler/llvm/ir_builder.h index eb88fcac18..734b22f791 100644 --- a/src/compiler/llvm/ir_builder.h +++ b/compiler/llvm/ir_builder.h @@ -18,7 +18,7 @@ #define ART_SRC_COMPILER_LLVM_IR_BUILDER_H_ #include "backend_types.h" -#include "compiler/dex/compiler_enums.h" +#include "dex/compiler_enums.h" #include "intrinsic_helper.h" #include "md_builder.h" #include "runtime_support_builder.h" diff --git a/src/compiler/llvm/llvm_compilation_unit.cc b/compiler/llvm/llvm_compilation_unit.cc index dfb572477e..dfb572477e 100644 --- a/src/compiler/llvm/llvm_compilation_unit.cc +++ b/compiler/llvm/llvm_compilation_unit.cc diff --git a/src/compiler/llvm/llvm_compilation_unit.h b/compiler/llvm/llvm_compilation_unit.h index a5d4e117e6..a4f0adbab8 100644 --- a/src/compiler/llvm/llvm_compilation_unit.h +++ b/compiler/llvm/llvm_compilation_unit.h @@ -19,11 +19,11 @@ #include "base/logging.h" #include "base/mutex.h" -#include "compiler/dex/compiler_internals.h" -#include "compiler/driver/compiler_driver.h" +#include "dex/compiler_internals.h" +#include "driver/compiler_driver.h" +#include "driver/dex_compilation_unit.h" #include "globals.h" #include "instruction_set.h" -#include "compiler/driver/dex_compilation_unit.h" #include "runtime_support_builder.h" #include "runtime_support_llvm_func.h" #include "safe_map.h" diff --git a/src/compiler/llvm/md_builder.cc b/compiler/llvm/md_builder.cc index 3884f51056..3884f51056 100644 --- a/src/compiler/llvm/md_builder.cc +++ b/compiler/llvm/md_builder.cc diff --git a/src/compiler/llvm/md_builder.h b/compiler/llvm/md_builder.h index 79a7caa04c..79a7caa04c 100644 --- a/src/compiler/llvm/md_builder.h +++ b/compiler/llvm/md_builder.h diff --git a/src/compiler/llvm/runtime_support_builder.cc b/compiler/llvm/runtime_support_builder.cc index 28405f67d4..28405f67d4 100644 --- a/src/compiler/llvm/runtime_support_builder.cc +++ b/compiler/llvm/runtime_support_builder.cc diff --git a/src/compiler/llvm/runtime_support_builder.h b/compiler/llvm/runtime_support_builder.h index 267b406232..267b406232 100644 --- a/src/compiler/llvm/runtime_support_builder.h +++ b/compiler/llvm/runtime_support_builder.h diff --git a/src/compiler/llvm/runtime_support_builder_arm.cc b/compiler/llvm/runtime_support_builder_arm.cc index 57a997135e..57a997135e 100644 --- a/src/compiler/llvm/runtime_support_builder_arm.cc +++ b/compiler/llvm/runtime_support_builder_arm.cc diff --git a/src/compiler/llvm/runtime_support_builder_arm.h b/compiler/llvm/runtime_support_builder_arm.h index 3c5972fc33..3c5972fc33 100644 --- a/src/compiler/llvm/runtime_support_builder_arm.h +++ b/compiler/llvm/runtime_support_builder_arm.h diff --git a/src/compiler/llvm/runtime_support_builder_thumb2.cc b/compiler/llvm/runtime_support_builder_thumb2.cc index 2b9170c4ea..2b9170c4ea 100644 --- a/src/compiler/llvm/runtime_support_builder_thumb2.cc +++ b/compiler/llvm/runtime_support_builder_thumb2.cc diff --git a/src/compiler/llvm/runtime_support_builder_thumb2.h b/compiler/llvm/runtime_support_builder_thumb2.h index 4762a269f9..4762a269f9 100644 --- a/src/compiler/llvm/runtime_support_builder_thumb2.h +++ b/compiler/llvm/runtime_support_builder_thumb2.h diff --git a/src/compiler/llvm/runtime_support_builder_x86.cc b/compiler/llvm/runtime_support_builder_x86.cc index eed0b63d76..eed0b63d76 100644 --- a/src/compiler/llvm/runtime_support_builder_x86.cc +++ b/compiler/llvm/runtime_support_builder_x86.cc diff --git a/src/compiler/llvm/runtime_support_builder_x86.h b/compiler/llvm/runtime_support_builder_x86.h index e5fdbc2e26..e5fdbc2e26 100644 --- a/src/compiler/llvm/runtime_support_builder_x86.h +++ b/compiler/llvm/runtime_support_builder_x86.h diff --git a/src/compiler/llvm/runtime_support_llvm_func.h b/compiler/llvm/runtime_support_llvm_func.h index ac6f3b869f..ac6f3b869f 100644 --- a/src/compiler/llvm/runtime_support_llvm_func.h +++ b/compiler/llvm/runtime_support_llvm_func.h diff --git a/src/compiler/llvm/tools/gen_art_module_cc.sh b/compiler/llvm/tools/gen_art_module_cc.sh index c5df333e34..c5df333e34 100755 --- a/src/compiler/llvm/tools/gen_art_module_cc.sh +++ b/compiler/llvm/tools/gen_art_module_cc.sh diff --git a/src/compiler/llvm/utils_llvm.h b/compiler/llvm/utils_llvm.h index 2e273f4fe9..2e273f4fe9 100644 --- a/src/compiler/llvm/utils_llvm.h +++ b/compiler/llvm/utils_llvm.h diff --git a/src/compiler/oat_writer.cc b/compiler/oat_writer.cc index 0bfa4ec328..0bfa4ec328 100644 --- a/src/compiler/oat_writer.cc +++ b/compiler/oat_writer.cc diff --git a/src/compiler/oat_writer.h b/compiler/oat_writer.h index b201d6b4ee..1f97bf853c 100644 --- a/src/compiler/oat_writer.h +++ b/compiler/oat_writer.h @@ -21,7 +21,7 @@ #include <cstddef> -#include "compiler/driver/compiler_driver.h" +#include "driver/compiler_driver.h" #include "mem_map.h" #include "oat.h" #include "mirror/class.h" diff --git a/src/compiler/sea_ir/frontend.cc b/compiler/sea_ir/frontend.cc index 6bfa45901b..9af7eff069 100644 --- a/src/compiler/sea_ir/frontend.cc +++ b/compiler/sea_ir/frontend.cc @@ -1,13 +1,13 @@ #ifdef ART_SEA_IR_MODE #include <llvm/Support/Threading.h> -#include "compiler/sea_ir/sea.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/llvm/llvm_compilation_unit.h" -#include "compiler/dex/portable/mir_to_gbc.h" +#include "base/logging.h" +#include "dex/portable/mir_to_gbc.h" +#include "driver/compiler_driver.h" #include "leb128.h" +#include "llvm/llvm_compilation_unit.h" #include "mirror/object.h" #include "runtime.h" -#include "base/logging.h" +#include "sea_ir/sea.h" namespace art { diff --git a/src/compiler/sea_ir/instruction_tools.cc b/compiler/sea_ir/instruction_tools.cc index 5433591457..5433591457 100644 --- a/src/compiler/sea_ir/instruction_tools.cc +++ b/compiler/sea_ir/instruction_tools.cc diff --git a/src/compiler/sea_ir/instruction_tools.h b/compiler/sea_ir/instruction_tools.h index f68cdd0784..f68cdd0784 100644 --- a/src/compiler/sea_ir/instruction_tools.h +++ b/compiler/sea_ir/instruction_tools.h diff --git a/src/compiler/sea_ir/sea.cc b/compiler/sea_ir/sea.cc index 4a9bc727ba..95c36e559d 100644 --- a/src/compiler/sea_ir/sea.cc +++ b/compiler/sea_ir/sea.cc @@ -14,7 +14,8 @@ * limitations under the License. */ -#include "compiler/sea_ir/sea.h" +#include "sea.h" + #include "file_output_stream.h" #define MAX_REACHING_DEF_ITERERATIONS (10) diff --git a/src/compiler/sea_ir/sea.h b/compiler/sea_ir/sea.h index 041e29958f..f2c71469e5 100644 --- a/src/compiler/sea_ir/sea.h +++ b/compiler/sea_ir/sea.h @@ -21,9 +21,9 @@ #include <set> #include <map> -#include "compiler/sea_ir/instruction_tools.h" #include "dex_file.h" #include "dex_instruction.h" +#include "sea_ir/instruction_tools.h" #define NO_REGISTER (-1) diff --git a/src/compiler/stubs/portable/stubs.cc b/compiler/stubs/portable/stubs.cc index db551bf368..a7eea5183b 100644 --- a/src/compiler/stubs/portable/stubs.cc +++ b/compiler/stubs/portable/stubs.cc @@ -14,7 +14,8 @@ * limitations under the License. */ -#include "compiler/stubs/stubs.h" +#include "stubs/stubs.h" + #include "jni_internal.h" #include "oat/utils/arm/assembler_arm.h" #include "oat/utils/mips/assembler_mips.h" diff --git a/src/compiler/stubs/quick/stubs.cc b/compiler/stubs/quick/stubs.cc index a8e691f35b..790b5d61d3 100644 --- a/src/compiler/stubs/quick/stubs.cc +++ b/compiler/stubs/quick/stubs.cc @@ -14,14 +14,15 @@ * limitations under the License. */ -#include "compiler/stubs/stubs.h" +#include "stubs/stubs.h" + #include "jni_internal.h" +#include "oat/runtime/oat_support_entrypoints.h" #include "oat/utils/arm/assembler_arm.h" #include "oat/utils/mips/assembler_mips.h" #include "oat/utils/x86/assembler_x86.h" -#include "oat/runtime/oat_support_entrypoints.h" -#include "stack_indirect_reference_table.h" #include "sirt_ref.h" +#include "stack_indirect_reference_table.h" #define __ assembler-> diff --git a/src/compiler/stubs/stubs.h b/compiler/stubs/stubs.h index ebe761df35..ebe761df35 100644 --- a/src/compiler/stubs/stubs.h +++ b/compiler/stubs/stubs.h diff --git a/dex2oat/Android.mk b/dex2oat/Android.mk new file mode 100644 index 0000000000..7bcf762daf --- /dev/null +++ b/dex2oat/Android.mk @@ -0,0 +1,37 @@ +# +# 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.executable.mk + +DEX2OAT_SRC_FILES := \ + dex2oat.cc + +ifeq ($(ART_BUILD_TARGET_NDEBUG),true) + $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,art/compiler,target,ndebug)) +endif +ifeq ($(ART_BUILD_TARGET_DEBUG),true) + $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,art/compiler,target,debug)) +endif + +# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since they are used to cross compile for the target. +ifeq ($(ART_BUILD_NDEBUG),true) + $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libart-compiler,art/compiler,host,ndebug)) +endif +ifeq ($(ART_BUILD_NDEBUG),true) + $(eval $(call build-art-executable,dex2oat,$(DEX2OAT_SRC_FILES),libartd-compiler,art/compiler,host,debug)) +endif diff --git a/src/dex2oat.cc b/dex2oat/dex2oat.cc index 6c5ba52584..c73c1bb84a 100644 --- a/src/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -29,20 +29,20 @@ #include "base/timing_logger.h" #include "base/unix_file/fd_file.h" #include "class_linker.h" -#include "compiler/driver/compiler_driver.h" -#include "compiler/elf_fixup.h" -#include "compiler/elf_stripper.h" -#include "compiler/image_writer.h" -#include "compiler/oat_writer.h" #include "dex_file-inl.h" +#include "driver/compiler_driver.h" +#include "elf_fixup.h" +#include "elf_stripper.h" #include "gc/space/image_space.h" #include "gc/space/space-inl.h" +#include "image_writer.h" #include "leb128.h" #include "mirror/abstract_method-inl.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" #include "mirror/object_array-inl.h" +#include "oat_writer.h" #include "object_utils.h" #include "os.h" #include "runtime.h" diff --git a/jdwpspy/Android.mk b/jdwpspy/Android.mk index a6c2f64046..5523bfd800 100644 --- a/jdwpspy/Android.mk +++ b/jdwpspy/Android.mk @@ -8,7 +8,9 @@ LOCAL_SRC_FILES:= \ Net.cpp LOCAL_C_INCLUDES += \ - art/src + art/runtime + +LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk LOCAL_MODULE := jdwpspy diff --git a/oatdump/Android.mk b/oatdump/Android.mk new file mode 100644 index 0000000000..faa90ae442 --- /dev/null +++ b/oatdump/Android.mk @@ -0,0 +1,36 @@ +# +# 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) + +OATDUMP_SRC_FILES := \ + oatdump.cc + +include art/build/Android.executable.mk + +ifeq ($(ART_BUILD_TARGET_NDEBUG),true) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,ndebug)) +endif +ifeq ($(ART_BUILD_TARGET_DEBUG),true) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,debug)) +endif + +ifeq ($(ART_BUILD_HOST_NDEBUG),true) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,ndebug)) +endif +ifeq ($(ART_BUILD_HOST_DEBUG),true) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,host,debug)) +endif diff --git a/src/oatdump.cc b/oatdump/oatdump.cc index f9caa9d127..f9caa9d127 100644 --- a/src/oatdump.cc +++ b/oatdump/oatdump.cc diff --git a/runtime/Android.mk b/runtime/Android.mk new file mode 100644 index 0000000000..5bcd3fbfe3 --- /dev/null +++ b/runtime/Android.mk @@ -0,0 +1,374 @@ +# +# 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.mk + +LIBART_COMMON_SRC_FILES := \ + atomic.cc.arm \ + barrier.cc \ + base/logging.cc \ + base/mutex.cc \ + base/stringpiece.cc \ + base/stringprintf.cc \ + base/timing_logger.cc \ + base/unix_file/fd_file.cc \ + base/unix_file/mapped_file.cc \ + base/unix_file/null_file.cc \ + base/unix_file/random_access_file_utils.cc \ + base/unix_file/string_file.cc \ + check_jni.cc \ + class_linker.cc \ + common_throws.cc \ + compiled_method.cc \ + debugger.cc \ + dex_file.cc \ + dex_file_verifier.cc \ + dex_instruction.cc \ + disassembler.cc \ + disassembler_arm.cc \ + disassembler_mips.cc \ + disassembler_x86.cc \ + elf_file.cc \ + file_output_stream.cc \ + gc/allocator/dlmalloc.cc \ + gc/accounting/card_table.cc \ + gc/accounting/heap_bitmap.cc \ + gc/accounting/mod_union_table.cc \ + gc/accounting/space_bitmap.cc \ + gc/collector/garbage_collector.cc \ + gc/collector/mark_sweep.cc \ + gc/collector/partial_mark_sweep.cc \ + gc/collector/sticky_mark_sweep.cc \ + gc/heap.cc \ + gc/space/dlmalloc_space.cc \ + gc/space/image_space.cc \ + gc/space/large_object_space.cc \ + gc/space/space.cc \ + hprof/hprof.cc \ + image.cc \ + indirect_reference_table.cc \ + instrumentation.cc \ + intern_table.cc \ + interpreter/interpreter.cc \ + jdwp/jdwp_event.cc \ + jdwp/jdwp_expand_buf.cc \ + jdwp/jdwp_handler.cc \ + jdwp/jdwp_main.cc \ + jdwp/jdwp_request.cc \ + jdwp/jdwp_socket.cc \ + jdwp/object_registry.cc \ + jni_internal.cc \ + jobject_comparator.cc \ + locks.cc \ + mem_map.cc \ + memory_region.cc \ + mirror/abstract_method.cc \ + mirror/array.cc \ + mirror/class.cc \ + mirror/dex_cache.cc \ + mirror/field.cc \ + mirror/object.cc \ + mirror/stack_trace_element.cc \ + mirror/string.cc \ + mirror/throwable.cc \ + monitor.cc \ + native/dalvik_system_DexFile.cc \ + native/dalvik_system_VMDebug.cc \ + native/dalvik_system_VMRuntime.cc \ + native/dalvik_system_VMStack.cc \ + native/dalvik_system_Zygote.cc \ + native/java_lang_Class.cc \ + native/java_lang_Object.cc \ + native/java_lang_Runtime.cc \ + native/java_lang_String.cc \ + native/java_lang_System.cc \ + native/java_lang_Thread.cc \ + native/java_lang_Throwable.cc \ + native/java_lang_VMClassLoader.cc \ + native/java_lang_reflect_Array.cc \ + native/java_lang_reflect_Constructor.cc \ + native/java_lang_reflect_Field.cc \ + native/java_lang_reflect_Method.cc \ + native/java_lang_reflect_Proxy.cc \ + native/java_util_concurrent_atomic_AtomicLong.cc \ + native/org_apache_harmony_dalvik_ddmc_DdmServer.cc \ + native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc \ + native/sun_misc_Unsafe.cc \ + oat.cc \ + oat/utils/arm/assembler_arm.cc \ + oat/utils/arm/managed_register_arm.cc \ + oat/utils/assembler.cc \ + oat/utils/mips/assembler_mips.cc \ + oat/utils/mips/managed_register_mips.cc \ + oat/utils/x86/assembler_x86.cc \ + oat/utils/x86/managed_register_x86.cc \ + oat_file.cc \ + offsets.cc \ + os_linux.cc \ + primitive.cc \ + reference_table.cc \ + reflection.cc \ + runtime.cc \ + runtime_support.cc \ + runtime_support_llvm.cc \ + signal_catcher.cc \ + stack.cc \ + thread.cc \ + thread_list.cc \ + thread_pool.cc \ + throw_location.cc \ + trace.cc \ + utf.cc \ + utils.cc \ + vector_output_stream.cc \ + verifier/dex_gc_map.cc \ + verifier/instruction_flags.cc \ + verifier/method_verifier.cc \ + verifier/reg_type.cc \ + verifier/reg_type_cache.cc \ + verifier/register_line.cc \ + well_known_classes.cc \ + zip_archive.cc + +LIBART_COMMON_SRC_FILES += \ + oat/runtime/context.cc \ + oat/runtime/support_alloc.cc \ + oat/runtime/support_cast.cc \ + oat/runtime/support_deoptimize.cc \ + oat/runtime/support_dexcache.cc \ + oat/runtime/support_field.cc \ + oat/runtime/support_fillarray.cc \ + oat/runtime/support_instrumentation.cc \ + oat/runtime/support_invoke.cc \ + oat/runtime/support_jni.cc \ + oat/runtime/support_locks.cc \ + oat/runtime/support_math.cc \ + oat/runtime/support_proxy.cc \ + oat/runtime/support_stubs.cc \ + oat/runtime/support_thread.cc \ + oat/runtime/support_throw.cc \ + oat/runtime/support_interpreter.cc + +ifeq ($(ART_SEA_IR_MODE),true) +LIBART_COMMON_SRC_FILES += \ + compiler/sea_ir/sea.cc \ + compiler/sea_ir/instruction_tools.cc +endif + +LIBART_TARGET_SRC_FILES := \ + $(LIBART_COMMON_SRC_FILES) \ + base/logging_android.cc \ + jdwp/jdwp_adb.cc \ + monitor_android.cc \ + runtime_android.cc \ + thread_android.cc + +ifeq ($(TARGET_ARCH),arm) +LIBART_TARGET_SRC_FILES += \ + oat/runtime/arm/context_arm.cc.arm \ + oat/runtime/arm/oat_support_entrypoints_arm.cc \ + oat/runtime/arm/runtime_support_arm.S +else # TARGET_ARCH != arm +ifeq ($(TARGET_ARCH),x86) +LIBART_TARGET_SRC_FILES += \ + oat/runtime/x86/context_x86.cc \ + oat/runtime/x86/oat_support_entrypoints_x86.cc \ + oat/runtime/x86/runtime_support_x86.S +else # TARGET_ARCH != x86 +ifeq ($(TARGET_ARCH),mips) +LIBART_TARGET_SRC_FILES += \ + oat/runtime/mips/context_mips.cc \ + oat/runtime/mips/oat_support_entrypoints_mips.cc \ + oat/runtime/mips/runtime_support_mips.S +else # TARGET_ARCH != mips +$(error unsupported TARGET_ARCH=$(TARGET_ARCH)) +endif # TARGET_ARCH != mips +endif # TARGET_ARCH != x86 +endif # TARGET_ARCH != arm + +ifeq ($(TARGET_ARCH),arm) +LIBART_TARGET_SRC_FILES += thread_arm.cc +else # TARGET_ARCH != arm +ifeq ($(TARGET_ARCH),x86) +LIBART_TARGET_SRC_FILES += thread_x86.cc +else # TARGET_ARCH != x86 +ifeq ($(TARGET_ARCH),mips) +LIBART_TARGET_SRC_FILES += thread_mips.cc +else # TARGET_ARCH != mips +$(error unsupported TARGET_ARCH=$(TARGET_ARCH)) +endif # TARGET_ARCH != mips +endif # TARGET_ARCH != x86 +endif # TARGET_ARCH != arm + +LIBART_HOST_SRC_FILES := \ + $(LIBART_COMMON_SRC_FILES) \ + base/logging_linux.cc \ + monitor_linux.cc \ + runtime_linux.cc \ + thread_linux.cc + +ifeq ($(HOST_ARCH),x86) +LIBART_HOST_SRC_FILES += \ + oat/runtime/x86/context_x86.cc \ + oat/runtime/x86/oat_support_entrypoints_x86.cc \ + oat/runtime/x86/runtime_support_x86.S +else # HOST_ARCH != x86 +$(error unsupported HOST_ARCH=$(HOST_ARCH)) +endif # HOST_ARCH != x86 + +ifeq ($(HOST_ARCH),x86) +LIBART_HOST_SRC_FILES += thread_x86.cc +else # HOST_ARCH != x86 +$(error unsupported HOST_ARCH=$(HOST_ARCH)) +endif # HOST_ARCH != x86 + + +LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \ + base/mutex.h \ + dex_file.h \ + dex_instruction.h \ + gc/collector/gc_type.h \ + gc/space/space.h \ + gc/heap.h \ + indirect_reference_table.h \ + instruction_set.h \ + invoke_type.h \ + jdwp/jdwp.h \ + jdwp/jdwp_constants.h \ + locks.h \ + mirror/class.h \ + thread.h \ + thread_state.h \ + verifier/method_verifier.h + +LIBART_CFLAGS := +ifeq ($(ART_USE_PORTABLE_COMPILER),true) + LIBART_CFLAGS += -DART_USE_PORTABLE_COMPILER=1 +endif + +# $(1): target or host +# $(2): ndebug or debug +define build-libart + ifneq ($(1),target) + ifneq ($(1),host) + $$(error expected target or host for argument 1, received $(1)) + endif + endif + ifneq ($(2),ndebug) + ifneq ($(2),debug) + $$(error expected ndebug or debug for argument 2, received $(2)) + endif + endif + + art_target_or_host := $(1) + art_ndebug_or_debug := $(2) + + include $(CLEAR_VARS) + ifeq ($$(art_target_or_host),target) + include external/stlport/libstlport.mk + endif + LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION) + ifeq ($$(art_ndebug_or_debug),ndebug) + LOCAL_MODULE := libart + else # debug + LOCAL_MODULE := libartd + endif + + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE_CLASS := SHARED_LIBRARIES + + ifeq ($$(art_target_or_host),target) + LOCAL_SRC_FILES := $(LIBART_TARGET_SRC_FILES) + else # host + LOCAL_SRC_FILES := $(LIBART_HOST_SRC_FILES) + LOCAL_IS_HOST_MODULE := true + endif + + GENERATED_SRC_DIR := $$(call intermediates-dir-for,$$(LOCAL_MODULE_CLASS),$$(LOCAL_MODULE),$$(LOCAL_IS_HOST_MODULE),) + ENUM_OPERATOR_OUT_CC_FILES := $$(patsubst %.h,%_operator_out.cc,$$(LIBART_ENUM_OPERATOR_OUT_HEADER_FILES)) + ENUM_OPERATOR_OUT_GEN := $$(addprefix $$(GENERATED_SRC_DIR)/,$$(ENUM_OPERATOR_OUT_CC_FILES)) + +$$(ENUM_OPERATOR_OUT_GEN): art/tools/generate-operator-out.py +$$(ENUM_OPERATOR_OUT_GEN): PRIVATE_CUSTOM_TOOL = art/tools/generate-operator-out.py $(LOCAL_PATH) $$< > $$@ +$$(ENUM_OPERATOR_OUT_GEN): $$(GENERATED_SRC_DIR)/%_operator_out.cc : $(LOCAL_PATH)/%.h + $$(transform-generated-source) + + LOCAL_GENERATED_SOURCES += $$(ENUM_OPERATOR_OUT_GEN) + + LOCAL_CFLAGS := $(LIBART_CFLAGS) + ifeq ($$(art_target_or_host),target) + LOCAL_CLANG := $(ART_TARGET_CLANG) + LOCAL_CFLAGS += $(ART_TARGET_CFLAGS) + else # host + LOCAL_CLANG := $(ART_HOST_CLANG) + LOCAL_CFLAGS += $(ART_HOST_CFLAGS) + endif + ifeq ($$(art_ndebug_or_debug),debug) + ifeq ($$(art_target_or_host),target) + LOCAL_CFLAGS += $(ART_TARGET_DEBUG_CFLAGS) + else # host + LOCAL_CFLAGS += $(ART_HOST_DEBUG_CFLAGS) + LOCAL_LDLIBS += $(ART_HOST_DEBUG_LDLIBS) + LOCAL_STATIC_LIBRARIES := libgtest_host + endif + else + ifeq ($$(art_target_or_host),target) + LOCAL_CFLAGS += $(ART_TARGET_NON_DEBUG_CFLAGS) + else # host + LOCAL_CFLAGS += $(ART_HOST_NON_DEBUG_CFLAGS) + endif + endif + LOCAL_C_INCLUDES += $(ART_C_INCLUDES) + LOCAL_SHARED_LIBRARIES := liblog libnativehelper + LOCAL_SHARED_LIBRARIES += libcorkscrew # native stack trace support + ifeq ($$(art_target_or_host),target) + LOCAL_SHARED_LIBRARIES += libcutils libstlport libz libdl libselinux + else # host + LOCAL_STATIC_LIBRARIES += libcutils + LOCAL_SHARED_LIBRARIES += libz-host + LOCAL_LDLIBS += -ldl -lpthread + ifeq ($(HOST_OS),linux) + LOCAL_LDLIBS += -lrt + endif + endif + include $(LLVM_GEN_INTRINSICS_MK) + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk + ifeq ($$(art_target_or_host),target) + include $(LLVM_DEVICE_BUILD_MK) + include $(BUILD_SHARED_LIBRARY) + else # host + include $(LLVM_HOST_BUILD_MK) + include $(BUILD_HOST_SHARED_LIBRARY) + endif +endef + +ifeq ($(ART_BUILD_TARGET_NDEBUG),true) + $(eval $(call build-libart,target,ndebug)) +endif +ifeq ($(ART_BUILD_TARGET_DEBUG),true) + $(eval $(call build-libart,target,debug)) +endif + +# We always build dex2oat and dependencies, even if the host build is otherwise disabled, since they are used to cross compile for the target. +ifeq ($(ART_BUILD_NDEBUG),true) + $(eval $(call build-libart,host,ndebug)) +endif +ifeq ($(ART_BUILD_DEBUG),true) + $(eval $(call build-libart,host,debug)) +endif diff --git a/src/asm_support.h b/runtime/asm_support.h index 8ea4adfcf2..8ea4adfcf2 100644 --- a/src/asm_support.h +++ b/runtime/asm_support.h diff --git a/src/atomic.cc b/runtime/atomic.cc index f2a998289c..f2a998289c 100644 --- a/src/atomic.cc +++ b/runtime/atomic.cc diff --git a/src/atomic.h b/runtime/atomic.h index d340dc5474..d340dc5474 100644 --- a/src/atomic.h +++ b/runtime/atomic.h diff --git a/src/atomic_integer.h b/runtime/atomic_integer.h index c4a8de9817..c4a8de9817 100644 --- a/src/atomic_integer.h +++ b/runtime/atomic_integer.h diff --git a/src/barrier.cc b/runtime/barrier.cc index 250d468adb..250d468adb 100644 --- a/src/barrier.cc +++ b/runtime/barrier.cc diff --git a/src/barrier.h b/runtime/barrier.h index 2b0429a7c2..2b0429a7c2 100644 --- a/src/barrier.h +++ b/runtime/barrier.h diff --git a/src/barrier_test.cc b/runtime/barrier_test.cc index 55d2d3d715..55d2d3d715 100644 --- a/src/barrier_test.cc +++ b/runtime/barrier_test.cc diff --git a/src/base/casts.h b/runtime/base/casts.h index 34c05af4e3..34c05af4e3 100644 --- a/src/base/casts.h +++ b/runtime/base/casts.h diff --git a/src/base/histogram-inl.h b/runtime/base/histogram-inl.h index 9514209c11..9514209c11 100644 --- a/src/base/histogram-inl.h +++ b/runtime/base/histogram-inl.h diff --git a/src/base/histogram.h b/runtime/base/histogram.h index 6878e71ccc..6878e71ccc 100644 --- a/src/base/histogram.h +++ b/runtime/base/histogram.h diff --git a/src/base/histogram_test.cc b/runtime/base/histogram_test.cc index ea3e35ff93..ea3e35ff93 100644 --- a/src/base/histogram_test.cc +++ b/runtime/base/histogram_test.cc diff --git a/src/base/logging.cc b/runtime/base/logging.cc index 2c6b6a8ce5..2c6b6a8ce5 100644 --- a/src/base/logging.cc +++ b/runtime/base/logging.cc diff --git a/src/base/logging.h b/runtime/base/logging.h index 8d89e4d0cb..8d89e4d0cb 100644 --- a/src/base/logging.h +++ b/runtime/base/logging.h diff --git a/src/base/logging_android.cc b/runtime/base/logging_android.cc index 9b1ac58461..9b1ac58461 100644 --- a/src/base/logging_android.cc +++ b/runtime/base/logging_android.cc diff --git a/src/base/logging_linux.cc b/runtime/base/logging_linux.cc index 0399128d65..0399128d65 100644 --- a/src/base/logging_linux.cc +++ b/runtime/base/logging_linux.cc diff --git a/src/base/macros.h b/runtime/base/macros.h index 847105d20c..847105d20c 100644 --- a/src/base/macros.h +++ b/runtime/base/macros.h diff --git a/src/base/mutex-inl.h b/runtime/base/mutex-inl.h index f911054b86..f911054b86 100644 --- a/src/base/mutex-inl.h +++ b/runtime/base/mutex-inl.h diff --git a/src/base/mutex.cc b/runtime/base/mutex.cc index fbec826af2..fbec826af2 100644 --- a/src/base/mutex.cc +++ b/runtime/base/mutex.cc diff --git a/src/base/mutex.h b/runtime/base/mutex.h index b62755917c..b62755917c 100644 --- a/src/base/mutex.h +++ b/runtime/base/mutex.h diff --git a/src/base/mutex_test.cc b/runtime/base/mutex_test.cc index 1af8e0ab99..1af8e0ab99 100644 --- a/src/base/mutex_test.cc +++ b/runtime/base/mutex_test.cc diff --git a/src/base/stl_util.h b/runtime/base/stl_util.h index eb8be42df3..eb8be42df3 100644 --- a/src/base/stl_util.h +++ b/runtime/base/stl_util.h diff --git a/src/base/stringpiece.cc b/runtime/base/stringpiece.cc index 47140e3247..47140e3247 100644 --- a/src/base/stringpiece.cc +++ b/runtime/base/stringpiece.cc diff --git a/src/base/stringpiece.h b/runtime/base/stringpiece.h index 3664218860..3664218860 100644 --- a/src/base/stringpiece.h +++ b/runtime/base/stringpiece.h diff --git a/src/base/stringprintf.cc b/runtime/base/stringprintf.cc index 8fd9257048..8fd9257048 100644 --- a/src/base/stringprintf.cc +++ b/runtime/base/stringprintf.cc diff --git a/src/base/stringprintf.h b/runtime/base/stringprintf.h index d707cc02d6..d707cc02d6 100644 --- a/src/base/stringprintf.h +++ b/runtime/base/stringprintf.h diff --git a/src/base/timing_logger.cc b/runtime/base/timing_logger.cc index c7cbbe504f..c7cbbe504f 100644 --- a/src/base/timing_logger.cc +++ b/runtime/base/timing_logger.cc diff --git a/src/base/timing_logger.h b/runtime/base/timing_logger.h index 65732b170d..65732b170d 100644 --- a/src/base/timing_logger.h +++ b/runtime/base/timing_logger.h diff --git a/src/base/unix_file/README b/runtime/base/unix_file/README index e9aec22954..e9aec22954 100644 --- a/src/base/unix_file/README +++ b/runtime/base/unix_file/README diff --git a/src/base/unix_file/fd_file.cc b/runtime/base/unix_file/fd_file.cc index 36f8ba7fc6..36f8ba7fc6 100644 --- a/src/base/unix_file/fd_file.cc +++ b/runtime/base/unix_file/fd_file.cc diff --git a/src/base/unix_file/fd_file.h b/runtime/base/unix_file/fd_file.h index 2b339613ba..2b339613ba 100644 --- a/src/base/unix_file/fd_file.h +++ b/runtime/base/unix_file/fd_file.h diff --git a/src/base/unix_file/fd_file_test.cc b/runtime/base/unix_file/fd_file_test.cc index d620666747..d620666747 100644 --- a/src/base/unix_file/fd_file_test.cc +++ b/runtime/base/unix_file/fd_file_test.cc diff --git a/src/base/unix_file/mapped_file.cc b/runtime/base/unix_file/mapped_file.cc index b63fdd3bef..b63fdd3bef 100644 --- a/src/base/unix_file/mapped_file.cc +++ b/runtime/base/unix_file/mapped_file.cc diff --git a/src/base/unix_file/mapped_file.h b/runtime/base/unix_file/mapped_file.h index 161100b0d5..161100b0d5 100644 --- a/src/base/unix_file/mapped_file.h +++ b/runtime/base/unix_file/mapped_file.h diff --git a/src/base/unix_file/mapped_file_test.cc b/runtime/base/unix_file/mapped_file_test.cc index a3b097dcae..a3b097dcae 100644 --- a/src/base/unix_file/mapped_file_test.cc +++ b/runtime/base/unix_file/mapped_file_test.cc diff --git a/src/base/unix_file/null_file.cc b/runtime/base/unix_file/null_file.cc index 050decb6db..050decb6db 100644 --- a/src/base/unix_file/null_file.cc +++ b/runtime/base/unix_file/null_file.cc diff --git a/src/base/unix_file/null_file.h b/runtime/base/unix_file/null_file.h index e716603687..e716603687 100644 --- a/src/base/unix_file/null_file.h +++ b/runtime/base/unix_file/null_file.h diff --git a/src/base/unix_file/null_file_test.cc b/runtime/base/unix_file/null_file_test.cc index 0f20acd825..0f20acd825 100644 --- a/src/base/unix_file/null_file_test.cc +++ b/runtime/base/unix_file/null_file_test.cc diff --git a/src/base/unix_file/random_access_file.h b/runtime/base/unix_file/random_access_file.h index 22da37f03e..22da37f03e 100644 --- a/src/base/unix_file/random_access_file.h +++ b/runtime/base/unix_file/random_access_file.h diff --git a/src/base/unix_file/random_access_file_test.h b/runtime/base/unix_file/random_access_file_test.h index 3baaeae8ac..3baaeae8ac 100644 --- a/src/base/unix_file/random_access_file_test.h +++ b/runtime/base/unix_file/random_access_file_test.h diff --git a/src/base/unix_file/random_access_file_utils.cc b/runtime/base/unix_file/random_access_file_utils.cc index df3b308bb0..df3b308bb0 100644 --- a/src/base/unix_file/random_access_file_utils.cc +++ b/runtime/base/unix_file/random_access_file_utils.cc diff --git a/src/base/unix_file/random_access_file_utils.h b/runtime/base/unix_file/random_access_file_utils.h index 0535ead8c5..0535ead8c5 100644 --- a/src/base/unix_file/random_access_file_utils.h +++ b/runtime/base/unix_file/random_access_file_utils.h diff --git a/src/base/unix_file/random_access_file_utils_test.cc b/runtime/base/unix_file/random_access_file_utils_test.cc index 63179220a2..63179220a2 100644 --- a/src/base/unix_file/random_access_file_utils_test.cc +++ b/runtime/base/unix_file/random_access_file_utils_test.cc diff --git a/src/base/unix_file/string_file.cc b/runtime/base/unix_file/string_file.cc index ff0d0fa3c4..ff0d0fa3c4 100644 --- a/src/base/unix_file/string_file.cc +++ b/runtime/base/unix_file/string_file.cc diff --git a/src/base/unix_file/string_file.h b/runtime/base/unix_file/string_file.h index 8944373344..8944373344 100644 --- a/src/base/unix_file/string_file.h +++ b/runtime/base/unix_file/string_file.h diff --git a/src/base/unix_file/string_file_test.cc b/runtime/base/unix_file/string_file_test.cc index 88214610c4..88214610c4 100644 --- a/src/base/unix_file/string_file_test.cc +++ b/runtime/base/unix_file/string_file_test.cc diff --git a/src/check_jni.cc b/runtime/check_jni.cc index 403a2eb348..403a2eb348 100644 --- a/src/check_jni.cc +++ b/runtime/check_jni.cc diff --git a/src/class_linker-inl.h b/runtime/class_linker-inl.h index 6cf49912a2..6cf49912a2 100644 --- a/src/class_linker-inl.h +++ b/runtime/class_linker-inl.h diff --git a/src/class_linker.cc b/runtime/class_linker.cc index 8ea4295702..8ea4295702 100644 --- a/src/class_linker.cc +++ b/runtime/class_linker.cc diff --git a/src/class_linker.h b/runtime/class_linker.h index df336724fa..df336724fa 100644 --- a/src/class_linker.h +++ b/runtime/class_linker.h diff --git a/src/class_linker_test.cc b/runtime/class_linker_test.cc index e5844b0038..e5844b0038 100644 --- a/src/class_linker_test.cc +++ b/runtime/class_linker_test.cc diff --git a/src/class_reference.h b/runtime/class_reference.h index c3be720ea5..c3be720ea5 100644 --- a/src/class_reference.h +++ b/runtime/class_reference.h diff --git a/src/closure.h b/runtime/closure.h index 17f2b84d82..17f2b84d82 100644 --- a/src/closure.h +++ b/runtime/closure.h diff --git a/src/common_test.cc b/runtime/common_test.cc index 5df7d4129f..5df7d4129f 100644 --- a/src/common_test.cc +++ b/runtime/common_test.cc diff --git a/src/common_test.h b/runtime/common_test.h index f03b1f9cdb..f03b1f9cdb 100644 --- a/src/common_test.h +++ b/runtime/common_test.h diff --git a/src/common_throws.cc b/runtime/common_throws.cc index 04979016e3..04979016e3 100644 --- a/src/common_throws.cc +++ b/runtime/common_throws.cc diff --git a/src/common_throws.h b/runtime/common_throws.h index 4bf12c0d01..4bf12c0d01 100644 --- a/src/common_throws.h +++ b/runtime/common_throws.h diff --git a/src/compiled_class.h b/runtime/compiled_class.h index f050ee6a7e..f050ee6a7e 100644 --- a/src/compiled_class.h +++ b/runtime/compiled_class.h diff --git a/src/compiled_method.cc b/runtime/compiled_method.cc index 757a324155..757a324155 100644 --- a/src/compiled_method.cc +++ b/runtime/compiled_method.cc diff --git a/src/compiled_method.h b/runtime/compiled_method.h index fb0172cc19..fb0172cc19 100644 --- a/src/compiled_method.h +++ b/runtime/compiled_method.h diff --git a/src/constants_arm.h b/runtime/constants_arm.h index 601c57247e..601c57247e 100644 --- a/src/constants_arm.h +++ b/runtime/constants_arm.h diff --git a/src/constants_mips.h b/runtime/constants_mips.h index 87a13554fb..87a13554fb 100644 --- a/src/constants_mips.h +++ b/runtime/constants_mips.h diff --git a/src/constants_x86.h b/runtime/constants_x86.h index e48b281599..e48b281599 100644 --- a/src/constants_x86.h +++ b/runtime/constants_x86.h diff --git a/src/debugger.cc b/runtime/debugger.cc index fe726aa6bd..fe726aa6bd 100644 --- a/src/debugger.cc +++ b/runtime/debugger.cc diff --git a/src/debugger.h b/runtime/debugger.h index eb17695249..eb17695249 100644 --- a/src/debugger.h +++ b/runtime/debugger.h diff --git a/src/dex_file-inl.h b/runtime/dex_file-inl.h index 5d8216eda5..5d8216eda5 100644 --- a/src/dex_file-inl.h +++ b/runtime/dex_file-inl.h diff --git a/src/dex_file.cc b/runtime/dex_file.cc index 1e37dcde07..1e37dcde07 100644 --- a/src/dex_file.cc +++ b/runtime/dex_file.cc diff --git a/src/dex_file.h b/runtime/dex_file.h index e09270e018..e09270e018 100644 --- a/src/dex_file.h +++ b/runtime/dex_file.h diff --git a/src/dex_file_test.cc b/runtime/dex_file_test.cc index e7899ecf31..e7899ecf31 100644 --- a/src/dex_file_test.cc +++ b/runtime/dex_file_test.cc diff --git a/src/dex_file_verifier.cc b/runtime/dex_file_verifier.cc index 6df4411565..6df4411565 100644 --- a/src/dex_file_verifier.cc +++ b/runtime/dex_file_verifier.cc diff --git a/src/dex_file_verifier.h b/runtime/dex_file_verifier.h index 5538d4aa75..5538d4aa75 100644 --- a/src/dex_file_verifier.h +++ b/runtime/dex_file_verifier.h diff --git a/src/dex_instruction-inl.h b/runtime/dex_instruction-inl.h index b426e66a1c..b426e66a1c 100644 --- a/src/dex_instruction-inl.h +++ b/runtime/dex_instruction-inl.h diff --git a/src/dex_instruction.cc b/runtime/dex_instruction.cc index 6527f103eb..6527f103eb 100644 --- a/src/dex_instruction.cc +++ b/runtime/dex_instruction.cc diff --git a/src/dex_instruction.h b/runtime/dex_instruction.h index 0407c57935..0407c57935 100644 --- a/src/dex_instruction.h +++ b/runtime/dex_instruction.h diff --git a/src/dex_instruction_list.h b/runtime/dex_instruction_list.h index 8257c783e7..8257c783e7 100644 --- a/src/dex_instruction_list.h +++ b/runtime/dex_instruction_list.h diff --git a/src/dex_instruction_visitor.h b/runtime/dex_instruction_visitor.h index ff4620f8f0..ff4620f8f0 100644 --- a/src/dex_instruction_visitor.h +++ b/runtime/dex_instruction_visitor.h diff --git a/src/dex_instruction_visitor_test.cc b/runtime/dex_instruction_visitor_test.cc index 8f42b0c9a4..8f42b0c9a4 100644 --- a/src/dex_instruction_visitor_test.cc +++ b/runtime/dex_instruction_visitor_test.cc diff --git a/src/dex_method_iterator.h b/runtime/dex_method_iterator.h index dc2e712681..dc2e712681 100644 --- a/src/dex_method_iterator.h +++ b/runtime/dex_method_iterator.h diff --git a/src/dex_method_iterator_test.cc b/runtime/dex_method_iterator_test.cc index 64c645e81a..64c645e81a 100644 --- a/src/dex_method_iterator_test.cc +++ b/runtime/dex_method_iterator_test.cc diff --git a/src/disassembler.cc b/runtime/disassembler.cc index 067083510b..067083510b 100644 --- a/src/disassembler.cc +++ b/runtime/disassembler.cc diff --git a/src/disassembler.h b/runtime/disassembler.h index 1f50bfc9c0..1f50bfc9c0 100644 --- a/src/disassembler.h +++ b/runtime/disassembler.h diff --git a/src/disassembler_arm.cc b/runtime/disassembler_arm.cc index 172bef84d6..172bef84d6 100644 --- a/src/disassembler_arm.cc +++ b/runtime/disassembler_arm.cc diff --git a/src/disassembler_arm.h b/runtime/disassembler_arm.h index 103876f33b..103876f33b 100644 --- a/src/disassembler_arm.h +++ b/runtime/disassembler_arm.h diff --git a/src/disassembler_mips.cc b/runtime/disassembler_mips.cc index 7fba4a8678..7fba4a8678 100644 --- a/src/disassembler_mips.cc +++ b/runtime/disassembler_mips.cc diff --git a/src/disassembler_mips.h b/runtime/disassembler_mips.h index ed45113db7..ed45113db7 100644 --- a/src/disassembler_mips.h +++ b/runtime/disassembler_mips.h diff --git a/src/disassembler_x86.cc b/runtime/disassembler_x86.cc index bda162a5a4..bda162a5a4 100644 --- a/src/disassembler_x86.cc +++ b/runtime/disassembler_x86.cc diff --git a/src/disassembler_x86.h b/runtime/disassembler_x86.h index 13f8503720..13f8503720 100644 --- a/src/disassembler_x86.h +++ b/runtime/disassembler_x86.h diff --git a/src/elf_file.cc b/runtime/elf_file.cc index cb4ef81be3..cb4ef81be3 100644 --- a/src/elf_file.cc +++ b/runtime/elf_file.cc diff --git a/src/elf_file.h b/runtime/elf_file.h index 59ce7f5bfd..59ce7f5bfd 100644 --- a/src/elf_file.h +++ b/runtime/elf_file.h diff --git a/src/exception_test.cc b/runtime/exception_test.cc index 54341e3a45..54341e3a45 100644 --- a/src/exception_test.cc +++ b/runtime/exception_test.cc diff --git a/src/file_output_stream.cc b/runtime/file_output_stream.cc index 0e4a2949ed..0e4a2949ed 100644 --- a/src/file_output_stream.cc +++ b/runtime/file_output_stream.cc diff --git a/src/file_output_stream.h b/runtime/file_output_stream.h index b5eb4f8194..b5eb4f8194 100644 --- a/src/file_output_stream.h +++ b/runtime/file_output_stream.h diff --git a/src/gc/accounting/atomic_stack.h b/runtime/gc/accounting/atomic_stack.h index 4e1c253bdf..4e1c253bdf 100644 --- a/src/gc/accounting/atomic_stack.h +++ b/runtime/gc/accounting/atomic_stack.h diff --git a/src/gc/accounting/card_table-inl.h b/runtime/gc/accounting/card_table-inl.h index 1e7529084a..1e7529084a 100644 --- a/src/gc/accounting/card_table-inl.h +++ b/runtime/gc/accounting/card_table-inl.h diff --git a/src/gc/accounting/card_table.cc b/runtime/gc/accounting/card_table.cc index 4f2ae26c37..4f2ae26c37 100644 --- a/src/gc/accounting/card_table.cc +++ b/runtime/gc/accounting/card_table.cc diff --git a/src/gc/accounting/card_table.h b/runtime/gc/accounting/card_table.h index cf85d15448..cf85d15448 100644 --- a/src/gc/accounting/card_table.h +++ b/runtime/gc/accounting/card_table.h diff --git a/src/gc/accounting/heap_bitmap-inl.h b/runtime/gc/accounting/heap_bitmap-inl.h index 8e3123b974..8e3123b974 100644 --- a/src/gc/accounting/heap_bitmap-inl.h +++ b/runtime/gc/accounting/heap_bitmap-inl.h diff --git a/src/gc/accounting/heap_bitmap.cc b/runtime/gc/accounting/heap_bitmap.cc index 1bdc9783fa..1bdc9783fa 100644 --- a/src/gc/accounting/heap_bitmap.cc +++ b/runtime/gc/accounting/heap_bitmap.cc diff --git a/src/gc/accounting/heap_bitmap.h b/runtime/gc/accounting/heap_bitmap.h index 5ff40c6426..5ff40c6426 100644 --- a/src/gc/accounting/heap_bitmap.h +++ b/runtime/gc/accounting/heap_bitmap.h diff --git a/src/gc/accounting/mod_union_table-inl.h b/runtime/gc/accounting/mod_union_table-inl.h index 656af94853..656af94853 100644 --- a/src/gc/accounting/mod_union_table-inl.h +++ b/runtime/gc/accounting/mod_union_table-inl.h diff --git a/src/gc/accounting/mod_union_table.cc b/runtime/gc/accounting/mod_union_table.cc index 05b68c4922..05b68c4922 100644 --- a/src/gc/accounting/mod_union_table.cc +++ b/runtime/gc/accounting/mod_union_table.cc diff --git a/src/gc/accounting/mod_union_table.h b/runtime/gc/accounting/mod_union_table.h index 5d25e05658..5d25e05658 100644 --- a/src/gc/accounting/mod_union_table.h +++ b/runtime/gc/accounting/mod_union_table.h diff --git a/src/gc/accounting/space_bitmap-inl.h b/runtime/gc/accounting/space_bitmap-inl.h index a4fd330c8f..a4fd330c8f 100644 --- a/src/gc/accounting/space_bitmap-inl.h +++ b/runtime/gc/accounting/space_bitmap-inl.h diff --git a/src/gc/accounting/space_bitmap.cc b/runtime/gc/accounting/space_bitmap.cc index 19f1128963..19f1128963 100644 --- a/src/gc/accounting/space_bitmap.cc +++ b/runtime/gc/accounting/space_bitmap.cc diff --git a/src/gc/accounting/space_bitmap.h b/runtime/gc/accounting/space_bitmap.h index bb487d88d0..bb487d88d0 100644 --- a/src/gc/accounting/space_bitmap.h +++ b/runtime/gc/accounting/space_bitmap.h diff --git a/src/gc/accounting/space_bitmap_test.cc b/runtime/gc/accounting/space_bitmap_test.cc index d00d7c2739..d00d7c2739 100644 --- a/src/gc/accounting/space_bitmap_test.cc +++ b/runtime/gc/accounting/space_bitmap_test.cc diff --git a/src/gc/allocator/dlmalloc.cc b/runtime/gc/allocator/dlmalloc.cc index 7584b6e6b9..7584b6e6b9 100644 --- a/src/gc/allocator/dlmalloc.cc +++ b/runtime/gc/allocator/dlmalloc.cc diff --git a/src/gc/allocator/dlmalloc.h b/runtime/gc/allocator/dlmalloc.h index 6b02a44ffe..6b02a44ffe 100644 --- a/src/gc/allocator/dlmalloc.h +++ b/runtime/gc/allocator/dlmalloc.h diff --git a/src/gc/collector/garbage_collector.cc b/runtime/gc/collector/garbage_collector.cc index 378a971250..378a971250 100644 --- a/src/gc/collector/garbage_collector.cc +++ b/runtime/gc/collector/garbage_collector.cc diff --git a/src/gc/collector/garbage_collector.h b/runtime/gc/collector/garbage_collector.h index 1ab395775b..1ab395775b 100644 --- a/src/gc/collector/garbage_collector.h +++ b/runtime/gc/collector/garbage_collector.h diff --git a/src/gc/collector/gc_type.cc b/runtime/gc/collector/gc_type.cc index e69de29bb2..e69de29bb2 100644 --- a/src/gc/collector/gc_type.cc +++ b/runtime/gc/collector/gc_type.cc diff --git a/src/gc/collector/gc_type.h b/runtime/gc/collector/gc_type.h index bb25bb93f9..bb25bb93f9 100644 --- a/src/gc/collector/gc_type.h +++ b/runtime/gc/collector/gc_type.h diff --git a/src/gc/collector/mark_sweep-inl.h b/runtime/gc/collector/mark_sweep-inl.h index ea9fced84a..ea9fced84a 100644 --- a/src/gc/collector/mark_sweep-inl.h +++ b/runtime/gc/collector/mark_sweep-inl.h diff --git a/src/gc/collector/mark_sweep.cc b/runtime/gc/collector/mark_sweep.cc index 279796f38d..279796f38d 100644 --- a/src/gc/collector/mark_sweep.cc +++ b/runtime/gc/collector/mark_sweep.cc diff --git a/src/gc/collector/mark_sweep.h b/runtime/gc/collector/mark_sweep.h index 9df3c19939..9df3c19939 100644 --- a/src/gc/collector/mark_sweep.h +++ b/runtime/gc/collector/mark_sweep.h diff --git a/src/gc/collector/partial_mark_sweep.cc b/runtime/gc/collector/partial_mark_sweep.cc index ef893c50b0..ef893c50b0 100644 --- a/src/gc/collector/partial_mark_sweep.cc +++ b/runtime/gc/collector/partial_mark_sweep.cc diff --git a/src/gc/collector/partial_mark_sweep.h b/runtime/gc/collector/partial_mark_sweep.h index bd4a580450..bd4a580450 100644 --- a/src/gc/collector/partial_mark_sweep.h +++ b/runtime/gc/collector/partial_mark_sweep.h diff --git a/src/gc/collector/sticky_mark_sweep.cc b/runtime/gc/collector/sticky_mark_sweep.cc index 71e580d748..71e580d748 100644 --- a/src/gc/collector/sticky_mark_sweep.cc +++ b/runtime/gc/collector/sticky_mark_sweep.cc diff --git a/src/gc/collector/sticky_mark_sweep.h b/runtime/gc/collector/sticky_mark_sweep.h index b16cfc1b49..b16cfc1b49 100644 --- a/src/gc/collector/sticky_mark_sweep.h +++ b/runtime/gc/collector/sticky_mark_sweep.h diff --git a/src/gc/heap.cc b/runtime/gc/heap.cc index a68cc02435..a68cc02435 100644 --- a/src/gc/heap.cc +++ b/runtime/gc/heap.cc diff --git a/src/gc/heap.h b/runtime/gc/heap.h index 790ab0216d..790ab0216d 100644 --- a/src/gc/heap.h +++ b/runtime/gc/heap.h diff --git a/src/gc/heap_test.cc b/runtime/gc/heap_test.cc index 02708e8341..02708e8341 100644 --- a/src/gc/heap_test.cc +++ b/runtime/gc/heap_test.cc diff --git a/src/gc/space/dlmalloc_space.cc b/runtime/gc/space/dlmalloc_space.cc index 02acd286dd..02acd286dd 100644 --- a/src/gc/space/dlmalloc_space.cc +++ b/runtime/gc/space/dlmalloc_space.cc diff --git a/src/gc/space/dlmalloc_space.h b/runtime/gc/space/dlmalloc_space.h index 00df0e6d42..00df0e6d42 100644 --- a/src/gc/space/dlmalloc_space.h +++ b/runtime/gc/space/dlmalloc_space.h diff --git a/src/gc/space/image_space.cc b/runtime/gc/space/image_space.cc index 46c39378d7..46c39378d7 100644 --- a/src/gc/space/image_space.cc +++ b/runtime/gc/space/image_space.cc diff --git a/src/gc/space/image_space.h b/runtime/gc/space/image_space.h index afec5b7305..afec5b7305 100644 --- a/src/gc/space/image_space.h +++ b/runtime/gc/space/image_space.h diff --git a/src/gc/space/large_object_space.cc b/runtime/gc/space/large_object_space.cc index 3cee1b7355..3cee1b7355 100644 --- a/src/gc/space/large_object_space.cc +++ b/runtime/gc/space/large_object_space.cc diff --git a/src/gc/space/large_object_space.h b/runtime/gc/space/large_object_space.h index 197fad3854..197fad3854 100644 --- a/src/gc/space/large_object_space.h +++ b/runtime/gc/space/large_object_space.h diff --git a/src/gc/space/space-inl.h b/runtime/gc/space/space-inl.h index 54bf604822..54bf604822 100644 --- a/src/gc/space/space-inl.h +++ b/runtime/gc/space/space-inl.h diff --git a/src/gc/space/space.cc b/runtime/gc/space/space.cc index eae281ad40..eae281ad40 100644 --- a/src/gc/space/space.cc +++ b/runtime/gc/space/space.cc diff --git a/src/gc/space/space.h b/runtime/gc/space/space.h index ca01c55497..ca01c55497 100644 --- a/src/gc/space/space.h +++ b/runtime/gc/space/space.h diff --git a/src/gc/space/space_test.cc b/runtime/gc/space/space_test.cc index 08ae894e58..08ae894e58 100644 --- a/src/gc/space/space_test.cc +++ b/runtime/gc/space/space_test.cc diff --git a/src/gc_map.h b/runtime/gc_map.h index 473b39a629..473b39a629 100644 --- a/src/gc_map.h +++ b/runtime/gc_map.h diff --git a/src/globals.h b/runtime/globals.h index dc9341ae0f..dc9341ae0f 100644 --- a/src/globals.h +++ b/runtime/globals.h diff --git a/src/gtest_test.cc b/runtime/gtest_test.cc index a40751d6f8..a40751d6f8 100644 --- a/src/gtest_test.cc +++ b/runtime/gtest_test.cc diff --git a/src/hprof/hprof.cc b/runtime/hprof/hprof.cc index d66ec7933b..d66ec7933b 100644 --- a/src/hprof/hprof.cc +++ b/runtime/hprof/hprof.cc diff --git a/src/hprof/hprof.h b/runtime/hprof/hprof.h index c6222dcb90..c6222dcb90 100644 --- a/src/hprof/hprof.h +++ b/runtime/hprof/hprof.h diff --git a/src/image.cc b/runtime/image.cc index 686a117c99..686a117c99 100644 --- a/src/image.cc +++ b/runtime/image.cc diff --git a/src/image.h b/runtime/image.h index f14d7d190a..f14d7d190a 100644 --- a/src/image.h +++ b/runtime/image.h diff --git a/src/image_test.cc b/runtime/image_test.cc index 9ab1d7475b..9ab1d7475b 100644 --- a/src/image_test.cc +++ b/runtime/image_test.cc diff --git a/src/indenter.h b/runtime/indenter.h index 4ac0c01163..4ac0c01163 100644 --- a/src/indenter.h +++ b/runtime/indenter.h diff --git a/src/indenter_test.cc b/runtime/indenter_test.cc index 1919e3d18e..1919e3d18e 100644 --- a/src/indenter_test.cc +++ b/runtime/indenter_test.cc diff --git a/src/indirect_reference_table.cc b/runtime/indirect_reference_table.cc index 0287d745c5..0287d745c5 100644 --- a/src/indirect_reference_table.cc +++ b/runtime/indirect_reference_table.cc diff --git a/src/indirect_reference_table.h b/runtime/indirect_reference_table.h index e09043dba7..e09043dba7 100644 --- a/src/indirect_reference_table.h +++ b/runtime/indirect_reference_table.h diff --git a/src/indirect_reference_table_test.cc b/runtime/indirect_reference_table_test.cc index bd2890c497..bd2890c497 100644 --- a/src/indirect_reference_table_test.cc +++ b/runtime/indirect_reference_table_test.cc diff --git a/src/instruction_set.h b/runtime/instruction_set.h index c4dae4dcb6..c4dae4dcb6 100644 --- a/src/instruction_set.h +++ b/runtime/instruction_set.h diff --git a/src/instrumentation.cc b/runtime/instrumentation.cc index 8598d6d4f8..8598d6d4f8 100644 --- a/src/instrumentation.cc +++ b/runtime/instrumentation.cc diff --git a/src/instrumentation.h b/runtime/instrumentation.h index 5fea34f388..5fea34f388 100644 --- a/src/instrumentation.h +++ b/runtime/instrumentation.h diff --git a/src/intern_table.cc b/runtime/intern_table.cc index d1ad2dbadc..d1ad2dbadc 100644 --- a/src/intern_table.cc +++ b/runtime/intern_table.cc diff --git a/src/intern_table.h b/runtime/intern_table.h index 1ff4f6d3c6..1ff4f6d3c6 100644 --- a/src/intern_table.h +++ b/runtime/intern_table.h diff --git a/src/intern_table_test.cc b/runtime/intern_table_test.cc index f6b040def2..f6b040def2 100644 --- a/src/intern_table_test.cc +++ b/runtime/intern_table_test.cc diff --git a/src/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc index 16e04a5a3f..16e04a5a3f 100644 --- a/src/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc diff --git a/src/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index 20166ac545..20166ac545 100644 --- a/src/interpreter/interpreter.h +++ b/runtime/interpreter/interpreter.h diff --git a/src/invoke_arg_array_builder.h b/runtime/invoke_arg_array_builder.h index b57d60a70f..b57d60a70f 100644 --- a/src/invoke_arg_array_builder.h +++ b/runtime/invoke_arg_array_builder.h diff --git a/src/invoke_type.h b/runtime/invoke_type.h index d724fdb9c1..d724fdb9c1 100644 --- a/src/invoke_type.h +++ b/runtime/invoke_type.h diff --git a/src/jdwp/README.txt b/runtime/jdwp/README.txt index da25fb17dd..da25fb17dd 100644 --- a/src/jdwp/README.txt +++ b/runtime/jdwp/README.txt diff --git a/src/jdwp/jdwp.h b/runtime/jdwp/jdwp.h index 436525c3d0..436525c3d0 100644 --- a/src/jdwp/jdwp.h +++ b/runtime/jdwp/jdwp.h diff --git a/src/jdwp/jdwp_adb.cc b/runtime/jdwp/jdwp_adb.cc index 9652f6075c..9652f6075c 100644 --- a/src/jdwp/jdwp_adb.cc +++ b/runtime/jdwp/jdwp_adb.cc diff --git a/src/jdwp/jdwp_bits.h b/runtime/jdwp/jdwp_bits.h index 2a3c775164..2a3c775164 100644 --- a/src/jdwp/jdwp_bits.h +++ b/runtime/jdwp/jdwp_bits.h diff --git a/src/jdwp/jdwp_constants.h b/runtime/jdwp/jdwp_constants.h index ebc575b6b6..ebc575b6b6 100644 --- a/src/jdwp/jdwp_constants.h +++ b/runtime/jdwp/jdwp_constants.h diff --git a/src/jdwp/jdwp_event.cc b/runtime/jdwp/jdwp_event.cc index 77434e12f8..77434e12f8 100644 --- a/src/jdwp/jdwp_event.cc +++ b/runtime/jdwp/jdwp_event.cc diff --git a/src/jdwp/jdwp_event.h b/runtime/jdwp/jdwp_event.h index a6eabb1371..a6eabb1371 100644 --- a/src/jdwp/jdwp_event.h +++ b/runtime/jdwp/jdwp_event.h diff --git a/src/jdwp/jdwp_expand_buf.cc b/runtime/jdwp/jdwp_expand_buf.cc index 0a64f28e11..0a64f28e11 100644 --- a/src/jdwp/jdwp_expand_buf.cc +++ b/runtime/jdwp/jdwp_expand_buf.cc diff --git a/src/jdwp/jdwp_expand_buf.h b/runtime/jdwp/jdwp_expand_buf.h index 820f62d6a0..820f62d6a0 100644 --- a/src/jdwp/jdwp_expand_buf.h +++ b/runtime/jdwp/jdwp_expand_buf.h diff --git a/src/jdwp/jdwp_handler.cc b/runtime/jdwp/jdwp_handler.cc index 8ef146c096..8ef146c096 100644 --- a/src/jdwp/jdwp_handler.cc +++ b/runtime/jdwp/jdwp_handler.cc diff --git a/src/jdwp/jdwp_main.cc b/runtime/jdwp/jdwp_main.cc index 3b6dd810cc..3b6dd810cc 100644 --- a/src/jdwp/jdwp_main.cc +++ b/runtime/jdwp/jdwp_main.cc diff --git a/src/jdwp/jdwp_priv.h b/runtime/jdwp/jdwp_priv.h index c8a7b2686d..c8a7b2686d 100644 --- a/src/jdwp/jdwp_priv.h +++ b/runtime/jdwp/jdwp_priv.h diff --git a/src/jdwp/jdwp_request.cc b/runtime/jdwp/jdwp_request.cc index 440b51b6e3..440b51b6e3 100644 --- a/src/jdwp/jdwp_request.cc +++ b/runtime/jdwp/jdwp_request.cc diff --git a/src/jdwp/jdwp_socket.cc b/runtime/jdwp/jdwp_socket.cc index 08b4859762..08b4859762 100644 --- a/src/jdwp/jdwp_socket.cc +++ b/runtime/jdwp/jdwp_socket.cc diff --git a/src/jdwp/object_registry.cc b/runtime/jdwp/object_registry.cc index 54e7a8e486..54e7a8e486 100644 --- a/src/jdwp/object_registry.cc +++ b/runtime/jdwp/object_registry.cc diff --git a/src/jdwp/object_registry.h b/runtime/jdwp/object_registry.h index d0ea59da71..d0ea59da71 100644 --- a/src/jdwp/object_registry.h +++ b/runtime/jdwp/object_registry.h diff --git a/src/jni_internal.cc b/runtime/jni_internal.cc index c6047cd136..c6047cd136 100644 --- a/src/jni_internal.cc +++ b/runtime/jni_internal.cc diff --git a/src/jni_internal.h b/runtime/jni_internal.h index 7b43f95cb3..7b43f95cb3 100644 --- a/src/jni_internal.h +++ b/runtime/jni_internal.h diff --git a/src/jni_internal_test.cc b/runtime/jni_internal_test.cc index c8b9eb95e3..c8b9eb95e3 100644 --- a/src/jni_internal_test.cc +++ b/runtime/jni_internal_test.cc diff --git a/src/jobject_comparator.cc b/runtime/jobject_comparator.cc index e22d75f941..e22d75f941 100644 --- a/src/jobject_comparator.cc +++ b/runtime/jobject_comparator.cc diff --git a/src/jobject_comparator.h b/runtime/jobject_comparator.h index 17098aaebb..17098aaebb 100644 --- a/src/jobject_comparator.h +++ b/runtime/jobject_comparator.h diff --git a/src/jvalue.h b/runtime/jvalue.h index 66cd93e2c0..66cd93e2c0 100644 --- a/src/jvalue.h +++ b/runtime/jvalue.h diff --git a/src/leb128.h b/runtime/leb128.h index a5a6683aee..a5a6683aee 100644 --- a/src/leb128.h +++ b/runtime/leb128.h diff --git a/src/locks.cc b/runtime/locks.cc index 51a40c383a..51a40c383a 100644 --- a/src/locks.cc +++ b/runtime/locks.cc diff --git a/src/locks.h b/runtime/locks.h index 91437e1830..91437e1830 100644 --- a/src/locks.h +++ b/runtime/locks.h diff --git a/src/log_severity.h b/runtime/log_severity.h index 126019bdb6..126019bdb6 100644 --- a/src/log_severity.h +++ b/runtime/log_severity.h diff --git a/src/mem_map.cc b/runtime/mem_map.cc index c75dffa63c..c75dffa63c 100644 --- a/src/mem_map.cc +++ b/runtime/mem_map.cc diff --git a/src/mem_map.h b/runtime/mem_map.h index 2eb7772705..2eb7772705 100644 --- a/src/mem_map.h +++ b/runtime/mem_map.h diff --git a/src/memory_region.cc b/runtime/memory_region.cc index 06eba0ff1c..06eba0ff1c 100644 --- a/src/memory_region.cc +++ b/runtime/memory_region.cc diff --git a/src/memory_region.h b/runtime/memory_region.h index cfbe42dddf..cfbe42dddf 100644 --- a/src/memory_region.h +++ b/runtime/memory_region.h diff --git a/src/method_reference.h b/runtime/method_reference.h index ff8bf313f0..ff8bf313f0 100644 --- a/src/method_reference.h +++ b/runtime/method_reference.h diff --git a/src/mirror/abstract_method-inl.h b/runtime/mirror/abstract_method-inl.h index a8238867aa..a8238867aa 100644 --- a/src/mirror/abstract_method-inl.h +++ b/runtime/mirror/abstract_method-inl.h diff --git a/src/mirror/abstract_method.cc b/runtime/mirror/abstract_method.cc index 88a9dc1aa6..88a9dc1aa6 100644 --- a/src/mirror/abstract_method.cc +++ b/runtime/mirror/abstract_method.cc diff --git a/src/mirror/abstract_method.h b/runtime/mirror/abstract_method.h index 339471dd5d..339471dd5d 100644 --- a/src/mirror/abstract_method.h +++ b/runtime/mirror/abstract_method.h diff --git a/src/mirror/array-inl.h b/runtime/mirror/array-inl.h index b7f212f50f..b7f212f50f 100644 --- a/src/mirror/array-inl.h +++ b/runtime/mirror/array-inl.h diff --git a/src/mirror/array.cc b/runtime/mirror/array.cc index 88cd309eeb..88cd309eeb 100644 --- a/src/mirror/array.cc +++ b/runtime/mirror/array.cc diff --git a/src/mirror/array.h b/runtime/mirror/array.h index 98b8ea0008..98b8ea0008 100644 --- a/src/mirror/array.h +++ b/runtime/mirror/array.h diff --git a/src/mirror/class-inl.h b/runtime/mirror/class-inl.h index 6819fb2954..6819fb2954 100644 --- a/src/mirror/class-inl.h +++ b/runtime/mirror/class-inl.h diff --git a/src/mirror/class.cc b/runtime/mirror/class.cc index 2d2130c39e..2d2130c39e 100644 --- a/src/mirror/class.cc +++ b/runtime/mirror/class.cc diff --git a/src/mirror/class.h b/runtime/mirror/class.h index 084aa24c7c..084aa24c7c 100644 --- a/src/mirror/class.h +++ b/runtime/mirror/class.h diff --git a/src/mirror/class_loader.h b/runtime/mirror/class_loader.h index 0d635f1d21..0d635f1d21 100644 --- a/src/mirror/class_loader.h +++ b/runtime/mirror/class_loader.h diff --git a/src/mirror/dex_cache-inl.h b/runtime/mirror/dex_cache-inl.h index 3b17c428a5..3b17c428a5 100644 --- a/src/mirror/dex_cache-inl.h +++ b/runtime/mirror/dex_cache-inl.h diff --git a/src/mirror/dex_cache.cc b/runtime/mirror/dex_cache.cc index 239dc5e0c3..239dc5e0c3 100644 --- a/src/mirror/dex_cache.cc +++ b/runtime/mirror/dex_cache.cc diff --git a/src/mirror/dex_cache.h b/runtime/mirror/dex_cache.h index 307588b581..307588b581 100644 --- a/src/mirror/dex_cache.h +++ b/runtime/mirror/dex_cache.h diff --git a/src/mirror/dex_cache_test.cc b/runtime/mirror/dex_cache_test.cc index 441c6da8a0..441c6da8a0 100644 --- a/src/mirror/dex_cache_test.cc +++ b/runtime/mirror/dex_cache_test.cc diff --git a/src/mirror/field-inl.h b/runtime/mirror/field-inl.h index be5dcab03d..be5dcab03d 100644 --- a/src/mirror/field-inl.h +++ b/runtime/mirror/field-inl.h diff --git a/src/mirror/field.cc b/runtime/mirror/field.cc index a96e8c8d54..a96e8c8d54 100644 --- a/src/mirror/field.cc +++ b/runtime/mirror/field.cc diff --git a/src/mirror/field.h b/runtime/mirror/field.h index 4e7abe8550..4e7abe8550 100644 --- a/src/mirror/field.h +++ b/runtime/mirror/field.h diff --git a/src/mirror/iftable-inl.h b/runtime/mirror/iftable-inl.h index 72803b8002..72803b8002 100644 --- a/src/mirror/iftable-inl.h +++ b/runtime/mirror/iftable-inl.h diff --git a/src/mirror/iftable.h b/runtime/mirror/iftable.h index ffb2e51582..ffb2e51582 100644 --- a/src/mirror/iftable.h +++ b/runtime/mirror/iftable.h diff --git a/src/mirror/object-inl.h b/runtime/mirror/object-inl.h index 1a91dd3e6f..1a91dd3e6f 100644 --- a/src/mirror/object-inl.h +++ b/runtime/mirror/object-inl.h diff --git a/src/mirror/object.cc b/runtime/mirror/object.cc index b2d6e71478..b2d6e71478 100644 --- a/src/mirror/object.cc +++ b/runtime/mirror/object.cc diff --git a/src/mirror/object.h b/runtime/mirror/object.h index 71b628db52..71b628db52 100644 --- a/src/mirror/object.h +++ b/runtime/mirror/object.h diff --git a/src/mirror/object_array-inl.h b/runtime/mirror/object_array-inl.h index b130dac514..b130dac514 100644 --- a/src/mirror/object_array-inl.h +++ b/runtime/mirror/object_array-inl.h diff --git a/src/mirror/object_array.h b/runtime/mirror/object_array.h index 08a8d62567..08a8d62567 100644 --- a/src/mirror/object_array.h +++ b/runtime/mirror/object_array.h diff --git a/src/mirror/object_test.cc b/runtime/mirror/object_test.cc index 53a1df95a6..53a1df95a6 100644 --- a/src/mirror/object_test.cc +++ b/runtime/mirror/object_test.cc diff --git a/src/mirror/proxy.h b/runtime/mirror/proxy.h index cac028a731..cac028a731 100644 --- a/src/mirror/proxy.h +++ b/runtime/mirror/proxy.h diff --git a/src/mirror/stack_trace_element.cc b/runtime/mirror/stack_trace_element.cc index 1ad01823b2..1ad01823b2 100644 --- a/src/mirror/stack_trace_element.cc +++ b/runtime/mirror/stack_trace_element.cc diff --git a/src/mirror/stack_trace_element.h b/runtime/mirror/stack_trace_element.h index d53c8602dc..d53c8602dc 100644 --- a/src/mirror/stack_trace_element.h +++ b/runtime/mirror/stack_trace_element.h diff --git a/src/mirror/string.cc b/runtime/mirror/string.cc index 97126cba4c..97126cba4c 100644 --- a/src/mirror/string.cc +++ b/runtime/mirror/string.cc diff --git a/src/mirror/string.h b/runtime/mirror/string.h index 8109dcb9a9..8109dcb9a9 100644 --- a/src/mirror/string.h +++ b/runtime/mirror/string.h diff --git a/src/mirror/throwable.cc b/runtime/mirror/throwable.cc index 78b76dc6ef..78b76dc6ef 100644 --- a/src/mirror/throwable.cc +++ b/runtime/mirror/throwable.cc diff --git a/src/mirror/throwable.h b/runtime/mirror/throwable.h index aafcc07d86..aafcc07d86 100644 --- a/src/mirror/throwable.h +++ b/runtime/mirror/throwable.h diff --git a/src/modifiers.h b/runtime/modifiers.h index 85bc06da65..85bc06da65 100644 --- a/src/modifiers.h +++ b/runtime/modifiers.h diff --git a/src/monitor.cc b/runtime/monitor.cc index 11790e5c9e..11790e5c9e 100644 --- a/src/monitor.cc +++ b/runtime/monitor.cc diff --git a/src/monitor.h b/runtime/monitor.h index 9194c08ab4..9194c08ab4 100644 --- a/src/monitor.h +++ b/runtime/monitor.h diff --git a/src/monitor_android.cc b/runtime/monitor_android.cc index 9265cd649d..9265cd649d 100644 --- a/src/monitor_android.cc +++ b/runtime/monitor_android.cc diff --git a/src/monitor_linux.cc b/runtime/monitor_linux.cc index 856ebe45f9..856ebe45f9 100644 --- a/src/monitor_linux.cc +++ b/runtime/monitor_linux.cc diff --git a/src/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index b9838f879a..b9838f879a 100644 --- a/src/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc diff --git a/src/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc index 992998eb66..992998eb66 100644 --- a/src/native/dalvik_system_VMDebug.cc +++ b/runtime/native/dalvik_system_VMDebug.cc diff --git a/src/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc index ce3cc932a0..ce3cc932a0 100644 --- a/src/native/dalvik_system_VMRuntime.cc +++ b/runtime/native/dalvik_system_VMRuntime.cc diff --git a/src/native/dalvik_system_VMStack.cc b/runtime/native/dalvik_system_VMStack.cc index 1a80d6286b..1a80d6286b 100644 --- a/src/native/dalvik_system_VMStack.cc +++ b/runtime/native/dalvik_system_VMStack.cc diff --git a/src/native/dalvik_system_Zygote.cc b/runtime/native/dalvik_system_Zygote.cc index 9b995f421d..9b995f421d 100644 --- a/src/native/dalvik_system_Zygote.cc +++ b/runtime/native/dalvik_system_Zygote.cc diff --git a/src/native/java_lang_Class.cc b/runtime/native/java_lang_Class.cc index a7296996da..a7296996da 100644 --- a/src/native/java_lang_Class.cc +++ b/runtime/native/java_lang_Class.cc diff --git a/src/native/java_lang_Object.cc b/runtime/native/java_lang_Object.cc index 5db7a330a8..5db7a330a8 100644 --- a/src/native/java_lang_Object.cc +++ b/runtime/native/java_lang_Object.cc diff --git a/src/native/java_lang_Runtime.cc b/runtime/native/java_lang_Runtime.cc index e380c17793..e380c17793 100644 --- a/src/native/java_lang_Runtime.cc +++ b/runtime/native/java_lang_Runtime.cc diff --git a/src/native/java_lang_String.cc b/runtime/native/java_lang_String.cc index 3e9c3f36fa..3e9c3f36fa 100644 --- a/src/native/java_lang_String.cc +++ b/runtime/native/java_lang_String.cc diff --git a/src/native/java_lang_System.cc b/runtime/native/java_lang_System.cc index 2462f2fd8e..2462f2fd8e 100644 --- a/src/native/java_lang_System.cc +++ b/runtime/native/java_lang_System.cc diff --git a/src/native/java_lang_Thread.cc b/runtime/native/java_lang_Thread.cc index 8ef190aa3f..8ef190aa3f 100644 --- a/src/native/java_lang_Thread.cc +++ b/runtime/native/java_lang_Thread.cc diff --git a/src/native/java_lang_Throwable.cc b/runtime/native/java_lang_Throwable.cc index 332a1305e0..332a1305e0 100644 --- a/src/native/java_lang_Throwable.cc +++ b/runtime/native/java_lang_Throwable.cc diff --git a/src/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc index c23b08ca66..c23b08ca66 100644 --- a/src/native/java_lang_VMClassLoader.cc +++ b/runtime/native/java_lang_VMClassLoader.cc diff --git a/src/native/java_lang_reflect_Array.cc b/runtime/native/java_lang_reflect_Array.cc index 45ec0ad5a2..45ec0ad5a2 100644 --- a/src/native/java_lang_reflect_Array.cc +++ b/runtime/native/java_lang_reflect_Array.cc diff --git a/src/native/java_lang_reflect_Constructor.cc b/runtime/native/java_lang_reflect_Constructor.cc index 918021748b..918021748b 100644 --- a/src/native/java_lang_reflect_Constructor.cc +++ b/runtime/native/java_lang_reflect_Constructor.cc diff --git a/src/native/java_lang_reflect_Field.cc b/runtime/native/java_lang_reflect_Field.cc index b0daa916c6..b0daa916c6 100644 --- a/src/native/java_lang_reflect_Field.cc +++ b/runtime/native/java_lang_reflect_Field.cc diff --git a/src/native/java_lang_reflect_Method.cc b/runtime/native/java_lang_reflect_Method.cc index 14dc6a44ee..14dc6a44ee 100644 --- a/src/native/java_lang_reflect_Method.cc +++ b/runtime/native/java_lang_reflect_Method.cc diff --git a/src/native/java_lang_reflect_Proxy.cc b/runtime/native/java_lang_reflect_Proxy.cc index 547ce7b38d..547ce7b38d 100644 --- a/src/native/java_lang_reflect_Proxy.cc +++ b/runtime/native/java_lang_reflect_Proxy.cc diff --git a/src/native/java_util_concurrent_atomic_AtomicLong.cc b/runtime/native/java_util_concurrent_atomic_AtomicLong.cc index bf92e1230d..bf92e1230d 100644 --- a/src/native/java_util_concurrent_atomic_AtomicLong.cc +++ b/runtime/native/java_util_concurrent_atomic_AtomicLong.cc diff --git a/src/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc index d7cd18dc9c..d7cd18dc9c 100644 --- a/src/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc +++ b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc diff --git a/src/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc index 5ba29946d1..5ba29946d1 100644 --- a/src/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc +++ b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc diff --git a/src/native/sun_misc_Unsafe.cc b/runtime/native/sun_misc_Unsafe.cc index eece81a9e8..eece81a9e8 100644 --- a/src/native/sun_misc_Unsafe.cc +++ b/runtime/native/sun_misc_Unsafe.cc diff --git a/src/nth_caller_visitor.h b/runtime/nth_caller_visitor.h index c32a46aa02..c32a46aa02 100644 --- a/src/nth_caller_visitor.h +++ b/runtime/nth_caller_visitor.h diff --git a/src/oat.cc b/runtime/oat.cc index e606953ed5..e606953ed5 100644 --- a/src/oat.cc +++ b/runtime/oat.cc diff --git a/src/oat.h b/runtime/oat.h index c67a1a6630..c67a1a6630 100644 --- a/src/oat.h +++ b/runtime/oat.h diff --git a/src/oat/runtime/argument_visitor.h b/runtime/oat/runtime/argument_visitor.h index 4ab05b9e4d..4ab05b9e4d 100644 --- a/src/oat/runtime/argument_visitor.h +++ b/runtime/oat/runtime/argument_visitor.h diff --git a/src/oat/runtime/arm/context_arm.cc b/runtime/oat/runtime/arm/context_arm.cc index 4e42e94e60..4e42e94e60 100644 --- a/src/oat/runtime/arm/context_arm.cc +++ b/runtime/oat/runtime/arm/context_arm.cc diff --git a/src/oat/runtime/arm/context_arm.h b/runtime/oat/runtime/arm/context_arm.h index ec1d4cb7f6..ec1d4cb7f6 100644 --- a/src/oat/runtime/arm/context_arm.h +++ b/runtime/oat/runtime/arm/context_arm.h diff --git a/src/oat/runtime/arm/oat_support_entrypoints_arm.cc b/runtime/oat/runtime/arm/oat_support_entrypoints_arm.cc index 2e9453ce9c..2e9453ce9c 100644 --- a/src/oat/runtime/arm/oat_support_entrypoints_arm.cc +++ b/runtime/oat/runtime/arm/oat_support_entrypoints_arm.cc diff --git a/src/oat/runtime/arm/runtime_support_arm.S b/runtime/oat/runtime/arm/runtime_support_arm.S index f19e8bada0..f19e8bada0 100644 --- a/src/oat/runtime/arm/runtime_support_arm.S +++ b/runtime/oat/runtime/arm/runtime_support_arm.S diff --git a/src/oat/runtime/callee_save_frame.h b/runtime/oat/runtime/callee_save_frame.h index dd2f3fa69e..dd2f3fa69e 100644 --- a/src/oat/runtime/callee_save_frame.h +++ b/runtime/oat/runtime/callee_save_frame.h diff --git a/src/oat/runtime/context.cc b/runtime/oat/runtime/context.cc index 7075e42575..7075e42575 100644 --- a/src/oat/runtime/context.cc +++ b/runtime/oat/runtime/context.cc diff --git a/src/oat/runtime/context.h b/runtime/oat/runtime/context.h index 895abf99ed..895abf99ed 100644 --- a/src/oat/runtime/context.h +++ b/runtime/oat/runtime/context.h diff --git a/src/oat/runtime/mips/context_mips.cc b/runtime/oat/runtime/mips/context_mips.cc index cbd63d806e..cbd63d806e 100644 --- a/src/oat/runtime/mips/context_mips.cc +++ b/runtime/oat/runtime/mips/context_mips.cc diff --git a/src/oat/runtime/mips/context_mips.h b/runtime/oat/runtime/mips/context_mips.h index fc8ef9655f..fc8ef9655f 100644 --- a/src/oat/runtime/mips/context_mips.h +++ b/runtime/oat/runtime/mips/context_mips.h diff --git a/src/oat/runtime/mips/oat_support_entrypoints_mips.cc b/runtime/oat/runtime/mips/oat_support_entrypoints_mips.cc index 8e066118cd..8e066118cd 100644 --- a/src/oat/runtime/mips/oat_support_entrypoints_mips.cc +++ b/runtime/oat/runtime/mips/oat_support_entrypoints_mips.cc diff --git a/src/oat/runtime/mips/runtime_support_mips.S b/runtime/oat/runtime/mips/runtime_support_mips.S index 45d583e097..45d583e097 100644 --- a/src/oat/runtime/mips/runtime_support_mips.S +++ b/runtime/oat/runtime/mips/runtime_support_mips.S diff --git a/src/oat/runtime/oat_support_entrypoints.h b/runtime/oat/runtime/oat_support_entrypoints.h index c1a2587c45..c1a2587c45 100644 --- a/src/oat/runtime/oat_support_entrypoints.h +++ b/runtime/oat/runtime/oat_support_entrypoints.h diff --git a/src/oat/runtime/support_alloc.cc b/runtime/oat/runtime/support_alloc.cc index f66fc848d5..f66fc848d5 100644 --- a/src/oat/runtime/support_alloc.cc +++ b/runtime/oat/runtime/support_alloc.cc diff --git a/src/oat/runtime/support_cast.cc b/runtime/oat/runtime/support_cast.cc index fe91e617bb..fe91e617bb 100644 --- a/src/oat/runtime/support_cast.cc +++ b/runtime/oat/runtime/support_cast.cc diff --git a/src/oat/runtime/support_deoptimize.cc b/runtime/oat/runtime/support_deoptimize.cc index 43fc9d2a2d..43fc9d2a2d 100644 --- a/src/oat/runtime/support_deoptimize.cc +++ b/runtime/oat/runtime/support_deoptimize.cc diff --git a/src/oat/runtime/support_dexcache.cc b/runtime/oat/runtime/support_dexcache.cc index 0af7a6281d..0af7a6281d 100644 --- a/src/oat/runtime/support_dexcache.cc +++ b/runtime/oat/runtime/support_dexcache.cc diff --git a/src/oat/runtime/support_field.cc b/runtime/oat/runtime/support_field.cc index c20326c63e..c20326c63e 100644 --- a/src/oat/runtime/support_field.cc +++ b/runtime/oat/runtime/support_field.cc diff --git a/src/oat/runtime/support_fillarray.cc b/runtime/oat/runtime/support_fillarray.cc index a0b06fb521..a0b06fb521 100644 --- a/src/oat/runtime/support_fillarray.cc +++ b/runtime/oat/runtime/support_fillarray.cc diff --git a/src/oat/runtime/support_instrumentation.cc b/runtime/oat/runtime/support_instrumentation.cc index 1f1b9523e8..1f1b9523e8 100644 --- a/src/oat/runtime/support_instrumentation.cc +++ b/runtime/oat/runtime/support_instrumentation.cc diff --git a/src/oat/runtime/support_interpreter.cc b/runtime/oat/runtime/support_interpreter.cc index 55be54f2c2..55be54f2c2 100644 --- a/src/oat/runtime/support_interpreter.cc +++ b/runtime/oat/runtime/support_interpreter.cc diff --git a/src/oat/runtime/support_invoke.cc b/runtime/oat/runtime/support_invoke.cc index 6a95f3c8ff..6a95f3c8ff 100644 --- a/src/oat/runtime/support_invoke.cc +++ b/runtime/oat/runtime/support_invoke.cc diff --git a/src/oat/runtime/support_jni.cc b/runtime/oat/runtime/support_jni.cc index 8f0f7ca93d..8f0f7ca93d 100644 --- a/src/oat/runtime/support_jni.cc +++ b/runtime/oat/runtime/support_jni.cc diff --git a/src/oat/runtime/support_locks.cc b/runtime/oat/runtime/support_locks.cc index 79bb7a69f1..79bb7a69f1 100644 --- a/src/oat/runtime/support_locks.cc +++ b/runtime/oat/runtime/support_locks.cc diff --git a/src/oat/runtime/support_math.cc b/runtime/oat/runtime/support_math.cc index 0bfe59dc2f..0bfe59dc2f 100644 --- a/src/oat/runtime/support_math.cc +++ b/runtime/oat/runtime/support_math.cc diff --git a/src/oat/runtime/support_proxy.cc b/runtime/oat/runtime/support_proxy.cc index d4d0ca1034..d4d0ca1034 100644 --- a/src/oat/runtime/support_proxy.cc +++ b/runtime/oat/runtime/support_proxy.cc diff --git a/src/oat/runtime/support_stubs.cc b/runtime/oat/runtime/support_stubs.cc index 096cb9c622..096cb9c622 100644 --- a/src/oat/runtime/support_stubs.cc +++ b/runtime/oat/runtime/support_stubs.cc diff --git a/src/oat/runtime/support_thread.cc b/runtime/oat/runtime/support_thread.cc index e7117147a9..e7117147a9 100644 --- a/src/oat/runtime/support_thread.cc +++ b/runtime/oat/runtime/support_thread.cc diff --git a/src/oat/runtime/support_throw.cc b/runtime/oat/runtime/support_throw.cc index 9588698bb2..9588698bb2 100644 --- a/src/oat/runtime/support_throw.cc +++ b/runtime/oat/runtime/support_throw.cc diff --git a/src/oat/runtime/x86/context_x86.cc b/runtime/oat/runtime/x86/context_x86.cc index ceb10bd6ca..ceb10bd6ca 100644 --- a/src/oat/runtime/x86/context_x86.cc +++ b/runtime/oat/runtime/x86/context_x86.cc diff --git a/src/oat/runtime/x86/context_x86.h b/runtime/oat/runtime/x86/context_x86.h index 7928fd860f..7928fd860f 100644 --- a/src/oat/runtime/x86/context_x86.h +++ b/runtime/oat/runtime/x86/context_x86.h diff --git a/src/oat/runtime/x86/oat_support_entrypoints_x86.cc b/runtime/oat/runtime/x86/oat_support_entrypoints_x86.cc index a90a583e9f..a90a583e9f 100644 --- a/src/oat/runtime/x86/oat_support_entrypoints_x86.cc +++ b/runtime/oat/runtime/x86/oat_support_entrypoints_x86.cc diff --git a/src/oat/runtime/x86/runtime_support_x86.S b/runtime/oat/runtime/x86/runtime_support_x86.S index ee6db0c3f8..ee6db0c3f8 100644 --- a/src/oat/runtime/x86/runtime_support_x86.S +++ b/runtime/oat/runtime/x86/runtime_support_x86.S diff --git a/src/oat/utils/arm/assembler_arm.cc b/runtime/oat/utils/arm/assembler_arm.cc index 960a60dfad..960a60dfad 100644 --- a/src/oat/utils/arm/assembler_arm.cc +++ b/runtime/oat/utils/arm/assembler_arm.cc diff --git a/src/oat/utils/arm/assembler_arm.h b/runtime/oat/utils/arm/assembler_arm.h index 06e0a55f63..06e0a55f63 100644 --- a/src/oat/utils/arm/assembler_arm.h +++ b/runtime/oat/utils/arm/assembler_arm.h diff --git a/src/oat/utils/arm/managed_register_arm.cc b/runtime/oat/utils/arm/managed_register_arm.cc index 57c23059de..57c23059de 100644 --- a/src/oat/utils/arm/managed_register_arm.cc +++ b/runtime/oat/utils/arm/managed_register_arm.cc diff --git a/src/oat/utils/arm/managed_register_arm.h b/runtime/oat/utils/arm/managed_register_arm.h index b069f6dedd..b069f6dedd 100644 --- a/src/oat/utils/arm/managed_register_arm.h +++ b/runtime/oat/utils/arm/managed_register_arm.h diff --git a/src/oat/utils/arm/managed_register_arm_test.cc b/runtime/oat/utils/arm/managed_register_arm_test.cc index f5d4cc0d10..f5d4cc0d10 100644 --- a/src/oat/utils/arm/managed_register_arm_test.cc +++ b/runtime/oat/utils/arm/managed_register_arm_test.cc diff --git a/src/oat/utils/assembler.cc b/runtime/oat/utils/assembler.cc index 92ce0b8001..92ce0b8001 100644 --- a/src/oat/utils/assembler.cc +++ b/runtime/oat/utils/assembler.cc diff --git a/src/oat/utils/assembler.h b/runtime/oat/utils/assembler.h index cbf145b949..cbf145b949 100644 --- a/src/oat/utils/assembler.h +++ b/runtime/oat/utils/assembler.h diff --git a/src/oat/utils/managed_register.h b/runtime/oat/utils/managed_register.h index a3d5795665..a3d5795665 100644 --- a/src/oat/utils/managed_register.h +++ b/runtime/oat/utils/managed_register.h diff --git a/src/oat/utils/mips/assembler_mips.cc b/runtime/oat/utils/mips/assembler_mips.cc index 25ba9b2219..25ba9b2219 100644 --- a/src/oat/utils/mips/assembler_mips.cc +++ b/runtime/oat/utils/mips/assembler_mips.cc diff --git a/src/oat/utils/mips/assembler_mips.h b/runtime/oat/utils/mips/assembler_mips.h index 02759e4efb..02759e4efb 100644 --- a/src/oat/utils/mips/assembler_mips.h +++ b/runtime/oat/utils/mips/assembler_mips.h diff --git a/src/oat/utils/mips/managed_register_mips.cc b/runtime/oat/utils/mips/managed_register_mips.cc index 195dafb0a1..195dafb0a1 100644 --- a/src/oat/utils/mips/managed_register_mips.cc +++ b/runtime/oat/utils/mips/managed_register_mips.cc diff --git a/src/oat/utils/mips/managed_register_mips.h b/runtime/oat/utils/mips/managed_register_mips.h index aaaabfcc0c..aaaabfcc0c 100644 --- a/src/oat/utils/mips/managed_register_mips.h +++ b/runtime/oat/utils/mips/managed_register_mips.h diff --git a/src/oat/utils/x86/assembler_x86.cc b/runtime/oat/utils/x86/assembler_x86.cc index fd8f152c54..fd8f152c54 100644 --- a/src/oat/utils/x86/assembler_x86.cc +++ b/runtime/oat/utils/x86/assembler_x86.cc diff --git a/src/oat/utils/x86/assembler_x86.h b/runtime/oat/utils/x86/assembler_x86.h index dddb9b1885..dddb9b1885 100644 --- a/src/oat/utils/x86/assembler_x86.h +++ b/runtime/oat/utils/x86/assembler_x86.h diff --git a/src/oat/utils/x86/assembler_x86_test.cc b/runtime/oat/utils/x86/assembler_x86_test.cc index 5d8a3b1521..5d8a3b1521 100644 --- a/src/oat/utils/x86/assembler_x86_test.cc +++ b/runtime/oat/utils/x86/assembler_x86_test.cc diff --git a/src/oat/utils/x86/managed_register_x86.cc b/runtime/oat/utils/x86/managed_register_x86.cc index 4697d06136..4697d06136 100644 --- a/src/oat/utils/x86/managed_register_x86.cc +++ b/runtime/oat/utils/x86/managed_register_x86.cc diff --git a/src/oat/utils/x86/managed_register_x86.h b/runtime/oat/utils/x86/managed_register_x86.h index 4481456315..4481456315 100644 --- a/src/oat/utils/x86/managed_register_x86.h +++ b/runtime/oat/utils/x86/managed_register_x86.h diff --git a/src/oat/utils/x86/managed_register_x86_test.cc b/runtime/oat/utils/x86/managed_register_x86_test.cc index 4fbafdadf9..4fbafdadf9 100644 --- a/src/oat/utils/x86/managed_register_x86_test.cc +++ b/runtime/oat/utils/x86/managed_register_x86_test.cc diff --git a/src/oat_file.cc b/runtime/oat_file.cc index ebf92a7f64..ebf92a7f64 100644 --- a/src/oat_file.cc +++ b/runtime/oat_file.cc diff --git a/src/oat_file.h b/runtime/oat_file.h index 0bf79a9c03..0bf79a9c03 100644 --- a/src/oat_file.h +++ b/runtime/oat_file.h diff --git a/src/oat_test.cc b/runtime/oat_test.cc index f41a7bad95..f41a7bad95 100644 --- a/src/oat_test.cc +++ b/runtime/oat_test.cc diff --git a/src/object_utils.h b/runtime/object_utils.h index 4af5d4c30b..4af5d4c30b 100644 --- a/src/object_utils.h +++ b/runtime/object_utils.h diff --git a/src/offsets.cc b/runtime/offsets.cc index 369140176e..369140176e 100644 --- a/src/offsets.cc +++ b/runtime/offsets.cc diff --git a/src/offsets.h b/runtime/offsets.h index f37dbd4413..f37dbd4413 100644 --- a/src/offsets.h +++ b/runtime/offsets.h diff --git a/src/os.h b/runtime/os.h index 3428b6afb3..3428b6afb3 100644 --- a/src/os.h +++ b/runtime/os.h diff --git a/src/os_linux.cc b/runtime/os_linux.cc index d3a1ccbcb8..d3a1ccbcb8 100644 --- a/src/os_linux.cc +++ b/runtime/os_linux.cc diff --git a/src/output_stream.h b/runtime/output_stream.h index b03092ddf7..b03092ddf7 100644 --- a/src/output_stream.h +++ b/runtime/output_stream.h diff --git a/src/output_stream_test.cc b/runtime/output_stream_test.cc index c9e0edefcd..c9e0edefcd 100644 --- a/src/output_stream_test.cc +++ b/runtime/output_stream_test.cc diff --git a/src/primitive.cc b/runtime/primitive.cc index 16ca0fe1f6..16ca0fe1f6 100644 --- a/src/primitive.cc +++ b/runtime/primitive.cc diff --git a/src/primitive.h b/runtime/primitive.h index eaa04cd054..eaa04cd054 100644 --- a/src/primitive.h +++ b/runtime/primitive.h diff --git a/src/reference_table.cc b/runtime/reference_table.cc index 192535ab02..192535ab02 100644 --- a/src/reference_table.cc +++ b/runtime/reference_table.cc diff --git a/src/reference_table.h b/runtime/reference_table.h index 5abb5c7b46..5abb5c7b46 100644 --- a/src/reference_table.h +++ b/runtime/reference_table.h diff --git a/src/reference_table_test.cc b/runtime/reference_table_test.cc index 16fbd94b21..16fbd94b21 100644 --- a/src/reference_table_test.cc +++ b/runtime/reference_table_test.cc diff --git a/src/reflection.cc b/runtime/reflection.cc index 467575cdf5..467575cdf5 100644 --- a/src/reflection.cc +++ b/runtime/reflection.cc diff --git a/src/reflection.h b/runtime/reflection.h index e9f4e0893e..e9f4e0893e 100644 --- a/src/reflection.h +++ b/runtime/reflection.h diff --git a/src/root_visitor.h b/runtime/root_visitor.h index d53acd3621..d53acd3621 100644 --- a/src/root_visitor.h +++ b/runtime/root_visitor.h diff --git a/src/runtime.cc b/runtime/runtime.cc index e5fb46fa5b..e5fb46fa5b 100644 --- a/src/runtime.cc +++ b/runtime/runtime.cc diff --git a/src/runtime.h b/runtime/runtime.h index 97b7c2518b..97b7c2518b 100644 --- a/src/runtime.h +++ b/runtime/runtime.h diff --git a/src/runtime_android.cc b/runtime/runtime_android.cc index 2013294dfb..2013294dfb 100644 --- a/src/runtime_android.cc +++ b/runtime/runtime_android.cc diff --git a/src/runtime_linux.cc b/runtime/runtime_linux.cc index a4fc3af606..a4fc3af606 100644 --- a/src/runtime_linux.cc +++ b/runtime/runtime_linux.cc diff --git a/src/runtime_stats.h b/runtime/runtime_stats.h index 55e57ecc1d..55e57ecc1d 100644 --- a/src/runtime_stats.h +++ b/runtime/runtime_stats.h diff --git a/src/runtime_support.cc b/runtime/runtime_support.cc index c933621981..c933621981 100644 --- a/src/runtime_support.cc +++ b/runtime/runtime_support.cc diff --git a/src/runtime_support.h b/runtime/runtime_support.h index 0cb82a5466..0cb82a5466 100644 --- a/src/runtime_support.h +++ b/runtime/runtime_support.h diff --git a/src/runtime_support_llvm.cc b/runtime/runtime_support_llvm.cc index cbdefe8a03..cbdefe8a03 100644 --- a/src/runtime_support_llvm.cc +++ b/runtime/runtime_support_llvm.cc diff --git a/src/runtime_support_llvm.h b/runtime/runtime_support_llvm.h index af99842089..af99842089 100644 --- a/src/runtime_support_llvm.h +++ b/runtime/runtime_support_llvm.h diff --git a/src/runtime_support_llvm_func_list.h b/runtime/runtime_support_llvm_func_list.h index a58b061e16..a58b061e16 100644 --- a/src/runtime_support_llvm_func_list.h +++ b/runtime/runtime_support_llvm_func_list.h diff --git a/src/runtime_support_test.cc b/runtime/runtime_support_test.cc index b827813146..b827813146 100644 --- a/src/runtime_support_test.cc +++ b/runtime/runtime_support_test.cc diff --git a/src/runtime_test.cc b/runtime/runtime_test.cc index d53b4a62a1..d53b4a62a1 100644 --- a/src/runtime_test.cc +++ b/runtime/runtime_test.cc diff --git a/src/safe_map.h b/runtime/safe_map.h index b9a6ecf5e7..b9a6ecf5e7 100644 --- a/src/safe_map.h +++ b/runtime/safe_map.h diff --git a/src/scoped_thread_state_change.h b/runtime/scoped_thread_state_change.h index 81db2ecf60..81db2ecf60 100644 --- a/src/scoped_thread_state_change.h +++ b/runtime/scoped_thread_state_change.h diff --git a/src/signal_catcher.cc b/runtime/signal_catcher.cc index a630db810a..a630db810a 100644 --- a/src/signal_catcher.cc +++ b/runtime/signal_catcher.cc diff --git a/src/signal_catcher.h b/runtime/signal_catcher.h index de0220b11c..de0220b11c 100644 --- a/src/signal_catcher.h +++ b/runtime/signal_catcher.h diff --git a/src/signal_set.h b/runtime/signal_set.h index d4aec86d1b..d4aec86d1b 100644 --- a/src/signal_set.h +++ b/runtime/signal_set.h diff --git a/src/sirt_ref.h b/runtime/sirt_ref.h index 12f8326347..12f8326347 100644 --- a/src/sirt_ref.h +++ b/runtime/sirt_ref.h diff --git a/src/stack.cc b/runtime/stack.cc index fcd0f2dc7e..fcd0f2dc7e 100644 --- a/src/stack.cc +++ b/runtime/stack.cc diff --git a/src/stack.h b/runtime/stack.h index fbfacb1733..fbfacb1733 100644 --- a/src/stack.h +++ b/runtime/stack.h diff --git a/src/stack_indirect_reference_table.h b/runtime/stack_indirect_reference_table.h index dd106344de..dd106344de 100644 --- a/src/stack_indirect_reference_table.h +++ b/runtime/stack_indirect_reference_table.h diff --git a/src/strutil.h b/runtime/strutil.h index b8769183da..b8769183da 100644 --- a/src/strutil.h +++ b/runtime/strutil.h diff --git a/src/thread-inl.h b/runtime/thread-inl.h index 2fc5987306..2fc5987306 100644 --- a/src/thread-inl.h +++ b/runtime/thread-inl.h diff --git a/src/thread.cc b/runtime/thread.cc index d6bd8a45a6..d6bd8a45a6 100644 --- a/src/thread.cc +++ b/runtime/thread.cc diff --git a/src/thread.h b/runtime/thread.h index 0daf763359..0daf763359 100644 --- a/src/thread.h +++ b/runtime/thread.h diff --git a/src/thread_android.cc b/runtime/thread_android.cc index 7c4551fa24..7c4551fa24 100644 --- a/src/thread_android.cc +++ b/runtime/thread_android.cc diff --git a/src/thread_arm.cc b/runtime/thread_arm.cc index 0ef26bff5e..0ef26bff5e 100644 --- a/src/thread_arm.cc +++ b/runtime/thread_arm.cc diff --git a/src/thread_linux.cc b/runtime/thread_linux.cc index 6f4b75dac1..6f4b75dac1 100644 --- a/src/thread_linux.cc +++ b/runtime/thread_linux.cc diff --git a/src/thread_list.cc b/runtime/thread_list.cc index 59c38b4345..59c38b4345 100644 --- a/src/thread_list.cc +++ b/runtime/thread_list.cc diff --git a/src/thread_list.h b/runtime/thread_list.h index 0470cfc3b9..0470cfc3b9 100644 --- a/src/thread_list.h +++ b/runtime/thread_list.h diff --git a/src/thread_mips.cc b/runtime/thread_mips.cc index 0ef26bff5e..0ef26bff5e 100644 --- a/src/thread_mips.cc +++ b/runtime/thread_mips.cc diff --git a/src/thread_pool.cc b/runtime/thread_pool.cc index f0f6f1844d..f0f6f1844d 100644 --- a/src/thread_pool.cc +++ b/runtime/thread_pool.cc diff --git a/src/thread_pool.h b/runtime/thread_pool.h index 814e654ad7..814e654ad7 100644 --- a/src/thread_pool.h +++ b/runtime/thread_pool.h diff --git a/src/thread_pool_test.cc b/runtime/thread_pool_test.cc index e2a32f510d..e2a32f510d 100644 --- a/src/thread_pool_test.cc +++ b/runtime/thread_pool_test.cc diff --git a/src/thread_state.h b/runtime/thread_state.h index 52f092efa0..52f092efa0 100644 --- a/src/thread_state.h +++ b/runtime/thread_state.h diff --git a/src/thread_x86.cc b/runtime/thread_x86.cc index 959f317471..959f317471 100644 --- a/src/thread_x86.cc +++ b/runtime/thread_x86.cc diff --git a/src/throw_location.cc b/runtime/throw_location.cc index 84d2c9b446..84d2c9b446 100644 --- a/src/throw_location.cc +++ b/runtime/throw_location.cc diff --git a/src/throw_location.h b/runtime/throw_location.h index 8c1b9410af..8c1b9410af 100644 --- a/src/throw_location.h +++ b/runtime/throw_location.h diff --git a/src/trace.cc b/runtime/trace.cc index 32932907e5..32932907e5 100644 --- a/src/trace.cc +++ b/runtime/trace.cc diff --git a/src/trace.h b/runtime/trace.h index 9432e718ff..9432e718ff 100644 --- a/src/trace.h +++ b/runtime/trace.h diff --git a/src/utf.cc b/runtime/utf.cc index 1add7d9a68..1add7d9a68 100644 --- a/src/utf.cc +++ b/runtime/utf.cc diff --git a/src/utf.h b/runtime/utf.h index 57c811f21d..57c811f21d 100644 --- a/src/utf.h +++ b/runtime/utf.h diff --git a/src/utils.cc b/runtime/utils.cc index 723be92d8a..723be92d8a 100644 --- a/src/utils.cc +++ b/runtime/utils.cc diff --git a/src/utils.h b/runtime/utils.h index e5028bae86..e5028bae86 100644 --- a/src/utils.h +++ b/runtime/utils.h diff --git a/src/utils_test.cc b/runtime/utils_test.cc index 0966e717ca..0966e717ca 100644 --- a/src/utils_test.cc +++ b/runtime/utils_test.cc diff --git a/src/vector_output_stream.cc b/runtime/vector_output_stream.cc index e5ff729036..e5ff729036 100644 --- a/src/vector_output_stream.cc +++ b/runtime/vector_output_stream.cc diff --git a/src/vector_output_stream.h b/runtime/vector_output_stream.h index 3546c8d577..3546c8d577 100644 --- a/src/vector_output_stream.h +++ b/runtime/vector_output_stream.h diff --git a/src/verifier/dex_gc_map.cc b/runtime/verifier/dex_gc_map.cc index cd0b1371e1..cd0b1371e1 100644 --- a/src/verifier/dex_gc_map.cc +++ b/runtime/verifier/dex_gc_map.cc diff --git a/src/verifier/dex_gc_map.h b/runtime/verifier/dex_gc_map.h index 673112b213..673112b213 100644 --- a/src/verifier/dex_gc_map.h +++ b/runtime/verifier/dex_gc_map.h diff --git a/src/verifier/instruction_flags.cc b/runtime/verifier/instruction_flags.cc index 358791ddf6..358791ddf6 100644 --- a/src/verifier/instruction_flags.cc +++ b/runtime/verifier/instruction_flags.cc diff --git a/src/verifier/instruction_flags.h b/runtime/verifier/instruction_flags.h index 9dc3ea7a7c..9dc3ea7a7c 100644 --- a/src/verifier/instruction_flags.h +++ b/runtime/verifier/instruction_flags.h diff --git a/src/verifier/method_verifier.cc b/runtime/verifier/method_verifier.cc index 5a70f2a696..5a70f2a696 100644 --- a/src/verifier/method_verifier.cc +++ b/runtime/verifier/method_verifier.cc diff --git a/src/verifier/method_verifier.h b/runtime/verifier/method_verifier.h index ac0de9e1f7..ac0de9e1f7 100644 --- a/src/verifier/method_verifier.h +++ b/runtime/verifier/method_verifier.h diff --git a/src/verifier/method_verifier_test.cc b/runtime/verifier/method_verifier_test.cc index 611b7c06eb..611b7c06eb 100644 --- a/src/verifier/method_verifier_test.cc +++ b/runtime/verifier/method_verifier_test.cc diff --git a/src/verifier/reg_type.cc b/runtime/verifier/reg_type.cc index 1c61a29cee..1c61a29cee 100644 --- a/src/verifier/reg_type.cc +++ b/runtime/verifier/reg_type.cc diff --git a/src/verifier/reg_type.h b/runtime/verifier/reg_type.h index 9ac0ecac8a..9ac0ecac8a 100644 --- a/src/verifier/reg_type.h +++ b/runtime/verifier/reg_type.h diff --git a/src/verifier/reg_type_cache-inl.h b/runtime/verifier/reg_type_cache-inl.h index 42474d1849..42474d1849 100644 --- a/src/verifier/reg_type_cache-inl.h +++ b/runtime/verifier/reg_type_cache-inl.h diff --git a/src/verifier/reg_type_cache.cc b/runtime/verifier/reg_type_cache.cc index 6013250835..6013250835 100644 --- a/src/verifier/reg_type_cache.cc +++ b/runtime/verifier/reg_type_cache.cc diff --git a/src/verifier/reg_type_cache.h b/runtime/verifier/reg_type_cache.h index d70123c2de..d70123c2de 100644 --- a/src/verifier/reg_type_cache.h +++ b/runtime/verifier/reg_type_cache.h diff --git a/src/verifier/reg_type_test.cc b/runtime/verifier/reg_type_test.cc index f37edff6ac..f37edff6ac 100644 --- a/src/verifier/reg_type_test.cc +++ b/runtime/verifier/reg_type_test.cc diff --git a/src/verifier/register_line-inl.h b/runtime/verifier/register_line-inl.h index 157e136cc1..157e136cc1 100644 --- a/src/verifier/register_line-inl.h +++ b/runtime/verifier/register_line-inl.h diff --git a/src/verifier/register_line.cc b/runtime/verifier/register_line.cc index 3a2145b9bb..3a2145b9bb 100644 --- a/src/verifier/register_line.cc +++ b/runtime/verifier/register_line.cc diff --git a/src/verifier/register_line.h b/runtime/verifier/register_line.h index 5f17049e8e..5f17049e8e 100644 --- a/src/verifier/register_line.h +++ b/runtime/verifier/register_line.h diff --git a/src/well_known_classes.cc b/runtime/well_known_classes.cc index 4d34c7350e..4d34c7350e 100644 --- a/src/well_known_classes.cc +++ b/runtime/well_known_classes.cc diff --git a/src/well_known_classes.h b/runtime/well_known_classes.h index 8170520d45..8170520d45 100644 --- a/src/well_known_classes.h +++ b/runtime/well_known_classes.h diff --git a/src/zip_archive.cc b/runtime/zip_archive.cc index 9cf7a09155..9cf7a09155 100644 --- a/src/zip_archive.cc +++ b/runtime/zip_archive.cc diff --git a/src/zip_archive.h b/runtime/zip_archive.h index ef3148696e..ef3148696e 100644 --- a/src/zip_archive.h +++ b/runtime/zip_archive.h diff --git a/src/zip_archive_test.cc b/runtime/zip_archive_test.cc index 9bdc24ba03..9bdc24ba03 100644 --- a/src/zip_archive_test.cc +++ b/runtime/zip_archive_test.cc diff --git a/test/Android.mk b/test/Android.mk index 6c7b26e7b6..fdb7273bcc 100644 --- a/test/Android.mk +++ b/test/Android.mk @@ -1,4 +1,4 @@ -# Copyright (C) 2012 The Android Open Source Project +# 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. @@ -15,6 +15,131 @@ LOCAL_PATH := $(call my-dir) +include art/build/Android.common.mk + +######################################################################## + +# subdirectories which are used as inputs for gtests +TEST_DEX_DIRECTORIES := \ + AbstractMethod \ + AllFields \ + CreateMethodSignature \ + ExceptionHandle \ + Interfaces \ + Main \ + MyClass \ + MyClassNatives \ + Nested \ + NonStaticLeafMethods \ + ProtoCompare \ + ProtoCompare2 \ + StaticLeafMethods \ + Statics \ + StaticsFromCode \ + XandY + +# subdirectories of which are used with test-art-target-oat +# Declare the simplest tests (Main, HelloWorld) first, the rest are alphabetical +TEST_OAT_DIRECTORIES := \ + Main \ + HelloWorld \ + \ + ParallelGC \ + ReferenceMap \ + StackWalk \ + ThreadStress + +# TODO: Enable when the StackWalk2 tests are passing +# StackWalk2 \ + +ART_TEST_TARGET_DEX_FILES := +ART_TEST_HOST_DEX_FILES := + +# $(1): module prefix +# $(2): input test directory +# $(3): target output module path (default module path is used on host) +define build-art-test-dex + ifeq ($(ART_BUILD_TARGET),true) + include $(CLEAR_VARS) + LOCAL_MODULE := $(1)-$(2) + LOCAL_MODULE_TAGS := tests + LOCAL_SRC_FILES := $(call all-java-files-under, $(2)) + LOCAL_JAVA_LIBRARIES := $(TARGET_CORE_JARS) + LOCAL_NO_STANDARD_LIBRARIES := true + LOCAL_MODULE_PATH := $(3) + LOCAL_DEX_PREOPT_IMAGE := $(TARGET_CORE_IMG_OUT) + LOCAL_DEX_PREOPT := false + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk + include $(BUILD_JAVA_LIBRARY) + ART_TEST_TARGET_DEX_FILES += $(3)/$$(LOCAL_MODULE).jar + endif + + ifeq ($(ART_BUILD_HOST),true) + include $(CLEAR_VARS) + LOCAL_MODULE := $(1)-$(2) + LOCAL_SRC_FILES := $(call all-java-files-under, $(2)) + LOCAL_JAVA_LIBRARIES := $(HOST_CORE_JARS) + LOCAL_NO_STANDARD_LIBRARIES := true + LOCAL_DEX_PREOPT_IMAGE := $(HOST_CORE_IMG_OUT) + LOCAL_BUILD_HOST_DEX := true + LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk + LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk + include $(BUILD_HOST_JAVA_LIBRARY) + ART_TEST_HOST_DEX_FILES += $$(LOCAL_MODULE_PATH)/$$(LOCAL_MODULE).jar + endif +endef +$(foreach dir,$(TEST_DEX_DIRECTORIES), $(eval $(call build-art-test-dex,art-test-dex,$(dir),$(ART_NATIVETEST_OUT)))) +$(foreach dir,$(TEST_OAT_DIRECTORIES), $(eval $(call build-art-test-dex,oat-test-dex,$(dir),$(ART_TEST_OUT)))) + +######################################################################## + +ART_TEST_TARGET_OAT_TARGETS := +ART_TEST_HOST_OAT_TARGETS := +ART_TEST_HOST_INTERPRETER_OAT_TARGETS := + +# $(1): directory +# $(2): arguments +define declare-test-art-oat-targets +.PHONY: test-art-target-oat-$(1) +test-art-target-oat-$(1): $(ART_TEST_OUT)/oat-test-dex-$(1).jar test-art-target-sync + adb shell touch $(ART_TEST_DIR)/test-art-target-oat-$(1) + adb shell rm $(ART_TEST_DIR)/test-art-target-oat-$(1) + adb shell sh -c "dalvikvm -XXlib:libartd.so -Ximage:$(ART_TEST_DIR)/core.art -classpath $(ART_TEST_DIR)/oat-test-dex-$(1).jar -Djava.library.path=$(ART_TEST_DIR) $(1) $(2) && touch $(ART_TEST_DIR)/test-art-target-oat-$(1)" + $(hide) (adb pull $(ART_TEST_DIR)/test-art-target-oat-$(1) /tmp/ && echo test-art-target-oat-$(1) PASSED) || (echo test-art-target-oat-$(1) FAILED && exit 1) + $(hide) rm /tmp/test-art-target-oat-$(1) + +$(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex: $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar $(HOST_CORE_IMG_OUT) | $(DEX2OAT) + $(DEX2OAT) --runtime-arg -Xms16m --runtime-arg -Xmx16m --boot-image=$(HOST_CORE_IMG_OUT) --dex-file=$$< --oat-file=$$@ --instruction-set=$(HOST_ARCH) --host --host-prefix="" --android-root=$(HOST_OUT) + +.PHONY: test-art-host-oat-$(1) +test-art-host-oat-$(1): $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex test-art-host-dependencies + mkdir -p /tmp/android-data/test-art-host-oat-$(1) + ANDROID_DATA=/tmp/android-data/test-art-host-oat-$(1) \ + ANDROID_ROOT=$(HOST_OUT) \ + LD_LIBRARY_PATH=$(HOST_OUT_SHARED_LIBRARIES) \ + dalvikvm -XXlib:libartd.so -Ximage:$(shell pwd)/$(HOST_CORE_IMG_OUT) -classpath $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar -Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES) $(1) $(2) \ + && echo test-art-host-oat-$(1) PASSED || (echo test-art-host-oat-$(1) FAILED && exit 1) + $(hide) rm -r /tmp/android-data/test-art-host-oat-$(1) + +.PHONY: test-art-host-interpreter-oat-$(1) +test-art-host-interpreter-oat-$(1): $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).odex test-art-host-dependencies + mkdir -p /tmp/android-data/test-art-host-interpreter-oat-$(1) + ANDROID_DATA=/tmp/android-data/test-art-host-interpreter-oat-$(1) \ + ANDROID_ROOT=$(HOST_OUT) \ + LD_LIBRARY_PATH=$(HOST_OUT_SHARED_LIBRARIES) \ + dalvikvm -XXlib:libartd.so -Ximage:$(shell pwd)/$(HOST_CORE_IMG_OUT) -Xint -classpath $(HOST_OUT_JAVA_LIBRARIES)/oat-test-dex-$(1).jar -Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES) $(1) $(2) \ + && echo test-art-host-interpreter-oat-$(1) PASSED || (echo test-art-host-interpreter-oat-$(1) FAILED && exit 1) + $(hide) rm -r /tmp/android-data/test-art-host-interpreter-oat-$(1) + +ART_TEST_TARGET_OAT_TARGETS += test-art-target-oat-$(1) +ART_TEST_HOST_OAT_TARGETS += test-art-host-oat-$(1) +ART_TEST_HOST_INTERPRETER_OAT_TARGETS += test-art-host-interpreter-oat-$(1) +endef +$(foreach dir,$(TEST_OAT_DIRECTORIES), $(eval $(call declare-test-art-oat-targets,$(dir)))) + +######################################################################## + TEST_ART_RUN_TEST_MAKE_TARGETS := # Helper to create individual build targets for tests. @@ -27,12 +152,13 @@ $$(dmart_target): $(DX) $(HOST_OUT_EXECUTABLES)/jasmin $(hide) DX=$(abspath $(DX)) JASMIN=$(abspath $(HOST_OUT_EXECUTABLES)/jasmin) $(LOCAL_PATH)/run-test --build-only --output-path $$(abspath $$(dir $$@)) $(1) $(hide) touch $$@ + TEST_ART_RUN_TEST_MAKE_TARGETS += $$(dmart_target) dmart_target := endef # Expand all tests. -$(foreach test, $(wildcard art/test/[0-9]*), $(eval $(call declare-make-art-run-test,$(notdir $(test))))) +$(foreach test, $(wildcard $(LOCAL_PATH)/[0-9]*), $(eval $(call declare-make-art-run-test,$(notdir $(test))))) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests @@ -43,3 +169,5 @@ include $(BUILD_PHONY_PACKAGE) # clear temp vars TEST_ART_RUN_TEST_MAKE_TARGETS := declare-make-art-run-test := + +######################################################################## diff --git a/tools/generate-operator-out.py b/tools/generate-operator-out.py index aa0c00e743..678e6642f3 100755 --- a/tools/generate-operator-out.py +++ b/tools/generate-operator-out.py @@ -158,8 +158,9 @@ def ProcessFile(filename): _ENUMS[enum_name].append((enum_value, enum_text)) def main(): + local_path = sys.argv[1] header_files = [] - for header_file in sys.argv[1:]: + for header_file in sys.argv[2:]: header_files.append(header_file) ProcessFile(header_file) @@ -167,9 +168,7 @@ def main(): print for header_file in header_files: - # Make gives us paths relative to the top of the tree, but our -I is art/. - # We also have -I art/src/, but icu4c is higher on the include path and has a "mutex.h" too. - header_file = header_file.replace('art/', '') + header_file = header_file.replace(local_path + '/', '') print '#include "%s"' % header_file print |