blob: c6f479ff406d9de0b54fc198348b2656aa229750 [file] [log] [blame]
Colin Cross1f7f3bd2016-07-27 10:12:38 -07001//
2// Copyright (C) 2011 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17// Keep the __jit_debug_register_code symbol as a unique symbol during ICF for architectures where
18// we use gold as the linker (arm, x86, x86_64). The symbol is used by the debuggers to detect when
19// new jit code is generated. We don't want it to be called when a different function with the same
20// (empty) body is called.
21JIT_DEBUG_REGISTER_CODE_LDFLAGS = ["-Wl,--keep-unique,__jit_debug_register_code"]
22
23cc_defaults {
24 name: "libart_defaults",
25 defaults: ["art_defaults"],
26 host_supported: true,
27 srcs: [
28 "art_field.cc",
29 "art_method.cc",
30 "atomic.cc",
31 "barrier.cc",
32 "base/allocator.cc",
33 "base/arena_allocator.cc",
34 "base/arena_bit_vector.cc",
35 "base/bit_vector.cc",
36 "base/file_magic.cc",
37 "base/hex_dump.cc",
38 "base/logging.cc",
39 "base/mutex.cc",
40 "base/scoped_arena_allocator.cc",
41 "base/scoped_flock.cc",
42 "base/stringpiece.cc",
43 "base/stringprintf.cc",
44 "base/time_utils.cc",
45 "base/timing_logger.cc",
46 "base/unix_file/fd_file.cc",
47 "base/unix_file/random_access_file_utils.cc",
48 "check_jni.cc",
49 "class_linker.cc",
50 "class_table.cc",
51 "code_simulator_container.cc",
52 "common_throws.cc",
53 "compiler_filter.cc",
54 "debugger.cc",
55 "dex_file.cc",
David Sehr9323e6e2016-09-13 08:58:35 -070056 "dex_file_annotations.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070057 "dex_file_verifier.cc",
58 "dex_instruction.cc",
59 "elf_file.cc",
60 "fault_handler.cc",
61 "gc/allocation_record.cc",
62 "gc/allocator/dlmalloc.cc",
63 "gc/allocator/rosalloc.cc",
64 "gc/accounting/bitmap.cc",
65 "gc/accounting/card_table.cc",
66 "gc/accounting/heap_bitmap.cc",
67 "gc/accounting/mod_union_table.cc",
68 "gc/accounting/remembered_set.cc",
69 "gc/accounting/space_bitmap.cc",
70 "gc/collector/concurrent_copying.cc",
71 "gc/collector/garbage_collector.cc",
72 "gc/collector/immune_region.cc",
73 "gc/collector/immune_spaces.cc",
74 "gc/collector/mark_compact.cc",
75 "gc/collector/mark_sweep.cc",
76 "gc/collector/partial_mark_sweep.cc",
77 "gc/collector/semi_space.cc",
78 "gc/collector/sticky_mark_sweep.cc",
79 "gc/gc_cause.cc",
80 "gc/heap.cc",
81 "gc/reference_processor.cc",
82 "gc/reference_queue.cc",
83 "gc/scoped_gc_critical_section.cc",
84 "gc/space/bump_pointer_space.cc",
85 "gc/space/dlmalloc_space.cc",
86 "gc/space/image_space.cc",
87 "gc/space/large_object_space.cc",
88 "gc/space/malloc_space.cc",
89 "gc/space/region_space.cc",
90 "gc/space/rosalloc_space.cc",
91 "gc/space/space.cc",
92 "gc/space/zygote_space.cc",
93 "gc/task_processor.cc",
94 "hprof/hprof.cc",
95 "image.cc",
96 "indirect_reference_table.cc",
97 "instrumentation.cc",
98 "intern_table.cc",
99 "interpreter/interpreter.cc",
100 "interpreter/interpreter_common.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700101 "interpreter/interpreter_switch_impl.cc",
102 "interpreter/unstarted_runtime.cc",
103 "java_vm_ext.cc",
104 "jdwp/jdwp_event.cc",
105 "jdwp/jdwp_expand_buf.cc",
106 "jdwp/jdwp_handler.cc",
107 "jdwp/jdwp_main.cc",
108 "jdwp/jdwp_request.cc",
109 "jdwp/jdwp_socket.cc",
110 "jdwp/object_registry.cc",
111 "jni_env_ext.cc",
112 "jit/debugger_interface.cc",
113 "jit/jit.cc",
114 "jit/jit_code_cache.cc",
115 "jit/offline_profiling_info.cc",
116 "jit/profiling_info.cc",
117 "jit/profile_saver.cc",
118 "jni_internal.cc",
119 "jobject_comparator.cc",
120 "linear_alloc.cc",
121 "mem_map.cc",
122 "memory_region.cc",
Orion Hodsonba28f9f2016-10-26 10:56:25 +0100123 "method_handles.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700124 "mirror/array.cc",
125 "mirror/class.cc",
Alex Lightd6251582016-10-31 11:12:30 -0700126 "mirror/class_ext.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700127 "mirror/dex_cache.cc",
Narayan Kamath000e1882016-10-24 17:14:25 +0100128 "mirror/emulated_stack_frame.cc",
Neil Fuller0e844392016-09-08 13:43:31 +0100129 "mirror/executable.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700130 "mirror/field.cc",
131 "mirror/method.cc",
Narayan Kamathafa48272016-08-03 12:46:58 +0100132 "mirror/method_handle_impl.cc",
133 "mirror/method_type.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700134 "mirror/object.cc",
135 "mirror/reference.cc",
136 "mirror/stack_trace_element.cc",
137 "mirror/string.cc",
138 "mirror/throwable.cc",
139 "monitor.cc",
140 "native_bridge_art_interface.cc",
141 "native_stack_dump.cc",
142 "native/dalvik_system_DexFile.cc",
Orion Hodsona4c2a052016-08-17 10:51:42 +0100143 "native/dalvik_system_InMemoryDexClassLoader_DexData.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700144 "native/dalvik_system_VMDebug.cc",
145 "native/dalvik_system_VMRuntime.cc",
146 "native/dalvik_system_VMStack.cc",
147 "native/dalvik_system_ZygoteHooks.cc",
148 "native/java_lang_Class.cc",
149 "native/java_lang_DexCache.cc",
150 "native/java_lang_Object.cc",
151 "native/java_lang_String.cc",
152 "native/java_lang_StringFactory.cc",
153 "native/java_lang_System.cc",
154 "native/java_lang_Thread.cc",
155 "native/java_lang_Throwable.cc",
156 "native/java_lang_VMClassLoader.cc",
157 "native/java_lang_ref_FinalizerReference.cc",
158 "native/java_lang_ref_Reference.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700159 "native/java_lang_reflect_Array.cc",
160 "native/java_lang_reflect_Constructor.cc",
Neil Fuller0e844392016-09-08 13:43:31 +0100161 "native/java_lang_reflect_Executable.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700162 "native/java_lang_reflect_Field.cc",
163 "native/java_lang_reflect_Method.cc",
Neil Fuller60458a02016-09-01 15:32:44 +0100164 "native/java_lang_reflect_Parameter.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700165 "native/java_lang_reflect_Proxy.cc",
166 "native/java_util_concurrent_atomic_AtomicLong.cc",
167 "native/libcore_util_CharsetUtils.cc",
168 "native/org_apache_harmony_dalvik_ddmc_DdmServer.cc",
169 "native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc",
170 "native/sun_misc_Unsafe.cc",
171 "oat.cc",
172 "oat_file.cc",
173 "oat_file_assistant.cc",
174 "oat_file_manager.cc",
175 "oat_quick_method_header.cc",
176 "object_lock.cc",
177 "offsets.cc",
178 "os_linux.cc",
179 "parsed_options.cc",
180 "plugin.cc",
181 "primitive.cc",
182 "quick_exception_handler.cc",
183 "quick/inline_method_analyser.cc",
184 "reference_table.cc",
185 "reflection.cc",
186 "runtime.cc",
187 "runtime_options.cc",
188 "signal_catcher.cc",
189 "stack.cc",
190 "stack_map.cc",
191 "thread.cc",
192 "thread_list.cc",
193 "thread_pool.cc",
194 "ti/agent.cc",
195 "trace.cc",
196 "transaction.cc",
197 "type_lookup_table.cc",
198 "utf.cc",
199 "utils.cc",
David Brazdil7b49e6c2016-09-01 11:06:18 +0100200 "vdex_file.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700201 "verifier/instruction_flags.cc",
202 "verifier/method_verifier.cc",
203 "verifier/reg_type.cc",
204 "verifier/reg_type_cache.cc",
205 "verifier/register_line.cc",
David Brazdilca3c8c32016-09-06 14:04:48 +0100206 "verifier/verifier_deps.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700207 "well_known_classes.cc",
208 "zip_archive.cc",
209
210 "arch/context.cc",
211 "arch/instruction_set.cc",
212 "arch/instruction_set_features.cc",
213 "arch/memcmp16.cc",
214 "arch/arm/instruction_set_features_arm.cc",
215 "arch/arm/registers_arm.cc",
216 "arch/arm64/instruction_set_features_arm64.cc",
217 "arch/arm64/registers_arm64.cc",
218 "arch/mips/instruction_set_features_mips.cc",
219 "arch/mips/registers_mips.cc",
220 "arch/mips64/instruction_set_features_mips64.cc",
221 "arch/mips64/registers_mips64.cc",
222 "arch/x86/instruction_set_features_x86.cc",
223 "arch/x86/registers_x86.cc",
224 "arch/x86_64/registers_x86_64.cc",
225 "entrypoints/entrypoint_utils.cc",
226 "entrypoints/jni/jni_entrypoints.cc",
227 "entrypoints/math_entrypoints.cc",
228 "entrypoints/quick/quick_alloc_entrypoints.cc",
229 "entrypoints/quick/quick_cast_entrypoints.cc",
230 "entrypoints/quick/quick_deoptimization_entrypoints.cc",
231 "entrypoints/quick/quick_dexcache_entrypoints.cc",
Serban Constantinescuda8ffec2016-03-09 12:02:11 +0000232 "entrypoints/quick/quick_entrypoints_enum.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700233 "entrypoints/quick/quick_field_entrypoints.cc",
234 "entrypoints/quick/quick_fillarray_entrypoints.cc",
235 "entrypoints/quick/quick_instrumentation_entrypoints.cc",
236 "entrypoints/quick/quick_jni_entrypoints.cc",
237 "entrypoints/quick/quick_lock_entrypoints.cc",
238 "entrypoints/quick/quick_math_entrypoints.cc",
239 "entrypoints/quick/quick_thread_entrypoints.cc",
240 "entrypoints/quick/quick_throw_entrypoints.cc",
241 "entrypoints/quick/quick_trampoline_entrypoints.cc",
242 ],
243
244 arch: {
245 arm: {
246 clang_asflags: ["-no-integrated-as"],
247 srcs: [
248 "interpreter/mterp/mterp.cc",
249 "interpreter/mterp/out/mterp_arm.S",
250 "arch/arm/context_arm.cc",
251 "arch/arm/entrypoints_init_arm.cc",
252 "arch/arm/instruction_set_features_assembly_tests.S",
253 "arch/arm/jni_entrypoints_arm.S",
254 "arch/arm/memcmp16_arm.S",
255 "arch/arm/quick_entrypoints_arm.S",
256 "arch/arm/quick_entrypoints_cc_arm.cc",
257 "arch/arm/thread_arm.cc",
258 "arch/arm/fault_handler_arm.cc",
259 ],
260 },
261 arm64: {
262 srcs: [
263 "interpreter/mterp/mterp.cc",
264 "interpreter/mterp/out/mterp_arm64.S",
265 "arch/arm64/context_arm64.cc",
266 "arch/arm64/entrypoints_init_arm64.cc",
267 "arch/arm64/jni_entrypoints_arm64.S",
268 "arch/arm64/memcmp16_arm64.S",
269 "arch/arm64/quick_entrypoints_arm64.S",
270 "arch/arm64/thread_arm64.cc",
271 "monitor_pool.cc",
272 "arch/arm64/fault_handler_arm64.cc",
273 ],
274 },
275 x86: {
276 srcs: [
277 "interpreter/mterp/mterp.cc",
278 "interpreter/mterp/out/mterp_x86.S",
279 "arch/x86/context_x86.cc",
280 "arch/x86/entrypoints_init_x86.cc",
281 "arch/x86/jni_entrypoints_x86.S",
282 "arch/x86/memcmp16_x86.S",
283 "arch/x86/quick_entrypoints_x86.S",
284 "arch/x86/thread_x86.cc",
285 "arch/x86/fault_handler_x86.cc",
286 ],
287 },
288 x86_64: {
289 srcs: [
290 // Note that the fault_handler_x86.cc is not a mistake. This file is
291 // shared between the x86 and x86_64 architectures.
292 "interpreter/mterp/mterp.cc",
293 "interpreter/mterp/out/mterp_x86_64.S",
294 "arch/x86_64/context_x86_64.cc",
295 "arch/x86_64/entrypoints_init_x86_64.cc",
296 "arch/x86_64/jni_entrypoints_x86_64.S",
297 "arch/x86_64/memcmp16_x86_64.S",
298 "arch/x86_64/quick_entrypoints_x86_64.S",
299 "arch/x86_64/thread_x86_64.cc",
300 "monitor_pool.cc",
301 "arch/x86/fault_handler_x86.cc",
302 ],
303 },
304 mips: {
305 srcs: [
306 "interpreter/mterp/mterp.cc",
307 "interpreter/mterp/out/mterp_mips.S",
308 "arch/mips/context_mips.cc",
309 "arch/mips/entrypoints_init_mips.cc",
310 "arch/mips/jni_entrypoints_mips.S",
311 "arch/mips/memcmp16_mips.S",
312 "arch/mips/quick_entrypoints_mips.S",
313 "arch/mips/thread_mips.cc",
314 "arch/mips/fault_handler_mips.cc",
315 ],
316 },
317 mips64: {
318 srcs: [
319 "interpreter/mterp/mterp.cc",
320 "interpreter/mterp/out/mterp_mips64.S",
321 "arch/mips64/context_mips64.cc",
322 "arch/mips64/entrypoints_init_mips64.cc",
323 "arch/mips64/jni_entrypoints_mips64.S",
324 "arch/mips64/memcmp16_mips64.S",
325 "arch/mips64/quick_entrypoints_mips64.S",
326 "arch/mips64/thread_mips64.cc",
327 "monitor_pool.cc",
328 "arch/mips64/fault_handler_mips64.cc",
329 ],
330 },
331 },
332 target: {
333 android: {
334 srcs: [
335 "jdwp/jdwp_adb.cc",
336 "monitor_android.cc",
337 "runtime_android.cc",
338 "thread_android.cc",
339 ],
340 shared_libs: [
341 "libdl",
342 // For android::FileMap used by libziparchive.
343 "libutils",
344 ],
345 static_libs: [
346 // ZipArchive support, the order matters here to get all symbols.
347 "libziparchive",
348 "libz",
349 "libbase",
350 ],
351 },
352 android_arm: {
353 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
354 },
355 android_arm64: {
356 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
357 },
358 android_x86: {
359 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
360 },
361 android_x86_64: {
362 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
363 },
364 host: {
365 srcs: [
366 "monitor_linux.cc",
367 "runtime_linux.cc",
368 "thread_linux.cc",
369 ],
370 shared_libs: [
371 "libziparchive",
Colin Cross19f28f12016-08-25 16:42:09 -0700372 "libz-host",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700373 ],
374 },
375 },
376 cflags: ["-DBUILDING_LIBART=1"],
377 generated_sources: ["art_operator_srcs"],
378 clang: true,
379 include_dirs: [
380 "art/cmdline",
381 "art/sigchainlib",
382 "art",
383 ],
384 shared_libs: [
385 "libnativehelper",
386 "libnativebridge",
387 "libnativeloader",
388 "libbacktrace",
389 "liblz4",
Dimitry Ivanov1d3038f2016-09-23 16:52:05 -0700390 "liblog",
391 // For atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted.
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700392 "libcutils",
Andreas Gampeaaadff82016-08-29 09:53:48 -0700393 // For common macros.
394 "libbase",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700395 ],
396 static: {
397 static_libs: ["libsigchain_dummy"],
398 },
399 shared: {
400 shared_libs: ["libsigchain"],
401 },
402 export_include_dirs: ["."],
Andreas Gampeaaadff82016-08-29 09:53:48 -0700403 // ART's macros.h depends on libbase's macros.h.
404 export_shared_lib_headers: ["libbase"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700405}
406
407gensrcs {
408 name: "art_operator_srcs",
Colin Crossf657ed02016-11-04 15:31:17 -0700409 cmd: "$(location generate-operator-out.py) art/runtime $(in) > $(out)",
410 tool_files: ["generate-operator-out.py"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700411 srcs: [
412 "arch/instruction_set.h",
413 "base/allocator.h",
414 "base/enums.h",
415 "base/mutex.h",
416 "debugger.h",
417 "base/unix_file/fd_file.h",
418 "dex_file.h",
419 "dex_instruction.h",
420 "dex_instruction_utils.h",
421 "gc_root.h",
422 "gc/allocator_type.h",
423 "gc/allocator/rosalloc.h",
424 "gc/collector_type.h",
425 "gc/collector/gc_type.h",
426 "gc/heap.h",
427 "gc/space/region_space.h",
428 "gc/space/space.h",
429 "gc/weak_root_state.h",
430 "image.h",
431 "instrumentation.h",
432 "indirect_reference_table.h",
433 "invoke_type.h",
434 "jdwp/jdwp.h",
435 "jdwp/jdwp_constants.h",
436 "lock_word.h",
437 "mirror/class.h",
438 "oat.h",
439 "object_callbacks.h",
440 "process_state.h",
441 "quick/inline_method_analyser.h",
442 "runtime.h",
443 "stack.h",
444 "thread.h",
445 "thread_state.h",
446 "ti/agent.h",
447 "verifier/method_verifier.h",
448 ],
449 output_extension: "operator_out.cc",
450}
451
452// We always build dex2oat and dependencies, even if the host build is otherwise disabled, since
453// they are used to cross compile for the target.
454
455art_cc_library {
456 name: "libart",
457 defaults: ["libart_defaults"],
Andreas Gampe20ada112016-08-29 08:51:15 -0700458 // Leave the symbols in the shared library so that stack unwinders can
459 // produce meaningful name resolution.
460 strip: {
461 keep_symbols: true,
462 },
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700463}
464
465art_cc_library {
466 name: "libartd",
467 defaults: [
Colin Crossc5644062016-08-30 15:41:08 -0700468 "art_debug_defaults",
469 "libart_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700470 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700471}
472
Colin Cross6b22aa52016-09-12 14:35:39 -0700473art_cc_library {
474 name: "libart-runtime-gtest",
475 defaults: ["libart-gtest-defaults"],
476 srcs: ["common_runtime_test.cc"],
477 shared_libs: [
478 "libartd",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700479 "libbase",
Colin Cross6b22aa52016-09-12 14:35:39 -0700480 ],
481}
482
Colin Cross6e95dd52016-09-12 15:37:10 -0700483art_cc_test {
484 name: "art_runtime_tests",
485 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700486 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700487 ],
488 srcs: [
489 "arch/arch_test.cc",
490 "arch/instruction_set_test.cc",
491 "arch/instruction_set_features_test.cc",
492 "arch/memcmp16_test.cc",
493 "arch/stub_test.cc",
494 "arch/arm/instruction_set_features_arm_test.cc",
495 "arch/arm64/instruction_set_features_arm64_test.cc",
496 "arch/mips/instruction_set_features_mips_test.cc",
497 "arch/mips64/instruction_set_features_mips64_test.cc",
498 "arch/x86/instruction_set_features_x86_test.cc",
499 "arch/x86_64/instruction_set_features_x86_64_test.cc",
500 "barrier_test.cc",
501 "base/arena_allocator_test.cc",
502 "base/bit_field_test.cc",
503 "base/bit_utils_test.cc",
504 "base/bit_vector_test.cc",
505 "base/hash_set_test.cc",
506 "base/hex_dump_test.cc",
507 "base/histogram_test.cc",
508 "base/mutex_test.cc",
509 "base/scoped_flock_test.cc",
510 "base/stringprintf_test.cc",
511 "base/time_utils_test.cc",
512 "base/timing_logger_test.cc",
513 "base/transform_array_ref_test.cc",
514 "base/transform_iterator_test.cc",
515 "base/variant_map_test.cc",
516 "base/unix_file/fd_file_test.cc",
517 "class_linker_test.cc",
518 "compiler_filter_test.cc",
519 "dex_file_test.cc",
520 "dex_file_verifier_test.cc",
521 "dex_instruction_test.cc",
522 "dex_instruction_visitor_test.cc",
523 "dex_method_iterator_test.cc",
524 "entrypoints/math_entrypoints_test.cc",
525 "entrypoints/quick/quick_trampoline_entrypoints_test.cc",
526 "entrypoints_order_test.cc",
527 "gc/accounting/card_table_test.cc",
528 "gc/accounting/mod_union_table_test.cc",
529 "gc/accounting/space_bitmap_test.cc",
530 "gc/collector/immune_spaces_test.cc",
531 "gc/heap_test.cc",
532 "gc/reference_queue_test.cc",
533 "gc/space/dlmalloc_space_static_test.cc",
534 "gc/space/dlmalloc_space_random_test.cc",
535 "gc/space/large_object_space_test.cc",
536 "gc/space/rosalloc_space_static_test.cc",
537 "gc/space/rosalloc_space_random_test.cc",
538 "gc/space/space_create_test.cc",
539 "gc/system_weak_test.cc",
540 "gc/task_processor_test.cc",
541 "gtest_test.cc",
542 "handle_scope_test.cc",
Andreas Gampea1ff30f2016-09-27 12:19:45 -0700543 "imtable_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700544 "indenter_test.cc",
545 "indirect_reference_table_test.cc",
546 "instrumentation_test.cc",
547 "intern_table_test.cc",
548 "interpreter/safe_math_test.cc",
549 "interpreter/unstarted_runtime_test.cc",
550 "java_vm_ext_test.cc",
551 "jit/profile_compilation_info_test.cc",
552 "leb128_test.cc",
553 "mem_map_test.cc",
554 "memory_region_test.cc",
555 "mirror/dex_cache_test.cc",
Narayan Kamathafa48272016-08-03 12:46:58 +0100556 "mirror/method_type_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700557 "mirror/object_test.cc",
558 "monitor_pool_test.cc",
559 "monitor_test.cc",
560 "oat_file_test.cc",
561 "oat_file_assistant_test.cc",
562 "parsed_options_test.cc",
563 "prebuilt_tools_test.cc",
564 "reference_table_test.cc",
565 "thread_pool_test.cc",
566 "transaction_test.cc",
567 "type_lookup_table_test.cc",
568 "utf_test.cc",
569 "utils_test.cc",
570 "verifier/method_verifier_test.cc",
571 "verifier/reg_type_test.cc",
572 "zip_archive_test.cc",
573 ],
574 shared_libs: [
575 "libbacktrace",
576 ],
577}
578
579art_cc_test {
580 name: "art_runtime_compiler_tests",
581 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700582 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700583 ],
584 srcs: [
585 "jni_internal_test.cc",
586 "proxy_test.cc",
587 "reflection_test.cc",
588 ],
589 shared_libs: [
590 "libartd-compiler",
591 "libvixld-arm",
592 "libvixld-arm64",
593 ],
594}
595
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700596subdirs = [
597 "openjdkjvm",
598 "openjdkjvmti",
599 "simulator",
600]