Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 1 | // |
| 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 | |
David Sehr | 8c0961f | 2018-01-23 16:11:38 -0800 | [diff] [blame] | 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. |
David Srbecky | 440a9b3 | 2018-02-15 17:47:29 +0000 | [diff] [blame] | 21 | JIT_DEBUG_REGISTER_CODE_LDFLAGS = [ |
| 22 | "-Wl,--keep-unique,__jit_debug_register_code", |
| 23 | "-Wl,--keep-unique,__dex_debug_register_code" |
| 24 | ] |
David Sehr | 8c0961f | 2018-01-23 16:11:38 -0800 | [diff] [blame] | 25 | |
David Sehr | 013fd80 | 2018-01-11 22:55:24 -0800 | [diff] [blame] | 26 | cc_defaults { |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 27 | name: "libart_defaults", |
| 28 | defaults: ["art_defaults"], |
| 29 | host_supported: true, |
| 30 | srcs: [ |
Chang Xing | 605fe24 | 2017-07-20 15:57:21 -0700 | [diff] [blame] | 31 | "aot_class_linker.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 32 | "art_field.cc", |
| 33 | "art_method.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 34 | "barrier.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 35 | "base/arena_allocator.cc", |
| 36 | "base/arena_bit_vector.cc", |
David Sehr | 891a50e | 2017-10-27 17:01:07 -0700 | [diff] [blame] | 37 | "base/file_utils.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 38 | "base/mutex.cc", |
David Sehr | c431b9d | 2018-03-02 12:01:51 -0800 | [diff] [blame] | 39 | "base/quasi_atomic.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 40 | "base/scoped_arena_allocator.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 41 | "base/timing_logger.cc", |
Mingyao Yang | 063fc77 | 2016-08-02 11:02:54 -0700 | [diff] [blame] | 42 | "cha.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 43 | "check_jni.cc", |
| 44 | "class_linker.cc", |
Calin Juravle | 87e2cb6 | 2017-06-13 21:48:45 -0700 | [diff] [blame] | 45 | "class_loader_context.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 46 | "class_table.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 47 | "common_throws.cc", |
| 48 | "compiler_filter.cc", |
Vladimir Marko | 606adb3 | 2018-04-05 14:49:24 +0100 | [diff] [blame^] | 49 | "debug_print.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 50 | "debugger.cc", |
David Sehr | 334b9d7 | 2018-02-12 18:27:56 -0800 | [diff] [blame] | 51 | "dex/art_dex_file_loader.cc", |
David Sehr | 9e734c7 | 2018-01-04 17:56:19 -0800 | [diff] [blame] | 52 | "dex/dex_file_annotations.cc", |
Nicolas Geoffray | 4e868fa | 2017-04-21 17:16:44 +0100 | [diff] [blame] | 53 | "dex_to_dex_decompiler.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 54 | "elf_file.cc", |
David Sehr | 97c381e | 2017-02-01 15:09:58 -0800 | [diff] [blame] | 55 | "exec_utils.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 56 | "fault_handler.cc", |
| 57 | "gc/allocation_record.cc", |
| 58 | "gc/allocator/dlmalloc.cc", |
| 59 | "gc/allocator/rosalloc.cc", |
| 60 | "gc/accounting/bitmap.cc", |
| 61 | "gc/accounting/card_table.cc", |
| 62 | "gc/accounting/heap_bitmap.cc", |
| 63 | "gc/accounting/mod_union_table.cc", |
| 64 | "gc/accounting/remembered_set.cc", |
| 65 | "gc/accounting/space_bitmap.cc", |
| 66 | "gc/collector/concurrent_copying.cc", |
| 67 | "gc/collector/garbage_collector.cc", |
| 68 | "gc/collector/immune_region.cc", |
| 69 | "gc/collector/immune_spaces.cc", |
| 70 | "gc/collector/mark_compact.cc", |
| 71 | "gc/collector/mark_sweep.cc", |
| 72 | "gc/collector/partial_mark_sweep.cc", |
| 73 | "gc/collector/semi_space.cc", |
| 74 | "gc/collector/sticky_mark_sweep.cc", |
| 75 | "gc/gc_cause.cc", |
| 76 | "gc/heap.cc", |
| 77 | "gc/reference_processor.cc", |
| 78 | "gc/reference_queue.cc", |
| 79 | "gc/scoped_gc_critical_section.cc", |
| 80 | "gc/space/bump_pointer_space.cc", |
| 81 | "gc/space/dlmalloc_space.cc", |
| 82 | "gc/space/image_space.cc", |
| 83 | "gc/space/large_object_space.cc", |
| 84 | "gc/space/malloc_space.cc", |
| 85 | "gc/space/region_space.cc", |
| 86 | "gc/space/rosalloc_space.cc", |
| 87 | "gc/space/space.cc", |
| 88 | "gc/space/zygote_space.cc", |
| 89 | "gc/task_processor.cc", |
Mathieu Chartier | 1ca6890 | 2017-04-18 11:26:22 -0700 | [diff] [blame] | 90 | "gc/verification.cc", |
Andreas Gampe | aa12001 | 2018-03-28 16:23:24 -0700 | [diff] [blame] | 91 | "hidden_api.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 92 | "hprof/hprof.cc", |
| 93 | "image.cc", |
Vladimir Marko | f3c52b4 | 2017-11-17 17:32:12 +0000 | [diff] [blame] | 94 | "index_bss_mapping.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 95 | "indirect_reference_table.cc", |
| 96 | "instrumentation.cc", |
| 97 | "intern_table.cc", |
| 98 | "interpreter/interpreter.cc", |
| 99 | "interpreter/interpreter_common.cc", |
buzbee | 78f1bdc | 2017-03-01 10:55:57 -0800 | [diff] [blame] | 100 | "interpreter/interpreter_intrinsics.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 101 | "interpreter/interpreter_switch_impl.cc", |
Andreas Gampe | 36a296f | 2017-06-13 14:11:11 -0700 | [diff] [blame] | 102 | "interpreter/lock_count_data.cc", |
| 103 | "interpreter/shadow_frame.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 104 | "interpreter/unstarted_runtime.cc", |
Andreas Gampe | 36a296f | 2017-06-13 14:11:11 -0700 | [diff] [blame] | 105 | "java_frame_root_info.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 106 | "java_vm_ext.cc", |
| 107 | "jdwp/jdwp_event.cc", |
| 108 | "jdwp/jdwp_expand_buf.cc", |
| 109 | "jdwp/jdwp_handler.cc", |
| 110 | "jdwp/jdwp_main.cc", |
| 111 | "jdwp/jdwp_request.cc", |
| 112 | "jdwp/jdwp_socket.cc", |
| 113 | "jdwp/object_registry.cc", |
| 114 | "jni_env_ext.cc", |
| 115 | "jit/debugger_interface.cc", |
| 116 | "jit/jit.cc", |
| 117 | "jit/jit_code_cache.cc", |
Calin Juravle | 33083d6 | 2017-01-18 15:29:12 -0800 | [diff] [blame] | 118 | "jit/profile_compilation_info.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 119 | "jit/profiling_info.cc", |
| 120 | "jit/profile_saver.cc", |
| 121 | "jni_internal.cc", |
| 122 | "jobject_comparator.cc", |
| 123 | "linear_alloc.cc", |
Andreas Gampe | 513061a | 2017-06-01 09:17:34 -0700 | [diff] [blame] | 124 | "managed_stack.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 125 | "mem_map.cc", |
| 126 | "memory_region.cc", |
Orion Hodson | ba28f9f | 2016-10-26 10:56:25 +0100 | [diff] [blame] | 127 | "method_handles.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 128 | "mirror/array.cc", |
Orion Hodson | c069a30 | 2017-01-18 09:23:12 +0000 | [diff] [blame] | 129 | "mirror/call_site.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 130 | "mirror/class.cc", |
Alex Light | d625158 | 2016-10-31 11:12:30 -0700 | [diff] [blame] | 131 | "mirror/class_ext.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 132 | "mirror/dex_cache.cc", |
Narayan Kamath | 000e188 | 2016-10-24 17:14:25 +0100 | [diff] [blame] | 133 | "mirror/emulated_stack_frame.cc", |
Neil Fuller | 0e84439 | 2016-09-08 13:43:31 +0100 | [diff] [blame] | 134 | "mirror/executable.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 135 | "mirror/field.cc", |
| 136 | "mirror/method.cc", |
Narayan Kamath | afa4827 | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 137 | "mirror/method_handle_impl.cc", |
Orion Hodson | c069a30 | 2017-01-18 09:23:12 +0000 | [diff] [blame] | 138 | "mirror/method_handles_lookup.cc", |
Narayan Kamath | afa4827 | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 139 | "mirror/method_type.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 140 | "mirror/object.cc", |
| 141 | "mirror/reference.cc", |
| 142 | "mirror/stack_trace_element.cc", |
| 143 | "mirror/string.cc", |
| 144 | "mirror/throwable.cc", |
Orion Hodson | 005ac51 | 2017-10-24 15:43:43 +0100 | [diff] [blame] | 145 | "mirror/var_handle.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 146 | "monitor.cc", |
| 147 | "native_bridge_art_interface.cc", |
| 148 | "native_stack_dump.cc", |
| 149 | "native/dalvik_system_DexFile.cc", |
| 150 | "native/dalvik_system_VMDebug.cc", |
| 151 | "native/dalvik_system_VMRuntime.cc", |
| 152 | "native/dalvik_system_VMStack.cc", |
| 153 | "native/dalvik_system_ZygoteHooks.cc", |
| 154 | "native/java_lang_Class.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 155 | "native/java_lang_Object.cc", |
| 156 | "native/java_lang_String.cc", |
| 157 | "native/java_lang_StringFactory.cc", |
| 158 | "native/java_lang_System.cc", |
| 159 | "native/java_lang_Thread.cc", |
| 160 | "native/java_lang_Throwable.cc", |
| 161 | "native/java_lang_VMClassLoader.cc", |
Narayan Kamath | bd2fed5 | 2017-01-25 10:46:54 +0000 | [diff] [blame] | 162 | "native/java_lang_invoke_MethodHandleImpl.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 163 | "native/java_lang_ref_FinalizerReference.cc", |
| 164 | "native/java_lang_ref_Reference.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 165 | "native/java_lang_reflect_Array.cc", |
| 166 | "native/java_lang_reflect_Constructor.cc", |
Neil Fuller | 0e84439 | 2016-09-08 13:43:31 +0100 | [diff] [blame] | 167 | "native/java_lang_reflect_Executable.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 168 | "native/java_lang_reflect_Field.cc", |
| 169 | "native/java_lang_reflect_Method.cc", |
Neil Fuller | 60458a0 | 2016-09-01 15:32:44 +0100 | [diff] [blame] | 170 | "native/java_lang_reflect_Parameter.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 171 | "native/java_lang_reflect_Proxy.cc", |
| 172 | "native/java_util_concurrent_atomic_AtomicLong.cc", |
| 173 | "native/libcore_util_CharsetUtils.cc", |
| 174 | "native/org_apache_harmony_dalvik_ddmc_DdmServer.cc", |
| 175 | "native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc", |
| 176 | "native/sun_misc_Unsafe.cc", |
Alex Light | e77b48b | 2017-02-22 11:08:06 -0800 | [diff] [blame] | 177 | "non_debuggable_classes.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 178 | "oat.cc", |
| 179 | "oat_file.cc", |
| 180 | "oat_file_assistant.cc", |
| 181 | "oat_file_manager.cc", |
| 182 | "oat_quick_method_header.cc", |
| 183 | "object_lock.cc", |
| 184 | "offsets.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 185 | "parsed_options.cc", |
| 186 | "plugin.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 187 | "quick_exception_handler.cc", |
Andreas Gampe | aea05c1 | 2017-05-19 08:45:02 -0700 | [diff] [blame] | 188 | "read_barrier.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 189 | "reference_table.cc", |
| 190 | "reflection.cc", |
| 191 | "runtime.cc", |
Andreas Gampe | 04bbb5b | 2017-01-19 17:49:03 +0000 | [diff] [blame] | 192 | "runtime_callbacks.cc", |
Roland Levillain | 21482ad | 2017-01-19 20:04:27 +0000 | [diff] [blame] | 193 | "runtime_common.cc", |
Orion Hodson | 26ef34c | 2017-11-01 13:32:41 +0000 | [diff] [blame] | 194 | "runtime_intrinsics.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 195 | "runtime_options.cc", |
Andreas Gampe | c15a2f4 | 2017-04-21 12:09:39 -0700 | [diff] [blame] | 196 | "scoped_thread_state_change.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 197 | "signal_catcher.cc", |
| 198 | "stack.cc", |
| 199 | "stack_map.cc", |
| 200 | "thread.cc", |
| 201 | "thread_list.cc", |
| 202 | "thread_pool.cc", |
| 203 | "ti/agent.cc", |
| 204 | "trace.cc", |
| 205 | "transaction.cc", |
| 206 | "type_lookup_table.cc", |
David Brazdil | 7b49e6c | 2016-09-01 11:06:18 +0100 | [diff] [blame] | 207 | "vdex_file.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 208 | "verifier/instruction_flags.cc", |
| 209 | "verifier/method_verifier.cc", |
| 210 | "verifier/reg_type.cc", |
| 211 | "verifier/reg_type_cache.cc", |
| 212 | "verifier/register_line.cc", |
David Brazdil | ca3c8c3 | 2016-09-06 14:04:48 +0100 | [diff] [blame] | 213 | "verifier/verifier_deps.cc", |
Andreas Gampe | 90b936d | 2017-01-31 08:58:55 -0800 | [diff] [blame] | 214 | "verify_object.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 215 | "well_known_classes.cc", |
| 216 | "zip_archive.cc", |
| 217 | |
| 218 | "arch/context.cc", |
| 219 | "arch/instruction_set.cc", |
| 220 | "arch/instruction_set_features.cc", |
| 221 | "arch/memcmp16.cc", |
| 222 | "arch/arm/instruction_set_features_arm.cc", |
| 223 | "arch/arm/registers_arm.cc", |
| 224 | "arch/arm64/instruction_set_features_arm64.cc", |
| 225 | "arch/arm64/registers_arm64.cc", |
| 226 | "arch/mips/instruction_set_features_mips.cc", |
| 227 | "arch/mips/registers_mips.cc", |
| 228 | "arch/mips64/instruction_set_features_mips64.cc", |
| 229 | "arch/mips64/registers_mips64.cc", |
| 230 | "arch/x86/instruction_set_features_x86.cc", |
| 231 | "arch/x86/registers_x86.cc", |
| 232 | "arch/x86_64/registers_x86_64.cc", |
| 233 | "entrypoints/entrypoint_utils.cc", |
| 234 | "entrypoints/jni/jni_entrypoints.cc", |
| 235 | "entrypoints/math_entrypoints.cc", |
| 236 | "entrypoints/quick/quick_alloc_entrypoints.cc", |
| 237 | "entrypoints/quick/quick_cast_entrypoints.cc", |
| 238 | "entrypoints/quick/quick_deoptimization_entrypoints.cc", |
| 239 | "entrypoints/quick/quick_dexcache_entrypoints.cc", |
Serban Constantinescu | da8ffec | 2016-03-09 12:02:11 +0000 | [diff] [blame] | 240 | "entrypoints/quick/quick_entrypoints_enum.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 241 | "entrypoints/quick/quick_field_entrypoints.cc", |
| 242 | "entrypoints/quick/quick_fillarray_entrypoints.cc", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 243 | "entrypoints/quick/quick_jni_entrypoints.cc", |
| 244 | "entrypoints/quick/quick_lock_entrypoints.cc", |
| 245 | "entrypoints/quick/quick_math_entrypoints.cc", |
| 246 | "entrypoints/quick/quick_thread_entrypoints.cc", |
| 247 | "entrypoints/quick/quick_throw_entrypoints.cc", |
| 248 | "entrypoints/quick/quick_trampoline_entrypoints.cc", |
| 249 | ], |
| 250 | |
| 251 | arch: { |
| 252 | arm: { |
| 253 | clang_asflags: ["-no-integrated-as"], |
| 254 | srcs: [ |
| 255 | "interpreter/mterp/mterp.cc", |
| 256 | "interpreter/mterp/out/mterp_arm.S", |
| 257 | "arch/arm/context_arm.cc", |
| 258 | "arch/arm/entrypoints_init_arm.cc", |
| 259 | "arch/arm/instruction_set_features_assembly_tests.S", |
| 260 | "arch/arm/jni_entrypoints_arm.S", |
| 261 | "arch/arm/memcmp16_arm.S", |
| 262 | "arch/arm/quick_entrypoints_arm.S", |
| 263 | "arch/arm/quick_entrypoints_cc_arm.cc", |
| 264 | "arch/arm/thread_arm.cc", |
| 265 | "arch/arm/fault_handler_arm.cc", |
| 266 | ], |
| 267 | }, |
| 268 | arm64: { |
| 269 | srcs: [ |
| 270 | "interpreter/mterp/mterp.cc", |
| 271 | "interpreter/mterp/out/mterp_arm64.S", |
| 272 | "arch/arm64/context_arm64.cc", |
| 273 | "arch/arm64/entrypoints_init_arm64.cc", |
| 274 | "arch/arm64/jni_entrypoints_arm64.S", |
| 275 | "arch/arm64/memcmp16_arm64.S", |
| 276 | "arch/arm64/quick_entrypoints_arm64.S", |
| 277 | "arch/arm64/thread_arm64.cc", |
| 278 | "monitor_pool.cc", |
| 279 | "arch/arm64/fault_handler_arm64.cc", |
| 280 | ], |
| 281 | }, |
| 282 | x86: { |
| 283 | srcs: [ |
| 284 | "interpreter/mterp/mterp.cc", |
| 285 | "interpreter/mterp/out/mterp_x86.S", |
| 286 | "arch/x86/context_x86.cc", |
| 287 | "arch/x86/entrypoints_init_x86.cc", |
| 288 | "arch/x86/jni_entrypoints_x86.S", |
| 289 | "arch/x86/memcmp16_x86.S", |
| 290 | "arch/x86/quick_entrypoints_x86.S", |
| 291 | "arch/x86/thread_x86.cc", |
| 292 | "arch/x86/fault_handler_x86.cc", |
| 293 | ], |
| 294 | }, |
| 295 | x86_64: { |
| 296 | srcs: [ |
| 297 | // Note that the fault_handler_x86.cc is not a mistake. This file is |
| 298 | // shared between the x86 and x86_64 architectures. |
| 299 | "interpreter/mterp/mterp.cc", |
| 300 | "interpreter/mterp/out/mterp_x86_64.S", |
| 301 | "arch/x86_64/context_x86_64.cc", |
| 302 | "arch/x86_64/entrypoints_init_x86_64.cc", |
| 303 | "arch/x86_64/jni_entrypoints_x86_64.S", |
| 304 | "arch/x86_64/memcmp16_x86_64.S", |
| 305 | "arch/x86_64/quick_entrypoints_x86_64.S", |
| 306 | "arch/x86_64/thread_x86_64.cc", |
| 307 | "monitor_pool.cc", |
| 308 | "arch/x86/fault_handler_x86.cc", |
| 309 | ], |
| 310 | }, |
| 311 | mips: { |
| 312 | srcs: [ |
| 313 | "interpreter/mterp/mterp.cc", |
| 314 | "interpreter/mterp/out/mterp_mips.S", |
| 315 | "arch/mips/context_mips.cc", |
| 316 | "arch/mips/entrypoints_init_mips.cc", |
| 317 | "arch/mips/jni_entrypoints_mips.S", |
| 318 | "arch/mips/memcmp16_mips.S", |
| 319 | "arch/mips/quick_entrypoints_mips.S", |
| 320 | "arch/mips/thread_mips.cc", |
| 321 | "arch/mips/fault_handler_mips.cc", |
| 322 | ], |
| 323 | }, |
| 324 | mips64: { |
| 325 | srcs: [ |
| 326 | "interpreter/mterp/mterp.cc", |
| 327 | "interpreter/mterp/out/mterp_mips64.S", |
| 328 | "arch/mips64/context_mips64.cc", |
| 329 | "arch/mips64/entrypoints_init_mips64.cc", |
| 330 | "arch/mips64/jni_entrypoints_mips64.S", |
| 331 | "arch/mips64/memcmp16_mips64.S", |
| 332 | "arch/mips64/quick_entrypoints_mips64.S", |
| 333 | "arch/mips64/thread_mips64.cc", |
| 334 | "monitor_pool.cc", |
| 335 | "arch/mips64/fault_handler_mips64.cc", |
| 336 | ], |
| 337 | }, |
| 338 | }, |
| 339 | target: { |
| 340 | android: { |
| 341 | srcs: [ |
| 342 | "jdwp/jdwp_adb.cc", |
| 343 | "monitor_android.cc", |
| 344 | "runtime_android.cc", |
| 345 | "thread_android.cc", |
| 346 | ], |
| 347 | shared_libs: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 348 | // For android::FileMap used by libziparchive. |
| 349 | "libutils", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 350 | "libtombstoned_client", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 351 | ], |
| 352 | static_libs: [ |
| 353 | // ZipArchive support, the order matters here to get all symbols. |
| 354 | "libziparchive", |
| 355 | "libz", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 356 | ], |
| 357 | }, |
| 358 | android_arm: { |
| 359 | ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS, |
| 360 | }, |
| 361 | android_arm64: { |
| 362 | ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS, |
| 363 | }, |
| 364 | android_x86: { |
| 365 | ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS, |
| 366 | }, |
| 367 | android_x86_64: { |
| 368 | ldflags: JIT_DEBUG_REGISTER_CODE_LDFLAGS, |
| 369 | }, |
| 370 | host: { |
| 371 | srcs: [ |
| 372 | "monitor_linux.cc", |
| 373 | "runtime_linux.cc", |
| 374 | "thread_linux.cc", |
| 375 | ], |
| 376 | shared_libs: [ |
| 377 | "libziparchive", |
Dan Willemsen | 0e503b5 | 2017-09-27 16:05:49 -0700 | [diff] [blame] | 378 | "libz", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 379 | ], |
| 380 | }, |
| 381 | }, |
| 382 | cflags: ["-DBUILDING_LIBART=1"], |
| 383 | generated_sources: ["art_operator_srcs"], |
Igor Murashkin | 2bb70d3 | 2017-02-06 10:34:14 -0800 | [diff] [blame] | 384 | // asm_support_gen.h (used by asm_support.h) is generated with cpp-define-generator |
| 385 | generated_headers: ["cpp-define-generator-asm-support"], |
| 386 | // export our headers so the libart-gtest targets can use it as well. |
| 387 | export_generated_headers: ["cpp-define-generator-asm-support"], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 388 | include_dirs: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 389 | "art/sigchainlib", |
Andreas Gampe | fdb7a61 | 2017-11-01 15:11:13 -0700 | [diff] [blame] | 390 | "external/icu/icu4c/source/common", |
Andreas Gampe | f24dfb0 | 2017-11-01 15:41:25 -0700 | [diff] [blame] | 391 | "external/lz4/lib", |
Andreas Gampe | 238e8fc | 2017-11-01 17:10:10 -0700 | [diff] [blame] | 392 | "external/zlib", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 393 | ], |
Andreas Gampe | 3157fc2 | 2017-08-23 09:43:46 -0700 | [diff] [blame] | 394 | header_libs: [ |
| 395 | "art_cmdlineparser_headers", |
Andreas Gampe | 373a9b5 | 2017-10-18 09:01:57 -0700 | [diff] [blame] | 396 | "libnativehelper_header_only", |
Andreas Gampe | d863be7 | 2017-09-12 12:02:28 -0700 | [diff] [blame] | 397 | "jni_platform_headers", |
Andreas Gampe | 3157fc2 | 2017-08-23 09:43:46 -0700 | [diff] [blame] | 398 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 399 | shared_libs: [ |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 400 | "libnativebridge", |
| 401 | "libnativeloader", |
| 402 | "libbacktrace", |
| 403 | "liblz4", |
Dimitry Ivanov | 1d3038f | 2016-09-23 16:52:05 -0700 | [diff] [blame] | 404 | "liblog", |
| 405 | // For atrace, properties, ashmem, set_sched_policy and socket_peer_is_trusted. |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 406 | "libcutils", |
Andreas Gampe | aaadff8 | 2016-08-29 09:53:48 -0700 | [diff] [blame] | 407 | // For common macros. |
| 408 | "libbase", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 409 | ], |
| 410 | static: { |
| 411 | static_libs: ["libsigchain_dummy"], |
| 412 | }, |
| 413 | shared: { |
| 414 | shared_libs: ["libsigchain"], |
| 415 | }, |
| 416 | export_include_dirs: ["."], |
Andreas Gampe | aaadff8 | 2016-08-29 09:53:48 -0700 | [diff] [blame] | 417 | // ART's macros.h depends on libbase's macros.h. |
Andreas Gampe | 3157fc2 | 2017-08-23 09:43:46 -0700 | [diff] [blame] | 418 | // Note: runtime_options.h depends on cmdline. But we don't really want to export this |
| 419 | // generically. dex2oat takes care of it itself. |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 420 | export_shared_lib_headers: ["libbase"], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 421 | } |
| 422 | |
| 423 | gensrcs { |
| 424 | name: "art_operator_srcs", |
Alex Light | b69d2d3 | 2018-02-21 13:37:17 -0800 | [diff] [blame] | 425 | cmd: "$(location generate_operator_out) art/runtime $(in) > $(out)", |
| 426 | tools: ["generate_operator_out"], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 427 | srcs: [ |
| 428 | "arch/instruction_set.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 429 | "base/mutex.h", |
Andreas Gampe | ee5303f | 2017-08-31 15:34:42 -0700 | [diff] [blame] | 430 | "class_status.h", |
David Sehr | 334b9d7 | 2018-02-12 18:27:56 -0800 | [diff] [blame] | 431 | "debugger.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 432 | "gc_root.h", |
| 433 | "gc/allocator_type.h", |
| 434 | "gc/allocator/rosalloc.h", |
| 435 | "gc/collector_type.h", |
| 436 | "gc/collector/gc_type.h", |
| 437 | "gc/heap.h", |
| 438 | "gc/space/region_space.h", |
| 439 | "gc/space/space.h", |
| 440 | "gc/weak_root_state.h", |
| 441 | "image.h", |
| 442 | "instrumentation.h", |
| 443 | "indirect_reference_table.h", |
Alex Light | 4032071 | 2017-12-14 11:52:04 -0800 | [diff] [blame] | 444 | "jdwp_provider.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 445 | "jdwp/jdwp.h", |
| 446 | "jdwp/jdwp_constants.h", |
| 447 | "lock_word.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 448 | "oat.h", |
| 449 | "object_callbacks.h", |
| 450 | "process_state.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 451 | "stack.h", |
Alex Light | 46f9340 | 2017-06-29 11:59:50 -0700 | [diff] [blame] | 452 | "suspend_reason.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 453 | "thread.h", |
| 454 | "thread_state.h", |
| 455 | "ti/agent.h", |
Andreas Gampe | 6d7abbd | 2017-04-24 13:19:09 -0700 | [diff] [blame] | 456 | "verifier/verifier_enums.h", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 457 | ], |
| 458 | output_extension: "operator_out.cc", |
| 459 | } |
| 460 | |
| 461 | // We always build dex2oat and dependencies, even if the host build is otherwise disabled, since |
| 462 | // they are used to cross compile for the target. |
| 463 | |
| 464 | art_cc_library { |
| 465 | name: "libart", |
| 466 | defaults: ["libart_defaults"], |
Andreas Gampe | 20ada11 | 2016-08-29 08:51:15 -0700 | [diff] [blame] | 467 | // Leave the symbols in the shared library so that stack unwinders can |
| 468 | // produce meaningful name resolution. |
| 469 | strip: { |
| 470 | keep_symbols: true, |
| 471 | }, |
David Sehr | c431b9d | 2018-03-02 12:01:51 -0800 | [diff] [blame] | 472 | whole_static_libs: [ |
| 473 | "libartbase", |
| 474 | ], |
| 475 | shared_libs: [ |
| 476 | "libdexfile", |
| 477 | ], |
| 478 | export_shared_lib_headers: [ |
| 479 | "libdexfile", |
| 480 | ], |
Yi Kong | fd8bb93 | 2018-03-12 16:52:57 -0700 | [diff] [blame] | 481 | target: { |
| 482 | android: { |
| 483 | lto: { |
| 484 | thin: true, |
| 485 | }, |
| 486 | }, |
| 487 | }, |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 488 | } |
| 489 | |
| 490 | art_cc_library { |
| 491 | name: "libartd", |
| 492 | defaults: [ |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 493 | "art_debug_defaults", |
| 494 | "libart_defaults", |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 495 | ], |
David Sehr | c431b9d | 2018-03-02 12:01:51 -0800 | [diff] [blame] | 496 | whole_static_libs: [ |
| 497 | "libartbased", |
| 498 | ], |
| 499 | shared_libs: [ |
| 500 | "libdexfiled", |
| 501 | ], |
| 502 | export_shared_lib_headers: [ |
| 503 | "libdexfiled", |
| 504 | ], |
Colin Cross | 1f7f3bd | 2016-07-27 10:12:38 -0700 | [diff] [blame] | 505 | } |
| 506 | |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 507 | art_cc_library { |
| 508 | name: "libart-runtime-gtest", |
| 509 | defaults: ["libart-gtest-defaults"], |
Calin Juravle | 36eb313 | 2017-01-13 16:32:38 -0800 | [diff] [blame] | 510 | srcs: [ |
| 511 | "common_runtime_test.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 512 | "dexopt_test.cc", |
Calin Juravle | 36eb313 | 2017-01-13 16:32:38 -0800 | [diff] [blame] | 513 | ], |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 514 | shared_libs: [ |
| 515 | "libartd", |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 516 | "libbase", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 517 | "libbacktrace", |
Andreas Gampe | 373a9b5 | 2017-10-18 09:01:57 -0700 | [diff] [blame] | 518 | ], |
| 519 | header_libs: [ |
| 520 | "libnativehelper_header_only", |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 521 | ], |
Andreas Gampe | fdb7a61 | 2017-11-01 15:11:13 -0700 | [diff] [blame] | 522 | include_dirs: [ |
| 523 | "external/icu/icu4c/source/common", |
| 524 | ], |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 525 | } |
| 526 | |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 527 | art_cc_test { |
| 528 | name: "art_runtime_tests", |
| 529 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 530 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 531 | ], |
| 532 | srcs: [ |
| 533 | "arch/arch_test.cc", |
| 534 | "arch/instruction_set_test.cc", |
| 535 | "arch/instruction_set_features_test.cc", |
| 536 | "arch/memcmp16_test.cc", |
| 537 | "arch/stub_test.cc", |
| 538 | "arch/arm/instruction_set_features_arm_test.cc", |
| 539 | "arch/arm64/instruction_set_features_arm64_test.cc", |
| 540 | "arch/mips/instruction_set_features_mips_test.cc", |
| 541 | "arch/mips64/instruction_set_features_mips64_test.cc", |
| 542 | "arch/x86/instruction_set_features_x86_test.cc", |
| 543 | "arch/x86_64/instruction_set_features_x86_64_test.cc", |
| 544 | "barrier_test.cc", |
| 545 | "base/arena_allocator_test.cc", |
David Sehr | b2ec9f5 | 2018-02-21 13:20:31 -0800 | [diff] [blame] | 546 | "base/file_utils_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 547 | "base/mutex_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 548 | "base/timing_logger_test.cc", |
Mingyao Yang | 063fc77 | 2016-08-02 11:02:54 -0700 | [diff] [blame] | 549 | "cha_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 550 | "class_linker_test.cc", |
Calin Juravle | 87e2cb6 | 2017-06-13 21:48:45 -0700 | [diff] [blame] | 551 | "class_loader_context_test.cc", |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 552 | "class_table_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 553 | "compiler_filter_test.cc", |
David Sehr | 139512d | 2018-02-08 15:44:50 -0800 | [diff] [blame] | 554 | "dex/art_dex_file_loader_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 555 | "entrypoints/math_entrypoints_test.cc", |
| 556 | "entrypoints/quick/quick_trampoline_entrypoints_test.cc", |
| 557 | "entrypoints_order_test.cc", |
David Sehr | b2ec9f5 | 2018-02-21 13:20:31 -0800 | [diff] [blame] | 558 | "exec_utils_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 559 | "gc/accounting/card_table_test.cc", |
| 560 | "gc/accounting/mod_union_table_test.cc", |
| 561 | "gc/accounting/space_bitmap_test.cc", |
| 562 | "gc/collector/immune_spaces_test.cc", |
| 563 | "gc/heap_test.cc", |
Mathieu Chartier | 1ca6890 | 2017-04-18 11:26:22 -0700 | [diff] [blame] | 564 | "gc/heap_verification_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 565 | "gc/reference_queue_test.cc", |
| 566 | "gc/space/dlmalloc_space_static_test.cc", |
| 567 | "gc/space/dlmalloc_space_random_test.cc", |
Richard Uhler | 84f50ae | 2017-02-06 15:12:45 +0000 | [diff] [blame] | 568 | "gc/space/image_space_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 569 | "gc/space/large_object_space_test.cc", |
| 570 | "gc/space/rosalloc_space_static_test.cc", |
| 571 | "gc/space/rosalloc_space_random_test.cc", |
| 572 | "gc/space/space_create_test.cc", |
| 573 | "gc/system_weak_test.cc", |
| 574 | "gc/task_processor_test.cc", |
| 575 | "gtest_test.cc", |
| 576 | "handle_scope_test.cc", |
Mathew Inwood | 7d74ef5 | 2018-03-16 14:18:33 +0000 | [diff] [blame] | 577 | "hidden_api_test.cc", |
Andreas Gampe | a1ff30f | 2016-09-27 12:19:45 -0700 | [diff] [blame] | 578 | "imtable_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 579 | "indenter_test.cc", |
| 580 | "indirect_reference_table_test.cc", |
| 581 | "instrumentation_test.cc", |
| 582 | "intern_table_test.cc", |
| 583 | "interpreter/safe_math_test.cc", |
| 584 | "interpreter/unstarted_runtime_test.cc", |
Alex Light | 4032071 | 2017-12-14 11:52:04 -0800 | [diff] [blame] | 585 | "jdwp/jdwp_options_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 586 | "java_vm_ext_test.cc", |
| 587 | "jit/profile_compilation_info_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 588 | "mem_map_test.cc", |
| 589 | "memory_region_test.cc", |
Orion Hodson | c1d3bac | 2018-01-26 14:38:55 +0000 | [diff] [blame] | 590 | "method_handles_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 591 | "mirror/dex_cache_test.cc", |
Narayan Kamath | afa4827 | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 592 | "mirror/method_type_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 593 | "mirror/object_test.cc", |
Orion Hodson | 005ac51 | 2017-10-24 15:43:43 +0100 | [diff] [blame] | 594 | "mirror/var_handle_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 595 | "monitor_pool_test.cc", |
| 596 | "monitor_test.cc", |
| 597 | "oat_file_test.cc", |
| 598 | "oat_file_assistant_test.cc", |
| 599 | "parsed_options_test.cc", |
| 600 | "prebuilt_tools_test.cc", |
| 601 | "reference_table_test.cc", |
Andreas Gampe | 04bbb5b | 2017-01-19 17:49:03 +0000 | [diff] [blame] | 602 | "runtime_callbacks_test.cc", |
Igor Murashkin | f31a00c | 2017-10-27 10:52:07 -0700 | [diff] [blame] | 603 | "subtype_check_info_test.cc", |
Igor Murashkin | 495e783 | 2017-10-27 10:56:20 -0700 | [diff] [blame] | 604 | "subtype_check_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 605 | "thread_pool_test.cc", |
| 606 | "transaction_test.cc", |
| 607 | "type_lookup_table_test.cc", |
Richard Uhler | b8ab63a | 2017-01-31 11:27:37 +0000 | [diff] [blame] | 608 | "vdex_file_test.cc", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 609 | "verifier/method_verifier_test.cc", |
| 610 | "verifier/reg_type_test.cc", |
| 611 | "zip_archive_test.cc", |
| 612 | ], |
| 613 | shared_libs: [ |
| 614 | "libbacktrace", |
Calin Juravle | 1e2de64 | 2018-01-18 01:08:23 -0800 | [diff] [blame] | 615 | "libziparchive", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 616 | ], |
Andreas Gampe | 3157fc2 | 2017-08-23 09:43:46 -0700 | [diff] [blame] | 617 | header_libs: [ |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 618 | "art_cmdlineparser_headers", // For parsed_options_test. |
Andreas Gampe | 3157fc2 | 2017-08-23 09:43:46 -0700 | [diff] [blame] | 619 | ], |
Andreas Gampe | 238e8fc | 2017-11-01 17:10:10 -0700 | [diff] [blame] | 620 | include_dirs: [ |
| 621 | "external/zlib", |
| 622 | ], |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 623 | } |
| 624 | |
| 625 | art_cc_test { |
| 626 | name: "art_runtime_compiler_tests", |
| 627 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 628 | "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 629 | ], |
| 630 | srcs: [ |
| 631 | "jni_internal_test.cc", |
| 632 | "proxy_test.cc", |
| 633 | "reflection_test.cc", |
| 634 | ], |
| 635 | shared_libs: [ |
| 636 | "libartd-compiler", |
| 637 | "libvixld-arm", |
| 638 | "libvixld-arm64", |
| 639 | ], |
| 640 | } |
Igor Murashkin | 0ae1532 | 2017-09-14 13:55:06 -0700 | [diff] [blame] | 641 | |
| 642 | cc_library_headers { |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 643 | name: "libart_runtime_headers", |
| 644 | host_supported: true, |
| 645 | export_include_dirs: ["."], |
Igor Murashkin | 0ae1532 | 2017-09-14 13:55:06 -0700 | [diff] [blame] | 646 | } |