summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-12 13:46:57 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-12 17:49:01 -0700
commit7940e44f4517de5e2634a7e07d58d0fb26160513 (patch)
treeac90242d96229a6942f6e24ab137bc1f8f2e0025
parent5cd9e3b122f276f610980cbaf0d2ad6ed4cd9088 (diff)
downloadart-7940e44f4517de5e2634a7e07d58d0fb26160513.tar.gz
art-7940e44f4517de5e2634a7e07d58d0fb26160513.tar.bz2
art-7940e44f4517de5e2634a7e07d58d0fb26160513.zip
Create separate Android.mk for main build targets
The runtime, compiler, dex2oat, and oatdump now are in seperate trees to prevent dependency creep. They can now be individually built without rebuilding the rest of the art projects. dalvikvm and jdwpspy were already this way. Builds in the art directory should behave as before, building everything including tests. Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81
-rw-r--r--Android.mk54
-rw-r--r--build/Android.common.mk49
-rw-r--r--build/Android.executable.mk60
-rw-r--r--build/Android.gtest.mk90
-rw-r--r--build/Android.libart.mk371
-rw-r--r--build/Android.libarttest.mk2
-rw-r--r--build/Android.oattest.mk138
-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-xcompiler/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.mk37
-rw-r--r--dex2oat/dex2oat.cc (renamed from src/dex2oat.cc)10
-rw-r--r--jdwpspy/Android.mk4
-rw-r--r--oatdump/Android.mk36
-rw-r--r--oatdump/oatdump.cc (renamed from src/oatdump.cc)0
-rw-r--r--runtime/Android.mk374
-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.mk132
-rwxr-xr-xtools/generate-operator-out.py7
525 files changed, 926 insertions, 847 deletions
diff --git a/Android.mk b/Android.mk
index daff6cb52..4ffa9ac0a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -16,38 +16,8 @@
LOCAL_PATH := $(call my-dir)
-# These can be overridden via the environment or by editing to
-# enable/disable certain build configuration.
-#
-# For example, to disable everything but the host debug build you use:
-#
-# (export ART_BUILD_TARGET_NDEBUG=false && export ART_BUILD_TARGET_DEBUG=false && export ART_BUILD_HOST_NDEBUG=false && ...)
-#
-# Beware that tests may use the non-debug build for performance, notable 055-enum-performance
-#
-ART_BUILD_TARGET_NDEBUG ?= true
-ART_BUILD_TARGET_DEBUG ?= true
-ART_BUILD_HOST_NDEBUG ?= true
-ART_BUILD_HOST_DEBUG ?= true
-
-ifeq ($(ART_BUILD_TARGET_NDEBUG),false)
-$(info Disabling ART_BUILD_TARGET_NDEBUG)
-endif
-ifeq ($(ART_BUILD_TARGET_DEBUG),false)
-$(info Disabling ART_BUILD_TARGET_DEBUG)
-endif
-ifeq ($(ART_BUILD_HOST_NDEBUG),false)
-$(info Disabling ART_BUILD_HOST_NDEBUG)
-endif
-ifeq ($(ART_BUILD_HOST_DEBUG),false)
-$(info Disabling ART_BUILD_HOST_DEBUG)
-endif
-
-ART_HOST_SHLIB_EXTENSION := $(HOST_SHLIB_SUFFIX)
-ART_HOST_SHLIB_EXTENSION ?= .so
-
-build_path := $(LOCAL_PATH)/build
-include $(build_path)/Android.common.mk
+art_path := $(LOCAL_PATH)
+art_build_path := $(art_path)/build
########################################################################
# clean-oat targets
@@ -111,17 +81,18 @@ clean-oat-target:
# we aren't building most of art on darwin right now, but we do need to build new dalvikvm
ifeq ($(HOST_OS)-$(HOST_ARCH),darwin-x86)
art_dont_bother := true
-include $(LOCAL_PATH)/dalvikvm/Android.mk
+include $(art_path)/dalvikvm/Android.mk
endif
ifneq ($(art_dont_bother),true)
########################################################################
# product targets
-include $(build_path)/Android.libart.mk
-include $(build_path)/Android.libart-compiler.mk
-include $(build_path)/Android.executable.mk
-include $(build_path)/Android.oat.mk
+include $(art_path)/runtime/Android.mk
+include $(art_path)/compiler/Android.mk
+include $(art_path)/dex2oat/Android.mk
+include $(art_path)/oatdump/Android.mk
+include $(art_build_path)/Android.oat.mk
# ART_HOST_DEPENDENCIES depends on Android.executable.mk above for ART_HOST_EXECUTABLES
ART_HOST_DEPENDENCIES := $(ART_HOST_EXECUTABLES) $(HOST_OUT_JAVA_LIBRARIES)/core-hostdex.jar
@@ -131,8 +102,8 @@ ART_TARGET_DEPENDENCIES := $(ART_TARGET_EXECUTABLES) $(TARGET_OUT_JAVA_LIBRARIES
########################################################################
# test targets
-include $(build_path)/Android.oattest.mk
-include $(build_path)/Android.gtest.mk
+include $(art_path)/test/Android.mk
+include $(art_build_path)/Android.gtest.mk
# The ART_*_TEST_DEPENDENCIES definitions:
# - depend on Android.oattest.mk above for ART_TEST_*_DEX_FILES
@@ -140,7 +111,7 @@ include $(build_path)/Android.gtest.mk
ART_HOST_TEST_DEPENDENCIES := $(ART_HOST_DEPENDENCIES) $(ART_HOST_TEST_EXECUTABLES) $(ART_TEST_HOST_DEX_FILES) $(HOST_CORE_IMG_OUT)
ART_TARGET_TEST_DEPENDENCIES := $(ART_TARGET_DEPENDENCIES) $(ART_TARGET_TEST_EXECUTABLES) $(ART_TEST_TARGET_DEX_FILES) $(TARGET_CORE_IMG_OUT)
-include $(build_path)/Android.libarttest.mk
+include $(art_build_path)/Android.libarttest.mk
# "m build-art" for quick minimal build
.PHONY: build-art
@@ -386,6 +357,7 @@ use-dalvik:
########################################################################
-include $(call all-makefiles-under,$(LOCAL_PATH))
+include $(art_path)/dalvikvm/Android.mk
+include $(art_path)/jdwpspy/Android.mk
endif # !art_dont_bother
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 671ce5cc9..fcaa2bd53 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 e74645cb3..54f9926a8 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 8b65efd1f..51af10c6c 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 2f17583a5..000000000
--- 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 64f8368a3..239f6c1da 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 6ee849200..000000000
--- 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 ce6edbaf3..40a74c11e 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 3a3e3858b..3a3e3858b 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 78d4614f9..78d4614f9 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 1fbf7740a..1fbf7740a 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 a950e8249..a950e8249 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 45a1531b8..45a1531b8 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 bc456b2e7..bc456b2e7 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 c680f1bc6..a3fa25e84 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 eb1aec187..c6f99f3a8 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 b20004dec..b20004dec 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 12cbf9cad..12cbf9cad 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 734829a63..ee68a5dc8 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 033657b35..746d475a9 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 69d7f7728..69d7f7728 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 c4684a71f..c4684a71f 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 ec5ab5db3..ec5ab5db3 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 beb4cea73..beb4cea73 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 6c152d2fb..6c152d2fb 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 11e100dc6..11e100dc6 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 2b1c21fd7..2b1c21fd7 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 6b8f3f091..6b8f3f091 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 1f9c92a3d..2be1ef435 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 233735b76..8aa027176 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 abcaacc21..9dd7dafcd 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 36038f774..e804215c1 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 879065f57..a6720ce6f 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 60111d1d0..a9199dfa7 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 cd71c0798..53a5e1a6d 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 110e9f432..feea896e9 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 ee127a8e1..4bece136b 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 ef0cc72a5..abf921f8a 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 766cdce23..5c10c4ce2 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 2980acbd0..865b9c5c4 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 3bc73401c..e3993e061 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 085f7f518..6a25c1db4 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 1cafce4e0..ac654d8f2 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 061c15725..061c15725 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 002a23e5a..2482aa4fb 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 ddaf08156..eb0302e80 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 9fa8f779f..9723b899a 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 f384da1a5..8581d5beb 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 fe9e83f87..8bfc4e1f9 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 9771ea936..ceab9ab1e 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 356104c86..cab2c1b53 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 257b0f6cb..8daafc8d9 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 f7546924c..4eef264a0 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 754aae42d..4562482a0 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 93098dbfd..47514f769 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 8e0dba3a4..8f4354209 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 83dabe6c9..4aeda4129 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 dba0e24fa..d60be72c3 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 905065607..3e3014159 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 3341e28ce..906b4cc75 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 fffb900ec..97d9d2dee 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 9110b704b..c421ef3f1 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 82466d496..fb07ff1e2 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 7e9e56e14..600bd0302 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 41820720d..41820720d 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 b941140b0..adbda5c18 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 c876252d4..c99d103c1 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 d37f494ef..d37f494ef 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 abf8a9a3f..6a160f75c 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 c7a4df6ea..6ba338aa9 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 3c6129d64..3c6129d64 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 127bc85d2..127bc85d2 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 79c45c187..79c45c187 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 7fc662ca1..7fc662ca1 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 b202e6e1f..b202e6e1f 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 7592eb5ed..0823a53f8 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 7392e67d7..7392e67d7 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 47887a508..472a606cc 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 21f23e113..21f23e113 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 c3c541573..9de96d271 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 a1a386b3d..a1a386b3d 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 d4486d2c5..d4486d2c5 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 8b84e124e..8d32a915d 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 b79cb2f0c..9b0d67160 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 560a14605..560a14605 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 cd8158d0e..44d0c2d21 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 a04277c9e..a04277c9e 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 e9b09c5bb..e9b09c5bb 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 7a3e7387b..3787d45c6 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 512483eda..5d5eaf2ea 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 121d1f80a..121d1f80a 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 3b8538444..fa227f7fb 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 053ab44eb..053ab44eb 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 b9b2b72bc..90681362b 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 b671bd190..b671bd190 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 e80e4327e..ea8a26e7d 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 233692c07..233692c07 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 924a34639..924a34639 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 c89504a85..c89504a85 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 3af6687f6..afca22319 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 e7717a3fd..b70ddc5e2 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 4702b37de..b139e322f 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 bcd90b96a..bcd90b96a 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 92537ba41..92537ba41 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 a34cb330b..a34cb330b 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 49b8a9523..49b8a9523 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 a65cf2bda..a65cf2bda 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 eb88fcac1..734b22f79 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 dfb572477..dfb572477 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 a5d4e117e..a4f0adbab 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 3884f5105..3884f5105 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 79a7caa04..79a7caa04 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 28405f67d..28405f67d 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 267b40623..267b40623 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 57a997135..57a997135 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 3c5972fc3..3c5972fc3 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 2b9170c4e..2b9170c4e 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 4762a269f..4762a269f 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 eed0b63d7..eed0b63d7 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 e5fdbc2e2..e5fdbc2e2 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 ac6f3b869..ac6f3b869 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 c5df333e3..c5df333e3 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 2e273f4fe..2e273f4fe 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 0bfa4ec32..0bfa4ec32 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 b201d6b4e..1f97bf853 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 6bfa45901..9af7eff06 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 543359145..543359145 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 f68cdd078..f68cdd078 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 4a9bc727b..95c36e559 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 041e29958..f2c71469e 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 db551bf36..a7eea5183 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 a8e691f35..790b5d61d 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 ebe761df3..ebe761df3 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 000000000..7bcf762da
--- /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 6c5ba5258..c73c1bb84 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 a6c2f6404..5523bfd80 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 000000000..faa90ae44
--- /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 f9caa9d12..f9caa9d12 100644
--- a/src/oatdump.cc
+++ b/oatdump/oatdump.cc
diff --git a/runtime/Android.mk b/runtime/Android.mk
new file mode 100644
index 000000000..5bcd3fbfe
--- /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 8ea4adfcf..8ea4adfcf 100644
--- a/src/asm_support.h
+++ b/runtime/asm_support.h
diff --git a/src/atomic.cc b/runtime/atomic.cc
index f2a998289..f2a998289 100644
--- a/src/atomic.cc
+++ b/runtime/atomic.cc
diff --git a/src/atomic.h b/runtime/atomic.h
index d340dc547..d340dc547 100644
--- a/src/atomic.h
+++ b/runtime/atomic.h
diff --git a/src/atomic_integer.h b/runtime/atomic_integer.h
index c4a8de981..c4a8de981 100644
--- a/src/atomic_integer.h
+++ b/runtime/atomic_integer.h
diff --git a/src/barrier.cc b/runtime/barrier.cc
index 250d468ad..250d468ad 100644
--- a/src/barrier.cc
+++ b/runtime/barrier.cc
diff --git a/src/barrier.h b/runtime/barrier.h
index 2b0429a7c..2b0429a7c 100644
--- a/src/barrier.h
+++ b/runtime/barrier.h
diff --git a/src/barrier_test.cc b/runtime/barrier_test.cc
index 55d2d3d71..55d2d3d71 100644
--- a/src/barrier_test.cc
+++ b/runtime/barrier_test.cc
diff --git a/src/base/casts.h b/runtime/base/casts.h
index 34c05af4e..34c05af4e 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 9514209c1..9514209c1 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 6878e71cc..6878e71cc 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 ea3e35ff9..ea3e35ff9 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 2c6b6a8ce..2c6b6a8ce 100644
--- a/src/base/logging.cc
+++ b/runtime/base/logging.cc
diff --git a/src/base/logging.h b/runtime/base/logging.h
index 8d89e4d0c..8d89e4d0c 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 9b1ac5846..9b1ac5846 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 0399128d6..0399128d6 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 847105d20..847105d20 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 f911054b8..f911054b8 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 fbec826af..fbec826af 100644
--- a/src/base/mutex.cc
+++ b/runtime/base/mutex.cc
diff --git a/src/base/mutex.h b/runtime/base/mutex.h
index b62755917..b62755917 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 1af8e0ab9..1af8e0ab9 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 eb8be42df..eb8be42df 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 47140e324..47140e324 100644
--- a/src/base/stringpiece.cc
+++ b/runtime/base/stringpiece.cc
diff --git a/src/base/stringpiece.h b/runtime/base/stringpiece.h
index 366421886..366421886 100644
--- a/src/base/stringpiece.h
+++ b/runtime/base/stringpiece.h
diff --git a/src/base/stringprintf.cc b/runtime/base/stringprintf.cc
index 8fd925704..8fd925704 100644
--- a/src/base/stringprintf.cc
+++ b/runtime/base/stringprintf.cc
diff --git a/src/base/stringprintf.h b/runtime/base/stringprintf.h
index d707cc02d..d707cc02d 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 c7cbbe504..c7cbbe504 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 65732b170..65732b170 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 e9aec2295..e9aec2295 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 36f8ba7fc..36f8ba7fc 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 2b339613b..2b339613b 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 d62066674..d62066674 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 b63fdd3be..b63fdd3be 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 161100b0d..161100b0d 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 a3b097dca..a3b097dca 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 050decb6d..050decb6d 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 e71660368..e71660368 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 0f20acd82..0f20acd82 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 22da37f03..22da37f03 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 3baaeae8a..3baaeae8a 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 df3b308bb..df3b308bb 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 0535ead8c..0535ead8c 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 63179220a..63179220a 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 ff0d0fa3c..ff0d0fa3c 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 894437334..894437334 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 88214610c..88214610c 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 403a2eb34..403a2eb34 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 6cf49912a..6cf49912a 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 8ea429570..8ea429570 100644
--- a/src/class_linker.cc
+++ b/runtime/class_linker.cc
diff --git a/src/class_linker.h b/runtime/class_linker.h
index df336724f..df336724f 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 e5844b003..e5844b003 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 c3be720ea..c3be720ea 100644
--- a/src/class_reference.h
+++ b/runtime/class_reference.h
diff --git a/src/closure.h b/runtime/closure.h
index 17f2b84d8..17f2b84d8 100644
--- a/src/closure.h
+++ b/runtime/closure.h
diff --git a/src/common_test.cc b/runtime/common_test.cc
index 5df7d4129..5df7d4129 100644
--- a/src/common_test.cc
+++ b/runtime/common_test.cc
diff --git a/src/common_test.h b/runtime/common_test.h
index f03b1f9cd..f03b1f9cd 100644
--- a/src/common_test.h
+++ b/runtime/common_test.h
diff --git a/src/common_throws.cc b/runtime/common_throws.cc
index 04979016e..04979016e 100644
--- a/src/common_throws.cc
+++ b/runtime/common_throws.cc
diff --git a/src/common_throws.h b/runtime/common_throws.h
index 4bf12c0d0..4bf12c0d0 100644
--- a/src/common_throws.h
+++ b/runtime/common_throws.h
diff --git a/src/compiled_class.h b/runtime/compiled_class.h
index f050ee6a7..f050ee6a7 100644
--- a/src/compiled_class.h
+++ b/runtime/compiled_class.h
diff --git a/src/compiled_method.cc b/runtime/compiled_method.cc
index 757a32415..757a32415 100644
--- a/src/compiled_method.cc
+++ b/runtime/compiled_method.cc
diff --git a/src/compiled_method.h b/runtime/compiled_method.h
index fb0172cc1..fb0172cc1 100644
--- a/src/compiled_method.h
+++ b/runtime/compiled_method.h
diff --git a/src/constants_arm.h b/runtime/constants_arm.h
index 601c57247..601c57247 100644
--- a/src/constants_arm.h
+++ b/runtime/constants_arm.h
diff --git a/src/constants_mips.h b/runtime/constants_mips.h
index 87a13554f..87a13554f 100644
--- a/src/constants_mips.h
+++ b/runtime/constants_mips.h
diff --git a/src/constants_x86.h b/runtime/constants_x86.h
index e48b28159..e48b28159 100644
--- a/src/constants_x86.h
+++ b/runtime/constants_x86.h
diff --git a/src/debugger.cc b/runtime/debugger.cc
index fe726aa6b..fe726aa6b 100644
--- a/src/debugger.cc
+++ b/runtime/debugger.cc
diff --git a/src/debugger.h b/runtime/debugger.h
index eb1769524..eb1769524 100644
--- a/src/debugger.h
+++ b/runtime/debugger.h
diff --git a/src/dex_file-inl.h b/runtime/dex_file-inl.h
index 5d8216eda..5d8216eda 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 1e37dcde0..1e37dcde0 100644
--- a/src/dex_file.cc
+++ b/runtime/dex_file.cc
diff --git a/src/dex_file.h b/runtime/dex_file.h
index e09270e01..e09270e01 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 e7899ecf3..e7899ecf3 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 6df441156..6df441156 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 5538d4aa7..5538d4aa7 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 b426e66a1..b426e66a1 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 6527f103e..6527f103e 100644
--- a/src/dex_instruction.cc
+++ b/runtime/dex_instruction.cc
diff --git a/src/dex_instruction.h b/runtime/dex_instruction.h
index 0407c5793..0407c5793 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 8257c783e..8257c783e 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 ff4620f8f..ff4620f8f 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 8f42b0c9a..8f42b0c9a 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 dc2e71268..dc2e71268 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 64c645e81..64c645e81 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 067083510..067083510 100644
--- a/src/disassembler.cc
+++ b/runtime/disassembler.cc
diff --git a/src/disassembler.h b/runtime/disassembler.h
index 1f50bfc9c..1f50bfc9c 100644
--- a/src/disassembler.h
+++ b/runtime/disassembler.h
diff --git a/src/disassembler_arm.cc b/runtime/disassembler_arm.cc
index 172bef84d..172bef84d 100644
--- a/src/disassembler_arm.cc
+++ b/runtime/disassembler_arm.cc
diff --git a/src/disassembler_arm.h b/runtime/disassembler_arm.h
index 103876f33..103876f33 100644
--- a/src/disassembler_arm.h
+++ b/runtime/disassembler_arm.h
diff --git a/src/disassembler_mips.cc b/runtime/disassembler_mips.cc
index 7fba4a867..7fba4a867 100644
--- a/src/disassembler_mips.cc
+++ b/runtime/disassembler_mips.cc
diff --git a/src/disassembler_mips.h b/runtime/disassembler_mips.h
index ed45113db..ed45113db 100644
--- a/src/disassembler_mips.h
+++ b/runtime/disassembler_mips.h
diff --git a/src/disassembler_x86.cc b/runtime/disassembler_x86.cc
index bda162a5a..bda162a5a 100644
--- a/src/disassembler_x86.cc
+++ b/runtime/disassembler_x86.cc
diff --git a/src/disassembler_x86.h b/runtime/disassembler_x86.h
index 13f850372..13f850372 100644
--- a/src/disassembler_x86.h
+++ b/runtime/disassembler_x86.h
diff --git a/src/elf_file.cc b/runtime/elf_file.cc
index cb4ef81be..cb4ef81be 100644
--- a/src/elf_file.cc
+++ b/runtime/elf_file.cc
diff --git a/src/elf_file.h b/runtime/elf_file.h
index 59ce7f5bf..59ce7f5bf 100644
--- a/src/elf_file.h
+++ b/runtime/elf_file.h
diff --git a/src/exception_test.cc b/runtime/exception_test.cc
index 54341e3a4..54341e3a4 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 0e4a2949e..0e4a2949e 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 b5eb4f819..b5eb4f819 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 4e1c253bd..4e1c253bd 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 1e7529084..1e7529084 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 4f2ae26c3..4f2ae26c3 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 cf85d1544..cf85d1544 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 8e3123b97..8e3123b97 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 1bdc9783f..1bdc9783f 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 5ff40c642..5ff40c642 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 656af9485..656af9485 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 05b68c492..05b68c492 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 5d25e0565..5d25e0565 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 a4fd330c8..a4fd330c8 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 19f112896..19f112896 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 bb487d88d..bb487d88d 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 d00d7c273..d00d7c273 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 7584b6e6b..7584b6e6b 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 6b02a44ff..6b02a44ff 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 378a97125..378a97125 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 1ab395775..1ab395775 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 e69de29bb..e69de29bb 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 bb25bb93f..bb25bb93f 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 ea9fced84..ea9fced84 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 279796f38..279796f38 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 9df3c1993..9df3c1993 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 ef893c50b..ef893c50b 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 bd4a58045..bd4a58045 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 71e580d74..71e580d74 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 b16cfc1b4..b16cfc1b4 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 a68cc0243..a68cc0243 100644
--- a/src/gc/heap.cc
+++ b/runtime/gc/heap.cc
diff --git a/src/gc/heap.h b/runtime/gc/heap.h
index 790ab0216..790ab0216 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 02708e834..02708e834 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 02acd286d..02acd286d 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 00df0e6d4..00df0e6d4 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 46c39378d..46c39378d 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 afec5b730..afec5b730 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 3cee1b735..3cee1b735 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 197fad385..197fad385 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 54bf60482..54bf60482 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 eae281ad4..eae281ad4 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 ca01c5549..ca01c5549 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 08ae894e5..08ae894e5 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 473b39a62..473b39a62 100644
--- a/src/gc_map.h
+++ b/runtime/gc_map.h
diff --git a/src/globals.h b/runtime/globals.h
index dc9341ae0..dc9341ae0 100644
--- a/src/globals.h
+++ b/runtime/globals.h
diff --git a/src/gtest_test.cc b/runtime/gtest_test.cc
index a40751d6f..a40751d6f 100644
--- a/src/gtest_test.cc
+++ b/runtime/gtest_test.cc
diff --git a/src/hprof/hprof.cc b/runtime/hprof/hprof.cc
index d66ec7933..d66ec7933 100644
--- a/src/hprof/hprof.cc
+++ b/runtime/hprof/hprof.cc
diff --git a/src/hprof/hprof.h b/runtime/hprof/hprof.h
index c6222dcb9..c6222dcb9 100644
--- a/src/hprof/hprof.h
+++ b/runtime/hprof/hprof.h
diff --git a/src/image.cc b/runtime/image.cc
index 686a117c9..686a117c9 100644
--- a/src/image.cc
+++ b/runtime/image.cc
diff --git a/src/image.h b/runtime/image.h
index f14d7d190..f14d7d190 100644
--- a/src/image.h
+++ b/runtime/image.h
diff --git a/src/image_test.cc b/runtime/image_test.cc
index 9ab1d7475..9ab1d7475 100644
--- a/src/image_test.cc
+++ b/runtime/image_test.cc
diff --git a/src/indenter.h b/runtime/indenter.h
index 4ac0c0116..4ac0c0116 100644
--- a/src/indenter.h
+++ b/runtime/indenter.h
diff --git a/src/indenter_test.cc b/runtime/indenter_test.cc
index 1919e3d18..1919e3d18 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 0287d745c..0287d745c 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 e09043dba..e09043dba 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 bd2890c49..bd2890c49 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 c4dae4dcb..c4dae4dcb 100644
--- a/src/instruction_set.h
+++ b/runtime/instruction_set.h
diff --git a/src/instrumentation.cc b/runtime/instrumentation.cc
index 8598d6d4f..8598d6d4f 100644
--- a/src/instrumentation.cc
+++ b/runtime/instrumentation.cc
diff --git a/src/instrumentation.h b/runtime/instrumentation.h
index 5fea34f38..5fea34f38 100644
--- a/src/instrumentation.h
+++ b/runtime/instrumentation.h
diff --git a/src/intern_table.cc b/runtime/intern_table.cc
index d1ad2dbad..d1ad2dbad 100644
--- a/src/intern_table.cc
+++ b/runtime/intern_table.cc
diff --git a/src/intern_table.h b/runtime/intern_table.h
index 1ff4f6d3c..1ff4f6d3c 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 f6b040def..f6b040def 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 16e04a5a3..16e04a5a3 100644
--- a/src/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.h b/runtime/interpreter/interpreter.h
index 20166ac54..20166ac54 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 b57d60a70..b57d60a70 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 d724fdb9c..d724fdb9c 100644
--- a/src/invoke_type.h
+++ b/runtime/invoke_type.h
diff --git a/src/jdwp/README.txt b/runtime/jdwp/README.txt
index da25fb17d..da25fb17d 100644
--- a/src/jdwp/README.txt
+++ b/runtime/jdwp/README.txt
diff --git a/src/jdwp/jdwp.h b/runtime/jdwp/jdwp.h
index 436525c3d..436525c3d 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 9652f6075..9652f6075 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 2a3c77516..2a3c77516 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 ebc575b6b..ebc575b6b 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 77434e12f..77434e12f 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 a6eabb137..a6eabb137 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 0a64f28e1..0a64f28e1 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 820f62d6a..820f62d6a 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 8ef146c09..8ef146c09 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 3b6dd810c..3b6dd810c 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 c8a7b2686..c8a7b2686 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 440b51b6e..440b51b6e 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 08b485976..08b485976 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 54e7a8e48..54e7a8e48 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 d0ea59da7..d0ea59da7 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 c6047cd13..c6047cd13 100644
--- a/src/jni_internal.cc
+++ b/runtime/jni_internal.cc
diff --git a/src/jni_internal.h b/runtime/jni_internal.h
index 7b43f95cb..7b43f95cb 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 c8b9eb95e..c8b9eb95e 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 e22d75f94..e22d75f94 100644
--- a/src/jobject_comparator.cc
+++ b/runtime/jobject_comparator.cc
diff --git a/src/jobject_comparator.h b/runtime/jobject_comparator.h
index 17098aaeb..17098aaeb 100644
--- a/src/jobject_comparator.h
+++ b/runtime/jobject_comparator.h
diff --git a/src/jvalue.h b/runtime/jvalue.h
index 66cd93e2c..66cd93e2c 100644
--- a/src/jvalue.h
+++ b/runtime/jvalue.h
diff --git a/src/leb128.h b/runtime/leb128.h
index a5a6683ae..a5a6683ae 100644
--- a/src/leb128.h
+++ b/runtime/leb128.h
diff --git a/src/locks.cc b/runtime/locks.cc
index 51a40c383..51a40c383 100644
--- a/src/locks.cc
+++ b/runtime/locks.cc
diff --git a/src/locks.h b/runtime/locks.h
index 91437e183..91437e183 100644
--- a/src/locks.h
+++ b/runtime/locks.h
diff --git a/src/log_severity.h b/runtime/log_severity.h
index 126019bdb..126019bdb 100644
--- a/src/log_severity.h
+++ b/runtime/log_severity.h
diff --git a/src/mem_map.cc b/runtime/mem_map.cc
index c75dffa63..c75dffa63 100644
--- a/src/mem_map.cc
+++ b/runtime/mem_map.cc
diff --git a/src/mem_map.h b/runtime/mem_map.h
index 2eb777270..2eb777270 100644
--- a/src/mem_map.h
+++ b/runtime/mem_map.h
diff --git a/src/memory_region.cc b/runtime/memory_region.cc
index 06eba0ff1..06eba0ff1 100644
--- a/src/memory_region.cc
+++ b/runtime/memory_region.cc
diff --git a/src/memory_region.h b/runtime/memory_region.h
index cfbe42ddd..cfbe42ddd 100644
--- a/src/memory_region.h
+++ b/runtime/memory_region.h
diff --git a/src/method_reference.h b/runtime/method_reference.h
index ff8bf313f..ff8bf313f 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 a8238867a..a8238867a 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 88a9dc1aa..88a9dc1aa 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 339471dd5..339471dd5 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 b7f212f50..b7f212f50 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 88cd309ee..88cd309ee 100644
--- a/src/mirror/array.cc
+++ b/runtime/mirror/array.cc
diff --git a/src/mirror/array.h b/runtime/mirror/array.h
index 98b8ea000..98b8ea000 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 6819fb295..6819fb295 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 2d2130c39..2d2130c39 100644
--- a/src/mirror/class.cc
+++ b/runtime/mirror/class.cc
diff --git a/src/mirror/class.h b/runtime/mirror/class.h
index 084aa24c7..084aa24c7 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 0d635f1d2..0d635f1d2 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 3b17c428a..3b17c428a 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 239dc5e0c..239dc5e0c 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 307588b58..307588b58 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 441c6da8a..441c6da8a 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 be5dcab03..be5dcab03 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 a96e8c8d5..a96e8c8d5 100644
--- a/src/mirror/field.cc
+++ b/runtime/mirror/field.cc
diff --git a/src/mirror/field.h b/runtime/mirror/field.h
index 4e7abe855..4e7abe855 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 72803b800..72803b800 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 ffb2e5158..ffb2e5158 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 1a91dd3e6..1a91dd3e6 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 b2d6e7147..b2d6e7147 100644
--- a/src/mirror/object.cc
+++ b/runtime/mirror/object.cc
diff --git a/src/mirror/object.h b/runtime/mirror/object.h
index 71b628db5..71b628db5 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 b130dac51..b130dac51 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 08a8d6256..08a8d6256 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 53a1df95a..53a1df95a 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 cac028a73..cac028a73 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 1ad01823b..1ad01823b 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 d53c8602d..d53c8602d 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 97126cba4..97126cba4 100644
--- a/src/mirror/string.cc
+++ b/runtime/mirror/string.cc
diff --git a/src/mirror/string.h b/runtime/mirror/string.h
index 8109dcb9a..8109dcb9a 100644
--- a/src/mirror/string.h
+++ b/runtime/mirror/string.h
diff --git a/src/mirror/throwable.cc b/runtime/mirror/throwable.cc
index 78b76dc6e..78b76dc6e 100644
--- a/src/mirror/throwable.cc
+++ b/runtime/mirror/throwable.cc
diff --git a/src/mirror/throwable.h b/runtime/mirror/throwable.h
index aafcc07d8..aafcc07d8 100644
--- a/src/mirror/throwable.h
+++ b/runtime/mirror/throwable.h
diff --git a/src/modifiers.h b/runtime/modifiers.h
index 85bc06da6..85bc06da6 100644
--- a/src/modifiers.h
+++ b/runtime/modifiers.h
diff --git a/src/monitor.cc b/runtime/monitor.cc
index 11790e5c9..11790e5c9 100644
--- a/src/monitor.cc
+++ b/runtime/monitor.cc
diff --git a/src/monitor.h b/runtime/monitor.h
index 9194c08ab..9194c08ab 100644
--- a/src/monitor.h
+++ b/runtime/monitor.h
diff --git a/src/monitor_android.cc b/runtime/monitor_android.cc
index 9265cd649..9265cd649 100644
--- a/src/monitor_android.cc
+++ b/runtime/monitor_android.cc
diff --git a/src/monitor_linux.cc b/runtime/monitor_linux.cc
index 856ebe45f..856ebe45f 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 b9838f879..b9838f879 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 992998eb6..992998eb6 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 ce3cc932a..ce3cc932a 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 1a80d6286..1a80d6286 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 9b995f421..9b995f421 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 a7296996d..a7296996d 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 5db7a330a..5db7a330a 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 e380c1779..e380c1779 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 3e9c3f36f..3e9c3f36f 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 2462f2fd8..2462f2fd8 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 8ef190aa3..8ef190aa3 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 332a1305e..332a1305e 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 c23b08ca6..c23b08ca6 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 45ec0ad5a..45ec0ad5a 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 918021748..918021748 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 b0daa916c..b0daa916c 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 14dc6a44e..14dc6a44e 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 547ce7b38..547ce7b38 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 bf92e1230..bf92e1230 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 d7cd18dc9..d7cd18dc9 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 5ba29946d..5ba29946d 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 eece81a9e..eece81a9e 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 c32a46aa0..c32a46aa0 100644
--- a/src/nth_caller_visitor.h
+++ b/runtime/nth_caller_visitor.h
diff --git a/src/oat.cc b/runtime/oat.cc
index e606953ed..e606953ed 100644
--- a/src/oat.cc
+++ b/runtime/oat.cc
diff --git a/src/oat.h b/runtime/oat.h
index c67a1a663..c67a1a663 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 4ab05b9e4..4ab05b9e4 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 4e42e94e6..4e42e94e6 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 ec1d4cb7f..ec1d4cb7f 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 2e9453ce9..2e9453ce9 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 f19e8bada..f19e8bada 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 dd2f3fa69..dd2f3fa69 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 7075e4257..7075e4257 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 895abf99e..895abf99e 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 cbd63d806..cbd63d806 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 fc8ef9655..fc8ef9655 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 8e066118c..8e066118c 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 45d583e09..45d583e09 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 c1a2587c4..c1a2587c4 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 f66fc848d..f66fc848d 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 fe91e617b..fe91e617b 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 43fc9d2a2..43fc9d2a2 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 0af7a6281..0af7a6281 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 c20326c63..c20326c63 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 a0b06fb52..a0b06fb52 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 1f1b9523e..1f1b9523e 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 55be54f2c..55be54f2c 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 6a95f3c8f..6a95f3c8f 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 8f0f7ca93..8f0f7ca93 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 79bb7a69f..79bb7a69f 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 0bfe59dc2..0bfe59dc2 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 d4d0ca103..d4d0ca103 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 096cb9c62..096cb9c62 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 e7117147a..e7117147a 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 9588698bb..9588698bb 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 ceb10bd6c..ceb10bd6c 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 7928fd860..7928fd860 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 a90a583e9..a90a583e9 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 ee6db0c3f..ee6db0c3f 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 960a60dfa..960a60dfa 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 06e0a55f6..06e0a55f6 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 57c23059d..57c23059d 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 b069f6ded..b069f6ded 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 f5d4cc0d1..f5d4cc0d1 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 92ce0b800..92ce0b800 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 cbf145b94..cbf145b94 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 a3d579566..a3d579566 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 25ba9b221..25ba9b221 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 02759e4ef..02759e4ef 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 195dafb0a..195dafb0a 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 aaaabfcc0..aaaabfcc0 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 fd8f152c5..fd8f152c5 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 dddb9b188..dddb9b188 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 5d8a3b152..5d8a3b152 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 4697d0613..4697d0613 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 448145631..448145631 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 4fbafdadf..4fbafdadf 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 ebf92a7f6..ebf92a7f6 100644
--- a/src/oat_file.cc
+++ b/runtime/oat_file.cc
diff --git a/src/oat_file.h b/runtime/oat_file.h
index 0bf79a9c0..0bf79a9c0 100644
--- a/src/oat_file.h
+++ b/runtime/oat_file.h
diff --git a/src/oat_test.cc b/runtime/oat_test.cc
index f41a7bad9..f41a7bad9 100644
--- a/src/oat_test.cc
+++ b/runtime/oat_test.cc
diff --git a/src/object_utils.h b/runtime/object_utils.h
index 4af5d4c30..4af5d4c30 100644
--- a/src/object_utils.h
+++ b/runtime/object_utils.h
diff --git a/src/offsets.cc b/runtime/offsets.cc
index 369140176..369140176 100644
--- a/src/offsets.cc
+++ b/runtime/offsets.cc
diff --git a/src/offsets.h b/runtime/offsets.h
index f37dbd441..f37dbd441 100644
--- a/src/offsets.h
+++ b/runtime/offsets.h
diff --git a/src/os.h b/runtime/os.h
index 3428b6afb..3428b6afb 100644
--- a/src/os.h
+++ b/runtime/os.h
diff --git a/src/os_linux.cc b/runtime/os_linux.cc
index d3a1ccbcb..d3a1ccbcb 100644
--- a/src/os_linux.cc
+++ b/runtime/os_linux.cc
diff --git a/src/output_stream.h b/runtime/output_stream.h
index b03092ddf..b03092ddf 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 c9e0edefc..c9e0edefc 100644
--- a/src/output_stream_test.cc
+++ b/runtime/output_stream_test.cc
diff --git a/src/primitive.cc b/runtime/primitive.cc
index 16ca0fe1f..16ca0fe1f 100644
--- a/src/primitive.cc
+++ b/runtime/primitive.cc
diff --git a/src/primitive.h b/runtime/primitive.h
index eaa04cd05..eaa04cd05 100644
--- a/src/primitive.h
+++ b/runtime/primitive.h
diff --git a/src/reference_table.cc b/runtime/reference_table.cc
index 192535ab0..192535ab0 100644
--- a/src/reference_table.cc
+++ b/runtime/reference_table.cc
diff --git a/src/reference_table.h b/runtime/reference_table.h
index 5abb5c7b4..5abb5c7b4 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 16fbd94b2..16fbd94b2 100644
--- a/src/reference_table_test.cc
+++ b/runtime/reference_table_test.cc
diff --git a/src/reflection.cc b/runtime/reflection.cc
index 467575cdf..467575cdf 100644
--- a/src/reflection.cc
+++ b/runtime/reflection.cc
diff --git a/src/reflection.h b/runtime/reflection.h
index e9f4e0893..e9f4e0893 100644
--- a/src/reflection.h
+++ b/runtime/reflection.h
diff --git a/src/root_visitor.h b/runtime/root_visitor.h
index d53acd362..d53acd362 100644
--- a/src/root_visitor.h
+++ b/runtime/root_visitor.h
diff --git a/src/runtime.cc b/runtime/runtime.cc
index e5fb46fa5..e5fb46fa5 100644
--- a/src/runtime.cc
+++ b/runtime/runtime.cc
diff --git a/src/runtime.h b/runtime/runtime.h
index 97b7c2518..97b7c2518 100644
--- a/src/runtime.h
+++ b/runtime/runtime.h
diff --git a/src/runtime_android.cc b/runtime/runtime_android.cc
index 2013294df..2013294df 100644
--- a/src/runtime_android.cc
+++ b/runtime/runtime_android.cc
diff --git a/src/runtime_linux.cc b/runtime/runtime_linux.cc
index a4fc3af60..a4fc3af60 100644
--- a/src/runtime_linux.cc
+++ b/runtime/runtime_linux.cc
diff --git a/src/runtime_stats.h b/runtime/runtime_stats.h
index 55e57ecc1..55e57ecc1 100644
--- a/src/runtime_stats.h
+++ b/runtime/runtime_stats.h
diff --git a/src/runtime_support.cc b/runtime/runtime_support.cc
index c93362198..c93362198 100644
--- a/src/runtime_support.cc
+++ b/runtime/runtime_support.cc
diff --git a/src/runtime_support.h b/runtime/runtime_support.h
index 0cb82a546..0cb82a546 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 cbdefe8a0..cbdefe8a0 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 af9984208..af9984208 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 a58b061e1..a58b061e1 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 b82781314..b82781314 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 d53b4a62a..d53b4a62a 100644
--- a/src/runtime_test.cc
+++ b/runtime/runtime_test.cc
diff --git a/src/safe_map.h b/runtime/safe_map.h
index b9a6ecf5e..b9a6ecf5e 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 81db2ecf6..81db2ecf6 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 a630db810..a630db810 100644
--- a/src/signal_catcher.cc
+++ b/runtime/signal_catcher.cc
diff --git a/src/signal_catcher.h b/runtime/signal_catcher.h
index de0220b11..de0220b11 100644
--- a/src/signal_catcher.h
+++ b/runtime/signal_catcher.h
diff --git a/src/signal_set.h b/runtime/signal_set.h
index d4aec86d1..d4aec86d1 100644
--- a/src/signal_set.h
+++ b/runtime/signal_set.h
diff --git a/src/sirt_ref.h b/runtime/sirt_ref.h
index 12f832634..12f832634 100644
--- a/src/sirt_ref.h
+++ b/runtime/sirt_ref.h
diff --git a/src/stack.cc b/runtime/stack.cc
index fcd0f2dc7..fcd0f2dc7 100644
--- a/src/stack.cc
+++ b/runtime/stack.cc
diff --git a/src/stack.h b/runtime/stack.h
index fbfacb173..fbfacb173 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 dd106344d..dd106344d 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 b8769183d..b8769183d 100644
--- a/src/strutil.h
+++ b/runtime/strutil.h
diff --git a/src/thread-inl.h b/runtime/thread-inl.h
index 2fc598730..2fc598730 100644
--- a/src/thread-inl.h
+++ b/runtime/thread-inl.h
diff --git a/src/thread.cc b/runtime/thread.cc
index d6bd8a45a..d6bd8a45a 100644
--- a/src/thread.cc
+++ b/runtime/thread.cc
diff --git a/src/thread.h b/runtime/thread.h
index 0daf76335..0daf76335 100644
--- a/src/thread.h
+++ b/runtime/thread.h
diff --git a/src/thread_android.cc b/runtime/thread_android.cc
index 7c4551fa2..7c4551fa2 100644
--- a/src/thread_android.cc
+++ b/runtime/thread_android.cc
diff --git a/src/thread_arm.cc b/runtime/thread_arm.cc
index 0ef26bff5..0ef26bff5 100644
--- a/src/thread_arm.cc
+++ b/runtime/thread_arm.cc
diff --git a/src/thread_linux.cc b/runtime/thread_linux.cc
index 6f4b75dac..6f4b75dac 100644
--- a/src/thread_linux.cc
+++ b/runtime/thread_linux.cc
diff --git a/src/thread_list.cc b/runtime/thread_list.cc
index 59c38b434..59c38b434 100644
--- a/src/thread_list.cc
+++ b/runtime/thread_list.cc
diff --git a/src/thread_list.h b/runtime/thread_list.h
index 0470cfc3b..0470cfc3b 100644
--- a/src/thread_list.h
+++ b/runtime/thread_list.h
diff --git a/src/thread_mips.cc b/runtime/thread_mips.cc
index 0ef26bff5..0ef26bff5 100644
--- a/src/thread_mips.cc
+++ b/runtime/thread_mips.cc
diff --git a/src/thread_pool.cc b/runtime/thread_pool.cc
index f0f6f1844..f0f6f1844 100644
--- a/src/thread_pool.cc
+++ b/runtime/thread_pool.cc
diff --git a/src/thread_pool.h b/runtime/thread_pool.h
index 814e654ad..814e654ad 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 e2a32f510..e2a32f510 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 52f092efa..52f092efa 100644
--- a/src/thread_state.h
+++ b/runtime/thread_state.h
diff --git a/src/thread_x86.cc b/runtime/thread_x86.cc
index 959f31747..959f31747 100644
--- a/src/thread_x86.cc
+++ b/runtime/thread_x86.cc
diff --git a/src/throw_location.cc b/runtime/throw_location.cc
index 84d2c9b44..84d2c9b44 100644
--- a/src/throw_location.cc
+++ b/runtime/throw_location.cc
diff --git a/src/throw_location.h b/runtime/throw_location.h
index 8c1b9410a..8c1b9410a 100644
--- a/src/throw_location.h
+++ b/runtime/throw_location.h
diff --git a/src/trace.cc b/runtime/trace.cc
index 32932907e..32932907e 100644
--- a/src/trace.cc
+++ b/runtime/trace.cc
diff --git a/src/trace.h b/runtime/trace.h
index 9432e718f..9432e718f 100644
--- a/src/trace.h
+++ b/runtime/trace.h
diff --git a/src/utf.cc b/runtime/utf.cc
index 1add7d9a6..1add7d9a6 100644
--- a/src/utf.cc
+++ b/runtime/utf.cc
diff --git a/src/utf.h b/runtime/utf.h
index 57c811f21..57c811f21 100644
--- a/src/utf.h
+++ b/runtime/utf.h
diff --git a/src/utils.cc b/runtime/utils.cc
index 723be92d8..723be92d8 100644
--- a/src/utils.cc
+++ b/runtime/utils.cc
diff --git a/src/utils.h b/runtime/utils.h
index e5028bae8..e5028bae8 100644
--- a/src/utils.h
+++ b/runtime/utils.h
diff --git a/src/utils_test.cc b/runtime/utils_test.cc
index 0966e717c..0966e717c 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 e5ff72903..e5ff72903 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 3546c8d57..3546c8d57 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 cd0b1371e..cd0b1371e 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 673112b21..673112b21 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 358791ddf..358791ddf 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 9dc3ea7a7..9dc3ea7a7 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 5a70f2a69..5a70f2a69 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 ac0de9e1f..ac0de9e1f 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 611b7c06e..611b7c06e 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 1c61a29ce..1c61a29ce 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 9ac0ecac8..9ac0ecac8 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 42474d184..42474d184 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 601325083..601325083 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 d70123c2d..d70123c2d 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 f37edff6a..f37edff6a 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 157e136cc..157e136cc 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 3a2145b9b..3a2145b9b 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 5f17049e8..5f17049e8 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 4d34c7350..4d34c7350 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 8170520d4..8170520d4 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 9cf7a0915..9cf7a0915 100644
--- a/src/zip_archive.cc
+++ b/runtime/zip_archive.cc
diff --git a/src/zip_archive.h b/runtime/zip_archive.h
index ef3148696..ef3148696 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 9bdc24ba0..9bdc24ba0 100644
--- a/src/zip_archive_test.cc
+++ b/runtime/zip_archive_test.cc
diff --git a/test/Android.mk b/test/Android.mk
index 6c7b26e7b..fdb7273bc 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 aa0c00e74..678e6642f 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