diff options
-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
@@ -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 671ce5c..fcaa2bd 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 e74645c..54f9926 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 8b65efd..51af10c 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 2f17583..0000000 --- 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 64f8368..239f6c1 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 6ee8492..0000000 --- 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 ce6edba..40a74c1 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 3a3e385..3a3e385 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 78d4614..78d4614 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 1fbf774..1fbf774 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 a950e82..a950e82 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 45a1531..45a1531 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 bc456b2..bc456b2 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 c680f1b..a3fa25e 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 eb1aec1..c6f99f3 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 b20004d..b20004d 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 12cbf9c..12cbf9c 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 734829a..ee68a5d 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 033657b..746d475 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 69d7f77..69d7f77 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 c4684a7..c4684a7 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 ec5ab5d..ec5ab5d 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 beb4cea..beb4cea 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 6c152d2..6c152d2 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 11e100d..11e100d 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 2b1c21f..2b1c21f 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 6b8f3f0..6b8f3f0 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 1f9c92a..2be1ef4 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 233735b..8aa0271 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 abcaacc..9dd7daf 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 36038f7..e804215 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 879065f..a6720ce 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 60111d1..a9199df 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 cd71c07..53a5e1a 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 110e9f4..feea896 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 ee127a8..4bece13 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 ef0cc72..abf921f 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 766cdce..5c10c4c 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 2980acb..865b9c5 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 3bc7340..e3993e0 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 085f7f5..6a25c1d 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 1cafce4..ac654d8 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 061c157..061c157 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 002a23e..2482aa4 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 ddaf081..eb0302e 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 9fa8f77..9723b899 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 f384da1..8581d5b 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 fe9e83f..8bfc4e1 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 9771ea9..ceab9ab 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 356104c..cab2c1b 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 257b0f6..8daafc8 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 f754692..4eef264 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 754aae4..4562482 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 93098db..47514f7 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 8e0dba3..8f43542 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 83dabe6..4aeda41 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 dba0e24..d60be72 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 9050656..3e30141 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 3341e28..906b4cc 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 fffb900..97d9d2d 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 9110b70..c421ef3 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 82466d4..fb07ff1 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 7e9e56e..600bd03 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 4182072..4182072 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 b941140..adbda5c 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 c876252..c99d103 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 d37f494..d37f494 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 abf8a9a..6a160f7 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 c7a4df6..6ba338a 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 3c6129d..3c6129d 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 127bc85..127bc85 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 79c45c1..79c45c1 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 7fc662c..7fc662c 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 b202e6e..b202e6e 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 7592eb5..0823a53 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 7392e67..7392e67 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 47887a5..472a606 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 21f23e1..21f23e1 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 c3c5415..9de96d2 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 a1a386b..a1a386b 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 d4486d2..d4486d2 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 8b84e12..8d32a91 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 b79cb2f..9b0d671 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 560a146..560a146 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 cd8158d..44d0c2d 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 a04277c..a04277c 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 e9b09c5..e9b09c5 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 7a3e738..3787d45 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 512483e..5d5eaf2 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 121d1f8..121d1f8 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 3b85384..fa227f7 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 053ab44..053ab44 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 b9b2b72..9068136 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 b671bd1..b671bd1 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 e80e432..ea8a26e 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 233692c..233692c 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 924a346..924a346 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 c89504a..c89504a 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 3af6687..afca223 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 e7717a3..b70ddc5 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 4702b37..b139e32 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 bcd90b9..bcd90b9 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 92537ba..92537ba 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 a34cb33..a34cb33 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 49b8a95..49b8a95 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 a65cf2b..a65cf2b 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 eb88fca..734b22f 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 dfb5724..dfb5724 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 a5d4e11..a4f0adb 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 3884f51..3884f51 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 79a7caa..79a7caa 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 28405f6..28405f6 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 267b406..267b406 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 57a9971..57a9971 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 3c5972f..3c5972f 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 2b9170c..2b9170c 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 4762a26..4762a26 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 eed0b63..eed0b63 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 e5fdbc2..e5fdbc2 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 ac6f3b8..ac6f3b8 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 c5df333..c5df333 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 2e273f4..2e273f4 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 0bfa4ec..0bfa4ec 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 b201d6b..1f97bf8 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 6bfa459..9af7eff 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 5433591..5433591 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 f68cdd0..f68cdd0 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 4a9bc72..95c36e5 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 041e299..f2c7146 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 db551bf..a7eea51 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 a8e691f..790b5d6 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 ebe761d..ebe761d 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 0000000..7bcf762 --- /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 6c5ba52..c73c1bb 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 a6c2f64..5523bfd 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 0000000..faa90ae --- /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 f9caa9d..f9caa9d 100644 --- a/src/oatdump.cc +++ b/oatdump/oatdump.cc diff --git a/runtime/Android.mk b/runtime/Android.mk new file mode 100644 index 0000000..5bcd3fb --- /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 8ea4adf..8ea4adf 100644 --- a/src/asm_support.h +++ b/runtime/asm_support.h diff --git a/src/atomic.cc b/runtime/atomic.cc index f2a9982..f2a9982 100644 --- a/src/atomic.cc +++ b/runtime/atomic.cc diff --git a/src/atomic.h b/runtime/atomic.h index d340dc5..d340dc5 100644 --- a/src/atomic.h +++ b/runtime/atomic.h diff --git a/src/atomic_integer.h b/runtime/atomic_integer.h index c4a8de9..c4a8de9 100644 --- a/src/atomic_integer.h +++ b/runtime/atomic_integer.h diff --git a/src/barrier.cc b/runtime/barrier.cc index 250d468..250d468 100644 --- a/src/barrier.cc +++ b/runtime/barrier.cc diff --git a/src/barrier.h b/runtime/barrier.h index 2b0429a..2b0429a 100644 --- a/src/barrier.h +++ b/runtime/barrier.h diff --git a/src/barrier_test.cc b/runtime/barrier_test.cc index 55d2d3d..55d2d3d 100644 --- a/src/barrier_test.cc +++ b/runtime/barrier_test.cc diff --git a/src/base/casts.h b/runtime/base/casts.h index 34c05af..34c05af 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 9514209..9514209 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 6878e71..6878e71 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 ea3e35f..ea3e35f 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 2c6b6a8..2c6b6a8 100644 --- a/src/base/logging.cc +++ b/runtime/base/logging.cc diff --git a/src/base/logging.h b/runtime/base/logging.h index 8d89e4d..8d89e4d 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 9b1ac58..9b1ac58 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 0399128..0399128 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 847105d..847105d 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 f911054..f911054 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 fbec826..fbec826 100644 --- a/src/base/mutex.cc +++ b/runtime/base/mutex.cc diff --git a/src/base/mutex.h b/runtime/base/mutex.h index b627559..b627559 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 1af8e0a..1af8e0a 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 eb8be42..eb8be42 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 47140e3..47140e3 100644 --- a/src/base/stringpiece.cc +++ b/runtime/base/stringpiece.cc diff --git a/src/base/stringpiece.h b/runtime/base/stringpiece.h index 3664218..3664218 100644 --- a/src/base/stringpiece.h +++ b/runtime/base/stringpiece.h diff --git a/src/base/stringprintf.cc b/runtime/base/stringprintf.cc index 8fd9257..8fd9257 100644 --- a/src/base/stringprintf.cc +++ b/runtime/base/stringprintf.cc diff --git a/src/base/stringprintf.h b/runtime/base/stringprintf.h index d707cc0..d707cc0 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 c7cbbe5..c7cbbe5 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 65732b1..65732b1 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 e9aec22..e9aec22 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 36f8ba7..36f8ba7 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 2b33961..2b33961 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 d620666..d620666 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 b63fdd3..b63fdd3 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 161100b..161100b 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 a3b097d..a3b097d 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 050decb..050decb 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 e716603..e716603 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 0f20acd..0f20acd 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 22da37f..22da37f 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 3baaeae..3baaeae 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 df3b308..df3b308 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 0535ead..0535ead 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 6317922..6317922 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 ff0d0fa..ff0d0fa 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 8944373..8944373 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 8821461..8821461 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 403a2eb..403a2eb 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 6cf4991..6cf4991 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 8ea4295..8ea4295 100644 --- a/src/class_linker.cc +++ b/runtime/class_linker.cc diff --git a/src/class_linker.h b/runtime/class_linker.h index df33672..df33672 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 e5844b0..e5844b0 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 c3be720..c3be720 100644 --- a/src/class_reference.h +++ b/runtime/class_reference.h diff --git a/src/closure.h b/runtime/closure.h index 17f2b84..17f2b84 100644 --- a/src/closure.h +++ b/runtime/closure.h diff --git a/src/common_test.cc b/runtime/common_test.cc index 5df7d41..5df7d41 100644 --- a/src/common_test.cc +++ b/runtime/common_test.cc diff --git a/src/common_test.h b/runtime/common_test.h index f03b1f9..f03b1f9 100644 --- a/src/common_test.h +++ b/runtime/common_test.h diff --git a/src/common_throws.cc b/runtime/common_throws.cc index 0497901..0497901 100644 --- a/src/common_throws.cc +++ b/runtime/common_throws.cc diff --git a/src/common_throws.h b/runtime/common_throws.h index 4bf12c0..4bf12c0 100644 --- a/src/common_throws.h +++ b/runtime/common_throws.h diff --git a/src/compiled_class.h b/runtime/compiled_class.h index f050ee6..f050ee6 100644 --- a/src/compiled_class.h +++ b/runtime/compiled_class.h diff --git a/src/compiled_method.cc b/runtime/compiled_method.cc index 757a324..757a324 100644 --- a/src/compiled_method.cc +++ b/runtime/compiled_method.cc diff --git a/src/compiled_method.h b/runtime/compiled_method.h index fb0172c..fb0172c 100644 --- a/src/compiled_method.h +++ b/runtime/compiled_method.h diff --git a/src/constants_arm.h b/runtime/constants_arm.h index 601c572..601c572 100644 --- a/src/constants_arm.h +++ b/runtime/constants_arm.h diff --git a/src/constants_mips.h b/runtime/constants_mips.h index 87a1355..87a1355 100644 --- a/src/constants_mips.h +++ b/runtime/constants_mips.h diff --git a/src/constants_x86.h b/runtime/constants_x86.h index e48b281..e48b281 100644 --- a/src/constants_x86.h +++ b/runtime/constants_x86.h diff --git a/src/debugger.cc b/runtime/debugger.cc index fe726aa..fe726aa 100644 --- a/src/debugger.cc +++ b/runtime/debugger.cc diff --git a/src/debugger.h b/runtime/debugger.h index eb17695..eb17695 100644 --- a/src/debugger.h +++ b/runtime/debugger.h diff --git a/src/dex_file-inl.h b/runtime/dex_file-inl.h index 5d8216e..5d8216e 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 1e37dcd..1e37dcd 100644 --- a/src/dex_file.cc +++ b/runtime/dex_file.cc diff --git a/src/dex_file.h b/runtime/dex_file.h index e09270e..e09270e 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 e7899ec..e7899ec 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 6df4411..6df4411 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 5538d4a..5538d4a 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 b426e66..b426e66 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 6527f10..6527f10 100644 --- a/src/dex_instruction.cc +++ b/runtime/dex_instruction.cc diff --git a/src/dex_instruction.h b/runtime/dex_instruction.h index 0407c57..0407c57 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 8257c78..8257c78 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 ff4620f..ff4620f 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 8f42b0c..8f42b0c 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 dc2e712..dc2e712 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 64c645e..64c645e 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 0670835..0670835 100644 --- a/src/disassembler.cc +++ b/runtime/disassembler.cc diff --git a/src/disassembler.h b/runtime/disassembler.h index 1f50bfc..1f50bfc 100644 --- a/src/disassembler.h +++ b/runtime/disassembler.h diff --git a/src/disassembler_arm.cc b/runtime/disassembler_arm.cc index 172bef8..172bef8 100644 --- a/src/disassembler_arm.cc +++ b/runtime/disassembler_arm.cc diff --git a/src/disassembler_arm.h b/runtime/disassembler_arm.h index 103876f..103876f 100644 --- a/src/disassembler_arm.h +++ b/runtime/disassembler_arm.h diff --git a/src/disassembler_mips.cc b/runtime/disassembler_mips.cc index 7fba4a8..7fba4a8 100644 --- a/src/disassembler_mips.cc +++ b/runtime/disassembler_mips.cc diff --git a/src/disassembler_mips.h b/runtime/disassembler_mips.h index ed45113..ed45113 100644 --- a/src/disassembler_mips.h +++ b/runtime/disassembler_mips.h diff --git a/src/disassembler_x86.cc b/runtime/disassembler_x86.cc index bda162a..bda162a 100644 --- a/src/disassembler_x86.cc +++ b/runtime/disassembler_x86.cc diff --git a/src/disassembler_x86.h b/runtime/disassembler_x86.h index 13f8503..13f8503 100644 --- a/src/disassembler_x86.h +++ b/runtime/disassembler_x86.h diff --git a/src/elf_file.cc b/runtime/elf_file.cc index cb4ef81..cb4ef81 100644 --- a/src/elf_file.cc +++ b/runtime/elf_file.cc diff --git a/src/elf_file.h b/runtime/elf_file.h index 59ce7f5..59ce7f5 100644 --- a/src/elf_file.h +++ b/runtime/elf_file.h diff --git a/src/exception_test.cc b/runtime/exception_test.cc index 54341e3..54341e3 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 0e4a294..0e4a294 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 b5eb4f8..b5eb4f8 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 4e1c253..4e1c253 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 1e75290..1e75290 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 4f2ae26..4f2ae26 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 cf85d15..cf85d15 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 8e3123b..8e3123b 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 1bdc978..1bdc978 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 5ff40c6..5ff40c6 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 656af94..656af94 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 05b68c4..05b68c4 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 5d25e05..5d25e05 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 a4fd330..a4fd330 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 19f1128..19f1128 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 bb487d8..bb487d8 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 d00d7c2..d00d7c2 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 7584b6e..7584b6e 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 6b02a44..6b02a44 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 378a971..378a971 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 1ab3957..1ab3957 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 e69de29..e69de29 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 bb25bb9..bb25bb9 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 ea9fced..ea9fced 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 279796f..279796f 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 9df3c19..9df3c19 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 ef893c5..ef893c5 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 bd4a580..bd4a580 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 71e580d..71e580d 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 b16cfc1..b16cfc1 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 a68cc02..a68cc02 100644 --- a/src/gc/heap.cc +++ b/runtime/gc/heap.cc diff --git a/src/gc/heap.h b/runtime/gc/heap.h index 790ab02..790ab02 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 02708e8..02708e8 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 02acd28..02acd28 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 00df0e6..00df0e6 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 46c3937..46c3937 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 afec5b7..afec5b7 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 3cee1b7..3cee1b7 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 197fad3..197fad3 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 54bf604..54bf604 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 eae281a..eae281a 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 ca01c55..ca01c55 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 08ae894..08ae894 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 473b39a..473b39a 100644 --- a/src/gc_map.h +++ b/runtime/gc_map.h diff --git a/src/globals.h b/runtime/globals.h index dc9341a..dc9341a 100644 --- a/src/globals.h +++ b/runtime/globals.h diff --git a/src/gtest_test.cc b/runtime/gtest_test.cc index a40751d..a40751d 100644 --- a/src/gtest_test.cc +++ b/runtime/gtest_test.cc diff --git a/src/hprof/hprof.cc b/runtime/hprof/hprof.cc index d66ec79..d66ec79 100644 --- a/src/hprof/hprof.cc +++ b/runtime/hprof/hprof.cc diff --git a/src/hprof/hprof.h b/runtime/hprof/hprof.h index c6222dc..c6222dc 100644 --- a/src/hprof/hprof.h +++ b/runtime/hprof/hprof.h diff --git a/src/image.cc b/runtime/image.cc index 686a117..686a117 100644 --- a/src/image.cc +++ b/runtime/image.cc diff --git a/src/image.h b/runtime/image.h index f14d7d1..f14d7d1 100644 --- a/src/image.h +++ b/runtime/image.h diff --git a/src/image_test.cc b/runtime/image_test.cc index 9ab1d74..9ab1d74 100644 --- a/src/image_test.cc +++ b/runtime/image_test.cc diff --git a/src/indenter.h b/runtime/indenter.h index 4ac0c01..4ac0c01 100644 --- a/src/indenter.h +++ b/runtime/indenter.h diff --git a/src/indenter_test.cc b/runtime/indenter_test.cc index 1919e3d..1919e3d 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 0287d74..0287d74 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 e09043d..e09043d 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 bd2890c..bd2890c 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 c4dae4d..c4dae4d 100644 --- a/src/instruction_set.h +++ b/runtime/instruction_set.h diff --git a/src/instrumentation.cc b/runtime/instrumentation.cc index 8598d6d..8598d6d 100644 --- a/src/instrumentation.cc +++ b/runtime/instrumentation.cc diff --git a/src/instrumentation.h b/runtime/instrumentation.h index 5fea34f..5fea34f 100644 --- a/src/instrumentation.h +++ b/runtime/instrumentation.h diff --git a/src/intern_table.cc b/runtime/intern_table.cc index d1ad2db..d1ad2db 100644 --- a/src/intern_table.cc +++ b/runtime/intern_table.cc diff --git a/src/intern_table.h b/runtime/intern_table.h index 1ff4f6d..1ff4f6d 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 f6b040d..f6b040d 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 16e04a5..16e04a5 100644 --- a/src/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc diff --git a/src/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index 20166ac..20166ac 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 b57d60a..b57d60a 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 d724fdb..d724fdb 100644 --- a/src/invoke_type.h +++ b/runtime/invoke_type.h diff --git a/src/jdwp/README.txt b/runtime/jdwp/README.txt index da25fb1..da25fb1 100644 --- a/src/jdwp/README.txt +++ b/runtime/jdwp/README.txt diff --git a/src/jdwp/jdwp.h b/runtime/jdwp/jdwp.h index 436525c..436525c 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 9652f60..9652f60 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 2a3c775..2a3c775 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 ebc575b..ebc575b 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 77434e1..77434e1 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 a6eabb1..a6eabb1 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 0a64f28..0a64f28 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 820f62d..820f62d 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 8ef146c..8ef146c 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 3b6dd81..3b6dd81 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 c8a7b26..c8a7b26 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 440b51b..440b51b 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 08b4859..08b4859 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 54e7a8e..54e7a8e 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 d0ea59d..d0ea59d 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 c6047cd..c6047cd 100644 --- a/src/jni_internal.cc +++ b/runtime/jni_internal.cc diff --git a/src/jni_internal.h b/runtime/jni_internal.h index 7b43f95..7b43f95 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 c8b9eb9..c8b9eb9 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 e22d75f..e22d75f 100644 --- a/src/jobject_comparator.cc +++ b/runtime/jobject_comparator.cc diff --git a/src/jobject_comparator.h b/runtime/jobject_comparator.h index 17098aa..17098aa 100644 --- a/src/jobject_comparator.h +++ b/runtime/jobject_comparator.h diff --git a/src/jvalue.h b/runtime/jvalue.h index 66cd93e..66cd93e 100644 --- a/src/jvalue.h +++ b/runtime/jvalue.h diff --git a/src/leb128.h b/runtime/leb128.h index a5a6683..a5a6683 100644 --- a/src/leb128.h +++ b/runtime/leb128.h diff --git a/src/locks.cc b/runtime/locks.cc index 51a40c3..51a40c3 100644 --- a/src/locks.cc +++ b/runtime/locks.cc diff --git a/src/locks.h b/runtime/locks.h index 91437e1..91437e1 100644 --- a/src/locks.h +++ b/runtime/locks.h diff --git a/src/log_severity.h b/runtime/log_severity.h index 126019b..126019b 100644 --- a/src/log_severity.h +++ b/runtime/log_severity.h diff --git a/src/mem_map.cc b/runtime/mem_map.cc index c75dffa..c75dffa 100644 --- a/src/mem_map.cc +++ b/runtime/mem_map.cc diff --git a/src/mem_map.h b/runtime/mem_map.h index 2eb7772..2eb7772 100644 --- a/src/mem_map.h +++ b/runtime/mem_map.h diff --git a/src/memory_region.cc b/runtime/memory_region.cc index 06eba0f..06eba0f 100644 --- a/src/memory_region.cc +++ b/runtime/memory_region.cc diff --git a/src/memory_region.h b/runtime/memory_region.h index cfbe42d..cfbe42d 100644 --- a/src/memory_region.h +++ b/runtime/memory_region.h diff --git a/src/method_reference.h b/runtime/method_reference.h index ff8bf31..ff8bf31 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 a823886..a823886 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 88a9dc1..88a9dc1 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 339471d..339471d 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 b7f212f..b7f212f 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 88cd309..88cd309 100644 --- a/src/mirror/array.cc +++ b/runtime/mirror/array.cc diff --git a/src/mirror/array.h b/runtime/mirror/array.h index 98b8ea0..98b8ea0 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 6819fb2..6819fb2 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 2d2130c..2d2130c 100644 --- a/src/mirror/class.cc +++ b/runtime/mirror/class.cc diff --git a/src/mirror/class.h b/runtime/mirror/class.h index 084aa24..084aa24 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 0d635f1..0d635f1 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 3b17c42..3b17c42 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 239dc5e..239dc5e 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 307588b..307588b 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 441c6da..441c6da 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 be5dcab..be5dcab 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 a96e8c8..a96e8c8 100644 --- a/src/mirror/field.cc +++ b/runtime/mirror/field.cc diff --git a/src/mirror/field.h b/runtime/mirror/field.h index 4e7abe8..4e7abe8 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 72803b8..72803b8 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 ffb2e51..ffb2e51 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 1a91dd3..1a91dd3 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 b2d6e71..b2d6e71 100644 --- a/src/mirror/object.cc +++ b/runtime/mirror/object.cc diff --git a/src/mirror/object.h b/runtime/mirror/object.h index 71b628d..71b628d 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 b130dac..b130dac 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 08a8d62..08a8d62 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 53a1df9..53a1df9 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 cac028a..cac028a 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 1ad0182..1ad0182 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 d53c860..d53c860 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 97126cb..97126cb 100644 --- a/src/mirror/string.cc +++ b/runtime/mirror/string.cc diff --git a/src/mirror/string.h b/runtime/mirror/string.h index 8109dcb..8109dcb 100644 --- a/src/mirror/string.h +++ b/runtime/mirror/string.h diff --git a/src/mirror/throwable.cc b/runtime/mirror/throwable.cc index 78b76dc..78b76dc 100644 --- a/src/mirror/throwable.cc +++ b/runtime/mirror/throwable.cc diff --git a/src/mirror/throwable.h b/runtime/mirror/throwable.h index aafcc07..aafcc07 100644 --- a/src/mirror/throwable.h +++ b/runtime/mirror/throwable.h diff --git a/src/modifiers.h b/runtime/modifiers.h index 85bc06d..85bc06d 100644 --- a/src/modifiers.h +++ b/runtime/modifiers.h diff --git a/src/monitor.cc b/runtime/monitor.cc index 11790e5..11790e5 100644 --- a/src/monitor.cc +++ b/runtime/monitor.cc diff --git a/src/monitor.h b/runtime/monitor.h index 9194c08..9194c08 100644 --- a/src/monitor.h +++ b/runtime/monitor.h diff --git a/src/monitor_android.cc b/runtime/monitor_android.cc index 9265cd6..9265cd6 100644 --- a/src/monitor_android.cc +++ b/runtime/monitor_android.cc diff --git a/src/monitor_linux.cc b/runtime/monitor_linux.cc index 856ebe4..856ebe4 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 b9838f8..b9838f8 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 992998e..992998e 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 ce3cc93..ce3cc93 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 1a80d62..1a80d62 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 9b995f4..9b995f4 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 a729699..a729699 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 5db7a33..5db7a33 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 e380c17..e380c17 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 3e9c3f3..3e9c3f3 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 2462f2f..2462f2f 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 8ef190a..8ef190a 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 332a130..332a130 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 c23b08c..c23b08c 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 45ec0ad..45ec0ad 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 9180217..9180217 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 b0daa91..b0daa91 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 14dc6a4..14dc6a4 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 547ce7b..547ce7b 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 bf92e12..bf92e12 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 d7cd18d..d7cd18d 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 5ba2994..5ba2994 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 eece81a..eece81a 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 c32a46a..c32a46a 100644 --- a/src/nth_caller_visitor.h +++ b/runtime/nth_caller_visitor.h diff --git a/src/oat.cc b/runtime/oat.cc index e606953..e606953 100644 --- a/src/oat.cc +++ b/runtime/oat.cc diff --git a/src/oat.h b/runtime/oat.h index c67a1a6..c67a1a6 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 4ab05b9..4ab05b9 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 4e42e94..4e42e94 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 ec1d4cb..ec1d4cb 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 2e9453c..2e9453c 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 f19e8ba..f19e8ba 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 dd2f3fa..dd2f3fa 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 7075e42..7075e42 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 895abf9..895abf9 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 cbd63d8..cbd63d8 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 fc8ef96..fc8ef96 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 8e06611..8e06611 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 45d583e..45d583e 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 c1a2587..c1a2587 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 f66fc84..f66fc84 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 fe91e61..fe91e61 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 43fc9d2..43fc9d2 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 0af7a62..0af7a62 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 c20326c..c20326c 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 a0b06fb..a0b06fb 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 1f1b952..1f1b952 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 55be54f..55be54f 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 6a95f3c..6a95f3c 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 8f0f7ca..8f0f7ca 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 79bb7a6..79bb7a6 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 0bfe59d..0bfe59d 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 d4d0ca1..d4d0ca1 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 096cb9c..096cb9c 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 e711714..e711714 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 9588698..9588698 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 ceb10bd..ceb10bd 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 7928fd8..7928fd8 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 a90a583..a90a583 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 ee6db0c..ee6db0c 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 960a60d..960a60d 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 06e0a55..06e0a55 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 57c2305..57c2305 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 b069f6d..b069f6d 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 f5d4cc0..f5d4cc0 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 92ce0b8..92ce0b8 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 cbf145b..cbf145b 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 a3d5795..a3d5795 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 25ba9b2..25ba9b2 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 02759e4..02759e4 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 195dafb..195dafb 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 aaaabfc..aaaabfc 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 fd8f152..fd8f152 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 dddb9b1..dddb9b1 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 5d8a3b1..5d8a3b1 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 4697d06..4697d06 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 4481456..4481456 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 4fbafda..4fbafda 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 ebf92a7..ebf92a7 100644 --- a/src/oat_file.cc +++ b/runtime/oat_file.cc diff --git a/src/oat_file.h b/runtime/oat_file.h index 0bf79a9..0bf79a9 100644 --- a/src/oat_file.h +++ b/runtime/oat_file.h diff --git a/src/oat_test.cc b/runtime/oat_test.cc index f41a7ba..f41a7ba 100644 --- a/src/oat_test.cc +++ b/runtime/oat_test.cc diff --git a/src/object_utils.h b/runtime/object_utils.h index 4af5d4c..4af5d4c 100644 --- a/src/object_utils.h +++ b/runtime/object_utils.h diff --git a/src/offsets.cc b/runtime/offsets.cc index 3691401..3691401 100644 --- a/src/offsets.cc +++ b/runtime/offsets.cc diff --git a/src/offsets.h b/runtime/offsets.h index f37dbd4..f37dbd4 100644 --- a/src/offsets.h +++ b/runtime/offsets.h diff --git a/src/os_linux.cc b/runtime/os_linux.cc index d3a1ccb..d3a1ccb 100644 --- a/src/os_linux.cc +++ b/runtime/os_linux.cc diff --git a/src/output_stream.h b/runtime/output_stream.h index b03092d..b03092d 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 c9e0ede..c9e0ede 100644 --- a/src/output_stream_test.cc +++ b/runtime/output_stream_test.cc diff --git a/src/primitive.cc b/runtime/primitive.cc index 16ca0fe..16ca0fe 100644 --- a/src/primitive.cc +++ b/runtime/primitive.cc diff --git a/src/primitive.h b/runtime/primitive.h index eaa04cd..eaa04cd 100644 --- a/src/primitive.h +++ b/runtime/primitive.h diff --git a/src/reference_table.cc b/runtime/reference_table.cc index 192535a..192535a 100644 --- a/src/reference_table.cc +++ b/runtime/reference_table.cc diff --git a/src/reference_table.h b/runtime/reference_table.h index 5abb5c7..5abb5c7 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 16fbd94..16fbd94 100644 --- a/src/reference_table_test.cc +++ b/runtime/reference_table_test.cc diff --git a/src/reflection.cc b/runtime/reflection.cc index 467575c..467575c 100644 --- a/src/reflection.cc +++ b/runtime/reflection.cc diff --git a/src/reflection.h b/runtime/reflection.h index e9f4e08..e9f4e08 100644 --- a/src/reflection.h +++ b/runtime/reflection.h diff --git a/src/root_visitor.h b/runtime/root_visitor.h index d53acd3..d53acd3 100644 --- a/src/root_visitor.h +++ b/runtime/root_visitor.h diff --git a/src/runtime.cc b/runtime/runtime.cc index e5fb46f..e5fb46f 100644 --- a/src/runtime.cc +++ b/runtime/runtime.cc diff --git a/src/runtime.h b/runtime/runtime.h index 97b7c25..97b7c25 100644 --- a/src/runtime.h +++ b/runtime/runtime.h diff --git a/src/runtime_android.cc b/runtime/runtime_android.cc index 2013294..2013294 100644 --- a/src/runtime_android.cc +++ b/runtime/runtime_android.cc diff --git a/src/runtime_linux.cc b/runtime/runtime_linux.cc index a4fc3af..a4fc3af 100644 --- a/src/runtime_linux.cc +++ b/runtime/runtime_linux.cc diff --git a/src/runtime_stats.h b/runtime/runtime_stats.h index 55e57ec..55e57ec 100644 --- a/src/runtime_stats.h +++ b/runtime/runtime_stats.h diff --git a/src/runtime_support.cc b/runtime/runtime_support.cc index c933621..c933621 100644 --- a/src/runtime_support.cc +++ b/runtime/runtime_support.cc diff --git a/src/runtime_support.h b/runtime/runtime_support.h index 0cb82a5..0cb82a5 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 cbdefe8..cbdefe8 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 af99842..af99842 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 a58b061..a58b061 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 b827813..b827813 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 d53b4a6..d53b4a6 100644 --- a/src/runtime_test.cc +++ b/runtime/runtime_test.cc diff --git a/src/safe_map.h b/runtime/safe_map.h index b9a6ecf..b9a6ecf 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 81db2ec..81db2ec 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 a630db8..a630db8 100644 --- a/src/signal_catcher.cc +++ b/runtime/signal_catcher.cc diff --git a/src/signal_catcher.h b/runtime/signal_catcher.h index de0220b..de0220b 100644 --- a/src/signal_catcher.h +++ b/runtime/signal_catcher.h diff --git a/src/signal_set.h b/runtime/signal_set.h index d4aec86..d4aec86 100644 --- a/src/signal_set.h +++ b/runtime/signal_set.h diff --git a/src/sirt_ref.h b/runtime/sirt_ref.h index 12f8326..12f8326 100644 --- a/src/sirt_ref.h +++ b/runtime/sirt_ref.h diff --git a/src/stack.cc b/runtime/stack.cc index fcd0f2d..fcd0f2d 100644 --- a/src/stack.cc +++ b/runtime/stack.cc diff --git a/src/stack.h b/runtime/stack.h index fbfacb1..fbfacb1 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 dd10634..dd10634 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 b876918..b876918 100644 --- a/src/strutil.h +++ b/runtime/strutil.h diff --git a/src/thread-inl.h b/runtime/thread-inl.h index 2fc5987..2fc5987 100644 --- a/src/thread-inl.h +++ b/runtime/thread-inl.h diff --git a/src/thread.cc b/runtime/thread.cc index d6bd8a4..d6bd8a4 100644 --- a/src/thread.cc +++ b/runtime/thread.cc diff --git a/src/thread.h b/runtime/thread.h index 0daf763..0daf763 100644 --- a/src/thread.h +++ b/runtime/thread.h diff --git a/src/thread_android.cc b/runtime/thread_android.cc index 7c4551f..7c4551f 100644 --- a/src/thread_android.cc +++ b/runtime/thread_android.cc diff --git a/src/thread_arm.cc b/runtime/thread_arm.cc index 0ef26bf..0ef26bf 100644 --- a/src/thread_arm.cc +++ b/runtime/thread_arm.cc diff --git a/src/thread_linux.cc b/runtime/thread_linux.cc index 6f4b75d..6f4b75d 100644 --- a/src/thread_linux.cc +++ b/runtime/thread_linux.cc diff --git a/src/thread_list.cc b/runtime/thread_list.cc index 59c38b4..59c38b4 100644 --- a/src/thread_list.cc +++ b/runtime/thread_list.cc diff --git a/src/thread_list.h b/runtime/thread_list.h index 0470cfc..0470cfc 100644 --- a/src/thread_list.h +++ b/runtime/thread_list.h diff --git a/src/thread_mips.cc b/runtime/thread_mips.cc index 0ef26bf..0ef26bf 100644 --- a/src/thread_mips.cc +++ b/runtime/thread_mips.cc diff --git a/src/thread_pool.cc b/runtime/thread_pool.cc index f0f6f18..f0f6f18 100644 --- a/src/thread_pool.cc +++ b/runtime/thread_pool.cc diff --git a/src/thread_pool.h b/runtime/thread_pool.h index 814e654..814e654 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 e2a32f5..e2a32f5 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 52f092e..52f092e 100644 --- a/src/thread_state.h +++ b/runtime/thread_state.h diff --git a/src/thread_x86.cc b/runtime/thread_x86.cc index 959f317..959f317 100644 --- a/src/thread_x86.cc +++ b/runtime/thread_x86.cc diff --git a/src/throw_location.cc b/runtime/throw_location.cc index 84d2c9b..84d2c9b 100644 --- a/src/throw_location.cc +++ b/runtime/throw_location.cc diff --git a/src/throw_location.h b/runtime/throw_location.h index 8c1b941..8c1b941 100644 --- a/src/throw_location.h +++ b/runtime/throw_location.h diff --git a/src/trace.cc b/runtime/trace.cc index 3293290..3293290 100644 --- a/src/trace.cc +++ b/runtime/trace.cc diff --git a/src/trace.h b/runtime/trace.h index 9432e71..9432e71 100644 --- a/src/trace.h +++ b/runtime/trace.h diff --git a/src/utf.cc b/runtime/utf.cc index 1add7d9..1add7d9 100644 --- a/src/utf.cc +++ b/runtime/utf.cc diff --git a/src/utf.h b/runtime/utf.h index 57c811f..57c811f 100644 --- a/src/utf.h +++ b/runtime/utf.h diff --git a/src/utils.cc b/runtime/utils.cc index 723be92..723be92 100644 --- a/src/utils.cc +++ b/runtime/utils.cc diff --git a/src/utils.h b/runtime/utils.h index e5028ba..e5028ba 100644 --- a/src/utils.h +++ b/runtime/utils.h diff --git a/src/utils_test.cc b/runtime/utils_test.cc index 0966e71..0966e71 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 e5ff729..e5ff729 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 3546c8d..3546c8d 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 cd0b137..cd0b137 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 673112b..673112b 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 358791d..358791d 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 9dc3ea7..9dc3ea7 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 5a70f2a..5a70f2a 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 ac0de9e..ac0de9e 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 611b7c0..611b7c0 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 1c61a29..1c61a29 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 9ac0eca..9ac0eca 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 42474d1..42474d1 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 6013250..6013250 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 d70123c..d70123c 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 f37edff..f37edff 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 157e136..157e136 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 3a2145b..3a2145b 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 5f17049..5f17049 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 4d34c73..4d34c73 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 8170520..8170520 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 9cf7a09..9cf7a09 100644 --- a/src/zip_archive.cc +++ b/runtime/zip_archive.cc diff --git a/src/zip_archive.h b/runtime/zip_archive.h index ef31486..ef31486 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 9bdc24b..9bdc24b 100644 --- a/src/zip_archive_test.cc +++ b/runtime/zip_archive_test.cc diff --git a/test/Android.mk b/test/Android.mk index 6c7b26e..fdb7273 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 aa0c00e..678e664 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 |