blob: 8f961af9ad268330eb572ed718dc4b08b3f8adcc [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",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700123 "mirror/array.cc",
124 "mirror/class.cc",
125 "mirror/dex_cache.cc",
Narayan Kamath000e1882016-10-24 17:14:25 +0100126 "mirror/emulated_stack_frame.cc",
Neil Fuller0e844392016-09-08 13:43:31 +0100127 "mirror/executable.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700128 "mirror/field.cc",
129 "mirror/method.cc",
Narayan Kamathafa48272016-08-03 12:46:58 +0100130 "mirror/method_handle_impl.cc",
131 "mirror/method_type.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700132 "mirror/object.cc",
133 "mirror/reference.cc",
134 "mirror/stack_trace_element.cc",
135 "mirror/string.cc",
136 "mirror/throwable.cc",
137 "monitor.cc",
138 "native_bridge_art_interface.cc",
139 "native_stack_dump.cc",
140 "native/dalvik_system_DexFile.cc",
Orion Hodsona4c2a052016-08-17 10:51:42 +0100141 "native/dalvik_system_InMemoryDexClassLoader_DexData.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700142 "native/dalvik_system_VMDebug.cc",
143 "native/dalvik_system_VMRuntime.cc",
144 "native/dalvik_system_VMStack.cc",
145 "native/dalvik_system_ZygoteHooks.cc",
146 "native/java_lang_Class.cc",
147 "native/java_lang_DexCache.cc",
148 "native/java_lang_Object.cc",
149 "native/java_lang_String.cc",
150 "native/java_lang_StringFactory.cc",
151 "native/java_lang_System.cc",
152 "native/java_lang_Thread.cc",
153 "native/java_lang_Throwable.cc",
154 "native/java_lang_VMClassLoader.cc",
155 "native/java_lang_ref_FinalizerReference.cc",
156 "native/java_lang_ref_Reference.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700157 "native/java_lang_reflect_Array.cc",
158 "native/java_lang_reflect_Constructor.cc",
Neil Fuller0e844392016-09-08 13:43:31 +0100159 "native/java_lang_reflect_Executable.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700160 "native/java_lang_reflect_Field.cc",
161 "native/java_lang_reflect_Method.cc",
Neil Fuller60458a02016-09-01 15:32:44 +0100162 "native/java_lang_reflect_Parameter.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700163 "native/java_lang_reflect_Proxy.cc",
164 "native/java_util_concurrent_atomic_AtomicLong.cc",
165 "native/libcore_util_CharsetUtils.cc",
166 "native/org_apache_harmony_dalvik_ddmc_DdmServer.cc",
167 "native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc",
168 "native/sun_misc_Unsafe.cc",
169 "oat.cc",
170 "oat_file.cc",
171 "oat_file_assistant.cc",
172 "oat_file_manager.cc",
173 "oat_quick_method_header.cc",
174 "object_lock.cc",
175 "offsets.cc",
176 "os_linux.cc",
177 "parsed_options.cc",
178 "plugin.cc",
179 "primitive.cc",
180 "quick_exception_handler.cc",
181 "quick/inline_method_analyser.cc",
182 "reference_table.cc",
183 "reflection.cc",
184 "runtime.cc",
185 "runtime_options.cc",
186 "signal_catcher.cc",
187 "stack.cc",
188 "stack_map.cc",
189 "thread.cc",
190 "thread_list.cc",
191 "thread_pool.cc",
192 "ti/agent.cc",
193 "trace.cc",
194 "transaction.cc",
195 "type_lookup_table.cc",
196 "utf.cc",
197 "utils.cc",
David Brazdil7b49e6c2016-09-01 11:06:18 +0100198 "vdex_file.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700199 "verifier/instruction_flags.cc",
200 "verifier/method_verifier.cc",
201 "verifier/reg_type.cc",
202 "verifier/reg_type_cache.cc",
203 "verifier/register_line.cc",
David Brazdilca3c8c32016-09-06 14:04:48 +0100204 "verifier/verifier_deps.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700205 "well_known_classes.cc",
206 "zip_archive.cc",
207
208 "arch/context.cc",
209 "arch/instruction_set.cc",
210 "arch/instruction_set_features.cc",
211 "arch/memcmp16.cc",
212 "arch/arm/instruction_set_features_arm.cc",
213 "arch/arm/registers_arm.cc",
214 "arch/arm64/instruction_set_features_arm64.cc",
215 "arch/arm64/registers_arm64.cc",
216 "arch/mips/instruction_set_features_mips.cc",
217 "arch/mips/registers_mips.cc",
218 "arch/mips64/instruction_set_features_mips64.cc",
219 "arch/mips64/registers_mips64.cc",
220 "arch/x86/instruction_set_features_x86.cc",
221 "arch/x86/registers_x86.cc",
222 "arch/x86_64/registers_x86_64.cc",
223 "entrypoints/entrypoint_utils.cc",
224 "entrypoints/jni/jni_entrypoints.cc",
225 "entrypoints/math_entrypoints.cc",
226 "entrypoints/quick/quick_alloc_entrypoints.cc",
227 "entrypoints/quick/quick_cast_entrypoints.cc",
228 "entrypoints/quick/quick_deoptimization_entrypoints.cc",
229 "entrypoints/quick/quick_dexcache_entrypoints.cc",
Serban Constantinescuda8ffec2016-03-09 12:02:11 +0000230 "entrypoints/quick/quick_entrypoints_enum.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700231 "entrypoints/quick/quick_field_entrypoints.cc",
232 "entrypoints/quick/quick_fillarray_entrypoints.cc",
233 "entrypoints/quick/quick_instrumentation_entrypoints.cc",
234 "entrypoints/quick/quick_jni_entrypoints.cc",
235 "entrypoints/quick/quick_lock_entrypoints.cc",
236 "entrypoints/quick/quick_math_entrypoints.cc",
237 "entrypoints/quick/quick_thread_entrypoints.cc",
238 "entrypoints/quick/quick_throw_entrypoints.cc",
239 "entrypoints/quick/quick_trampoline_entrypoints.cc",
240 ],
241
242 arch: {
243 arm: {
244 clang_asflags: ["-no-integrated-as"],
245 srcs: [
246 "interpreter/mterp/mterp.cc",
247 "interpreter/mterp/out/mterp_arm.S",
248 "arch/arm/context_arm.cc",
249 "arch/arm/entrypoints_init_arm.cc",
250 "arch/arm/instruction_set_features_assembly_tests.S",
251 "arch/arm/jni_entrypoints_arm.S",
252 "arch/arm/memcmp16_arm.S",
253 "arch/arm/quick_entrypoints_arm.S",
254 "arch/arm/quick_entrypoints_cc_arm.cc",
255 "arch/arm/thread_arm.cc",
256 "arch/arm/fault_handler_arm.cc",
257 ],
258 },
259 arm64: {
260 srcs: [
261 "interpreter/mterp/mterp.cc",
262 "interpreter/mterp/out/mterp_arm64.S",
263 "arch/arm64/context_arm64.cc",
264 "arch/arm64/entrypoints_init_arm64.cc",
265 "arch/arm64/jni_entrypoints_arm64.S",
266 "arch/arm64/memcmp16_arm64.S",
267 "arch/arm64/quick_entrypoints_arm64.S",
268 "arch/arm64/thread_arm64.cc",
269 "monitor_pool.cc",
270 "arch/arm64/fault_handler_arm64.cc",
271 ],
272 },
273 x86: {
274 srcs: [
275 "interpreter/mterp/mterp.cc",
276 "interpreter/mterp/out/mterp_x86.S",
277 "arch/x86/context_x86.cc",
278 "arch/x86/entrypoints_init_x86.cc",
279 "arch/x86/jni_entrypoints_x86.S",
280 "arch/x86/memcmp16_x86.S",
281 "arch/x86/quick_entrypoints_x86.S",
282 "arch/x86/thread_x86.cc",
283 "arch/x86/fault_handler_x86.cc",
284 ],
285 },
286 x86_64: {
287 srcs: [
288 // Note that the fault_handler_x86.cc is not a mistake. This file is
289 // shared between the x86 and x86_64 architectures.
290 "interpreter/mterp/mterp.cc",
291 "interpreter/mterp/out/mterp_x86_64.S",
292 "arch/x86_64/context_x86_64.cc",
293 "arch/x86_64/entrypoints_init_x86_64.cc",
294 "arch/x86_64/jni_entrypoints_x86_64.S",
295 "arch/x86_64/memcmp16_x86_64.S",
296 "arch/x86_64/quick_entrypoints_x86_64.S",
297 "arch/x86_64/thread_x86_64.cc",
298 "monitor_pool.cc",
299 "arch/x86/fault_handler_x86.cc",
300 ],
301 },
302 mips: {
303 srcs: [
304 "interpreter/mterp/mterp.cc",
305 "interpreter/mterp/out/mterp_mips.S",
306 "arch/mips/context_mips.cc",
307 "arch/mips/entrypoints_init_mips.cc",
308 "arch/mips/jni_entrypoints_mips.S",
309 "arch/mips/memcmp16_mips.S",
310 "arch/mips/quick_entrypoints_mips.S",
311 "arch/mips/thread_mips.cc",
312 "arch/mips/fault_handler_mips.cc",
313 ],
314 },
315 mips64: {
316 srcs: [
317 "interpreter/mterp/mterp.cc",
318 "interpreter/mterp/out/mterp_mips64.S",
319 "arch/mips64/context_mips64.cc",
320 "arch/mips64/entrypoints_init_mips64.cc",
321 "arch/mips64/jni_entrypoints_mips64.S",
322 "arch/mips64/memcmp16_mips64.S",
323 "arch/mips64/quick_entrypoints_mips64.S",
324 "arch/mips64/thread_mips64.cc",
325 "monitor_pool.cc",
326 "arch/mips64/fault_handler_mips64.cc",
327 ],
328 },
329 },
330 target: {
331 android: {
332 srcs: [
333 "jdwp/jdwp_adb.cc",
334 "monitor_android.cc",
335 "runtime_android.cc",
336 "thread_android.cc",
337 ],
338 shared_libs: [
339 "libdl",
340 // For android::FileMap used by libziparchive.
341 "libutils",
342 ],
343 static_libs: [
344 // ZipArchive support, the order matters here to get all symbols.
345 "libziparchive",
346 "libz",
347 "libbase",
348 ],
349 },
350 android_arm: {
351 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
352 },
353 android_arm64: {
354 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
355 },
356 android_x86: {
357 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
358 },
359 android_x86_64: {
360 ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS,
361 },
362 host: {
363 srcs: [
364 "monitor_linux.cc",
365 "runtime_linux.cc",
366 "thread_linux.cc",
367 ],
368 shared_libs: [
369 "libziparchive",
Colin Cross19f28f12016-08-25 16:42:09 -0700370 "libz-host",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700371 ],
372 },
373 },
374 cflags: ["-DBUILDING_LIBART=1"],
375 generated_sources: ["art_operator_srcs"],
376 clang: true,
377 include_dirs: [
378 "art/cmdline",
379 "art/sigchainlib",
380 "art",
381 ],
382 shared_libs: [
383 "libnativehelper",
384 "libnativebridge",
385 "libnativeloader",
386 "libbacktrace",
387 "liblz4",
Dimitry Ivanov1d3038f2016-09-23 16:52:05 -0700388 "liblog",
389 // For atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted.
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700390 "libcutils",
Andreas Gampeaaadff82016-08-29 09:53:48 -0700391 // For common macros.
392 "libbase",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700393 ],
394 static: {
395 static_libs: ["libsigchain_dummy"],
396 },
397 shared: {
398 shared_libs: ["libsigchain"],
399 },
400 export_include_dirs: ["."],
Andreas Gampeaaadff82016-08-29 09:53:48 -0700401 // ART's macros.h depends on libbase's macros.h.
402 export_shared_lib_headers: ["libbase"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700403}
404
405gensrcs {
406 name: "art_operator_srcs",
407 cmd: "art/tools/generate-operator-out.py art/runtime $in > $out",
408 srcs: [
409 "arch/instruction_set.h",
410 "base/allocator.h",
411 "base/enums.h",
412 "base/mutex.h",
413 "debugger.h",
414 "base/unix_file/fd_file.h",
415 "dex_file.h",
416 "dex_instruction.h",
417 "dex_instruction_utils.h",
418 "gc_root.h",
419 "gc/allocator_type.h",
420 "gc/allocator/rosalloc.h",
421 "gc/collector_type.h",
422 "gc/collector/gc_type.h",
423 "gc/heap.h",
424 "gc/space/region_space.h",
425 "gc/space/space.h",
426 "gc/weak_root_state.h",
427 "image.h",
428 "instrumentation.h",
429 "indirect_reference_table.h",
430 "invoke_type.h",
431 "jdwp/jdwp.h",
432 "jdwp/jdwp_constants.h",
433 "lock_word.h",
434 "mirror/class.h",
435 "oat.h",
436 "object_callbacks.h",
437 "process_state.h",
438 "quick/inline_method_analyser.h",
439 "runtime.h",
440 "stack.h",
441 "thread.h",
442 "thread_state.h",
443 "ti/agent.h",
444 "verifier/method_verifier.h",
445 ],
446 output_extension: "operator_out.cc",
447}
448
449// We always build dex2oat and dependencies, even if the host build is otherwise disabled, since
450// they are used to cross compile for the target.
451
452art_cc_library {
453 name: "libart",
454 defaults: ["libart_defaults"],
Andreas Gampe20ada112016-08-29 08:51:15 -0700455 // Leave the symbols in the shared library so that stack unwinders can
456 // produce meaningful name resolution.
457 strip: {
458 keep_symbols: true,
459 },
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700460}
461
462art_cc_library {
463 name: "libartd",
464 defaults: [
Colin Crossc5644062016-08-30 15:41:08 -0700465 "art_debug_defaults",
466 "libart_defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700467 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700468}
469
Colin Cross6b22aa52016-09-12 14:35:39 -0700470art_cc_library {
471 name: "libart-runtime-gtest",
472 defaults: ["libart-gtest-defaults"],
473 srcs: ["common_runtime_test.cc"],
474 shared_libs: [
475 "libartd",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700476 "libbase",
Colin Cross6b22aa52016-09-12 14:35:39 -0700477 ],
478}
479
Colin Cross6e95dd52016-09-12 15:37:10 -0700480art_cc_test {
481 name: "art_runtime_tests",
482 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700483 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700484 ],
485 srcs: [
486 "arch/arch_test.cc",
487 "arch/instruction_set_test.cc",
488 "arch/instruction_set_features_test.cc",
489 "arch/memcmp16_test.cc",
490 "arch/stub_test.cc",
491 "arch/arm/instruction_set_features_arm_test.cc",
492 "arch/arm64/instruction_set_features_arm64_test.cc",
493 "arch/mips/instruction_set_features_mips_test.cc",
494 "arch/mips64/instruction_set_features_mips64_test.cc",
495 "arch/x86/instruction_set_features_x86_test.cc",
496 "arch/x86_64/instruction_set_features_x86_64_test.cc",
497 "barrier_test.cc",
498 "base/arena_allocator_test.cc",
499 "base/bit_field_test.cc",
500 "base/bit_utils_test.cc",
501 "base/bit_vector_test.cc",
502 "base/hash_set_test.cc",
503 "base/hex_dump_test.cc",
504 "base/histogram_test.cc",
505 "base/mutex_test.cc",
506 "base/scoped_flock_test.cc",
507 "base/stringprintf_test.cc",
508 "base/time_utils_test.cc",
509 "base/timing_logger_test.cc",
510 "base/transform_array_ref_test.cc",
511 "base/transform_iterator_test.cc",
512 "base/variant_map_test.cc",
513 "base/unix_file/fd_file_test.cc",
514 "class_linker_test.cc",
515 "compiler_filter_test.cc",
516 "dex_file_test.cc",
517 "dex_file_verifier_test.cc",
518 "dex_instruction_test.cc",
519 "dex_instruction_visitor_test.cc",
520 "dex_method_iterator_test.cc",
521 "entrypoints/math_entrypoints_test.cc",
522 "entrypoints/quick/quick_trampoline_entrypoints_test.cc",
523 "entrypoints_order_test.cc",
524 "gc/accounting/card_table_test.cc",
525 "gc/accounting/mod_union_table_test.cc",
526 "gc/accounting/space_bitmap_test.cc",
527 "gc/collector/immune_spaces_test.cc",
528 "gc/heap_test.cc",
529 "gc/reference_queue_test.cc",
530 "gc/space/dlmalloc_space_static_test.cc",
531 "gc/space/dlmalloc_space_random_test.cc",
532 "gc/space/large_object_space_test.cc",
533 "gc/space/rosalloc_space_static_test.cc",
534 "gc/space/rosalloc_space_random_test.cc",
535 "gc/space/space_create_test.cc",
536 "gc/system_weak_test.cc",
537 "gc/task_processor_test.cc",
538 "gtest_test.cc",
539 "handle_scope_test.cc",
Andreas Gampea1ff30f2016-09-27 12:19:45 -0700540 "imtable_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700541 "indenter_test.cc",
542 "indirect_reference_table_test.cc",
543 "instrumentation_test.cc",
544 "intern_table_test.cc",
545 "interpreter/safe_math_test.cc",
546 "interpreter/unstarted_runtime_test.cc",
547 "java_vm_ext_test.cc",
548 "jit/profile_compilation_info_test.cc",
549 "leb128_test.cc",
550 "mem_map_test.cc",
551 "memory_region_test.cc",
552 "mirror/dex_cache_test.cc",
Narayan Kamathafa48272016-08-03 12:46:58 +0100553 "mirror/method_type_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700554 "mirror/object_test.cc",
555 "monitor_pool_test.cc",
556 "monitor_test.cc",
557 "oat_file_test.cc",
558 "oat_file_assistant_test.cc",
559 "parsed_options_test.cc",
560 "prebuilt_tools_test.cc",
561 "reference_table_test.cc",
562 "thread_pool_test.cc",
563 "transaction_test.cc",
564 "type_lookup_table_test.cc",
565 "utf_test.cc",
566 "utils_test.cc",
567 "verifier/method_verifier_test.cc",
568 "verifier/reg_type_test.cc",
569 "zip_archive_test.cc",
570 ],
571 shared_libs: [
572 "libbacktrace",
573 ],
574}
575
576art_cc_test {
577 name: "art_runtime_compiler_tests",
578 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700579 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700580 ],
581 srcs: [
582 "jni_internal_test.cc",
583 "proxy_test.cc",
584 "reflection_test.cc",
585 ],
586 shared_libs: [
587 "libartd-compiler",
588 "libvixld-arm",
589 "libvixld-arm64",
590 ],
591}
592
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700593subdirs = [
594 "openjdkjvm",
595 "openjdkjvmti",
596 "simulator",
597]