blob: 40c676c4064f5c2db9a1c39058b02de62b92089b [file] [log] [blame]
Colin Cross1f7f3bd2016-07-27 10:12:38 -07001//
2// Copyright (C) 2012 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// TODO We should really separate out those files that are actually needed for both variants of an
18// architecture into its own category. Currently we just include all of the 32bit variant in the
19// 64bit variant. It also might be good to allow one to compile only the 64bit variant without the
20// 32bit one.
21
22art_cc_defaults {
23 name: "libart-compiler-defaults",
24 defaults: ["art_defaults"],
25 host_supported: true,
Colin Cross1f7f3bd2016-07-27 10:12:38 -070026 srcs: [
27 "compiled_method.cc",
28 "debug/elf_debug_writer.cc",
29 "dex/dex_to_dex_compiler.cc",
Andreas Gampeb95c74b2017-04-20 19:43:21 -070030 "dex/inline_method_analyser.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070031 "dex/verified_method.cc",
32 "dex/verification_results.cc",
33 "dex/quick_compiler_callbacks.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070034 "driver/compiled_method_storage.cc",
35 "driver/compiler_driver.cc",
36 "driver/compiler_options.cc",
37 "driver/dex_compilation_unit.cc",
38 "linker/buffered_output_stream.cc",
39 "linker/file_output_stream.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070040 "linker/output_stream.cc",
41 "linker/vector_output_stream.cc",
42 "linker/relative_patcher.cc",
43 "jit/jit_compiler.cc",
xueliang.zhong383b57d2016-10-04 11:19:17 +010044 "jit/jit_logger.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070045 "jni/quick/calling_convention.cc",
46 "jni/quick/jni_compiler.cc",
47 "optimizing/block_builder.cc",
48 "optimizing/bounds_check_elimination.cc",
49 "optimizing/builder.cc",
Mingyao Yangb0b051a2016-11-17 09:04:53 -080050 "optimizing/cha_guard_optimization.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070051 "optimizing/code_generator.cc",
52 "optimizing/code_generator_utils.cc",
Nicolas Geoffrayb813ca12017-02-16 22:08:29 +000053 "optimizing/code_sinking.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070054 "optimizing/constant_folding.cc",
Igor Murashkindd018df2017-08-09 10:38:31 -070055 "optimizing/constructor_fence_redundancy_elimination.cc",
Vladimir Marko0ebe0d82017-09-21 22:50:39 +010056 "optimizing/data_type.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070057 "optimizing/dead_code_elimination.cc",
Aart Bik96fd51d2016-11-28 11:22:35 -080058 "optimizing/escape.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070059 "optimizing/graph_checker.cc",
60 "optimizing/graph_visualizer.cc",
61 "optimizing/gvn.cc",
62 "optimizing/induction_var_analysis.cc",
63 "optimizing/induction_var_range.cc",
64 "optimizing/inliner.cc",
65 "optimizing/instruction_builder.cc",
66 "optimizing/instruction_simplifier.cc",
67 "optimizing/intrinsics.cc",
68 "optimizing/licm.cc",
Aart Bik96202302016-10-04 17:33:56 -070069 "optimizing/linear_order.cc",
xueliang.zhongc239a2b2017-04-27 15:31:37 +010070 "optimizing/load_store_analysis.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070071 "optimizing/load_store_elimination.cc",
72 "optimizing/locations.cc",
Aart Bik281c6812016-08-26 11:31:48 -070073 "optimizing/loop_optimization.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070074 "optimizing/nodes.cc",
75 "optimizing/optimization.cc",
76 "optimizing/optimizing_compiler.cc",
77 "optimizing/parallel_move_resolver.cc",
78 "optimizing/prepare_for_register_allocation.cc",
79 "optimizing/reference_type_propagation.cc",
80 "optimizing/register_allocation_resolver.cc",
81 "optimizing/register_allocator.cc",
82 "optimizing/register_allocator_graph_color.cc",
83 "optimizing/register_allocator_linear_scan.cc",
84 "optimizing/select_generator.cc",
Alexandre Rames22aa54b2016-10-18 09:32:29 +010085 "optimizing/scheduler.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070086 "optimizing/sharpening.cc",
87 "optimizing/side_effects_analysis.cc",
88 "optimizing/ssa_builder.cc",
89 "optimizing/ssa_liveness_analysis.cc",
90 "optimizing/ssa_phi_elimination.cc",
91 "optimizing/stack_map_stream.cc",
Artem Serov7f4aff62017-06-21 17:02:18 +010092 "optimizing/superblock_cloner.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070093 "trampolines/trampoline_compiler.cc",
94 "utils/assembler.cc",
95 "utils/jni_macro_assembler.cc",
96 "utils/swap_space.cc",
97 "compiler.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -070098 ],
99
100 codegen: {
101 arm: {
102 srcs: [
103 "jni/quick/arm/calling_convention_arm.cc",
104 "linker/arm/relative_patcher_arm_base.cc",
105 "linker/arm/relative_patcher_thumb2.cc",
Scott Wakelingfe885462016-09-22 10:24:38 +0100106 "optimizing/code_generator_arm_vixl.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800107 "optimizing/code_generator_vector_arm_vixl.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700108 "optimizing/instruction_simplifier_arm.cc",
109 "optimizing/instruction_simplifier_shared.cc",
Anton Kirilov5ec62182016-10-13 20:16:02 +0100110 "optimizing/intrinsics_arm_vixl.cc",
Anton Kirilov74234da2017-01-13 14:42:47 +0000111 "optimizing/nodes_shared.cc",
xueliang.zhongf7caf682017-03-01 16:07:02 +0000112 "optimizing/scheduler_arm.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700113 "utils/arm/assembler_arm_vixl.cc",
Roland Levillainc043d002017-07-14 16:39:16 +0100114 "utils/arm/constants_arm.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700115 "utils/arm/jni_macro_assembler_arm_vixl.cc",
116 "utils/arm/managed_register_arm.cc",
117 ],
118 },
119 arm64: {
120 srcs: [
121 "jni/quick/arm64/calling_convention_arm64.cc",
122 "linker/arm64/relative_patcher_arm64.cc",
123 "optimizing/code_generator_arm64.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800124 "optimizing/code_generator_vector_arm64.cc",
Alexandre Rames22aa54b2016-10-18 09:32:29 +0100125 "optimizing/scheduler_arm64.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700126 "optimizing/instruction_simplifier_arm64.cc",
127 "optimizing/intrinsics_arm64.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700128 "utils/arm64/assembler_arm64.cc",
129 "utils/arm64/jni_macro_assembler_arm64.cc",
130 "utils/arm64/managed_register_arm64.cc",
131 ],
132 },
133 mips: {
134 srcs: [
135 "jni/quick/mips/calling_convention_mips.cc",
136 "linker/mips/relative_patcher_mips.cc",
137 "optimizing/code_generator_mips.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800138 "optimizing/code_generator_vector_mips.cc",
Lena Djokica2901602017-09-21 13:50:52 +0200139 "optimizing/instruction_simplifier_mips.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700140 "optimizing/intrinsics_mips.cc",
141 "optimizing/pc_relative_fixups_mips.cc",
142 "utils/mips/assembler_mips.cc",
143 "utils/mips/managed_register_mips.cc",
144 ],
145 },
146 mips64: {
147 srcs: [
148 "jni/quick/mips64/calling_convention_mips64.cc",
Alexey Frunze19f6c692016-11-30 19:19:55 -0800149 "linker/mips64/relative_patcher_mips64.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700150 "optimizing/code_generator_mips64.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800151 "optimizing/code_generator_vector_mips64.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700152 "optimizing/intrinsics_mips64.cc",
153 "utils/mips64/assembler_mips64.cc",
154 "utils/mips64/managed_register_mips64.cc",
155 ],
156 },
157 x86: {
158 srcs: [
159 "jni/quick/x86/calling_convention_x86.cc",
160 "linker/x86/relative_patcher_x86.cc",
161 "linker/x86/relative_patcher_x86_base.cc",
162 "optimizing/code_generator_x86.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800163 "optimizing/code_generator_vector_x86.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700164 "optimizing/intrinsics_x86.cc",
165 "optimizing/pc_relative_fixups_x86.cc",
166 "optimizing/x86_memory_gen.cc",
167 "utils/x86/assembler_x86.cc",
168 "utils/x86/jni_macro_assembler_x86.cc",
169 "utils/x86/managed_register_x86.cc",
170 ],
171 },
172 x86_64: {
173 srcs: [
174 "jni/quick/x86_64/calling_convention_x86_64.cc",
175 "linker/x86_64/relative_patcher_x86_64.cc",
176 "optimizing/intrinsics_x86_64.cc",
177 "optimizing/code_generator_x86_64.cc",
Aart Bikf8f5a162017-02-06 15:35:29 -0800178 "optimizing/code_generator_vector_x86_64.cc",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700179 "utils/x86_64/assembler_x86_64.cc",
180 "utils/x86_64/jni_macro_assembler_x86_64.cc",
181 "utils/x86_64/managed_register_x86_64.cc",
182 ],
183 },
184 },
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700185 generated_sources: ["art_compiler_operator_srcs"],
186 shared_libs: [
Andreas Gampe525a58b2016-09-26 18:09:47 -0700187 "libbase",
Andreas Gampec6548162017-12-08 12:15:22 -0800188 "libcutils", // for atrace.
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700189 "liblzma",
190 ],
191 include_dirs: ["art/disassembler"],
Andreas Gampe097f34c2017-08-23 08:57:51 -0700192 header_libs: [
193 "art_cmdlineparser_headers", // For compiler_options.
Andreas Gampe373a9b52017-10-18 09:01:57 -0700194 "libnativehelper_header_only",
Andreas Gampe097f34c2017-08-23 08:57:51 -0700195 ],
196
Colin Crossfe6064a2016-08-30 13:49:26 -0700197 export_include_dirs: ["."],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700198}
199
200gensrcs {
201 name: "art_compiler_operator_srcs",
Alex Lightb69d2d32018-02-21 13:37:17 -0800202 cmd: "$(location generate_operator_out) art/compiler $(in) > $(out)",
203 tools: ["generate_operator_out"],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700204 srcs: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700205 "dex/dex_to_dex_compiler.h",
206 "driver/compiler_driver.h",
207 "driver/compiler_options.h",
Vladimir Markod8dbc8d2017-09-20 13:37:47 +0100208 "linker/linker_patch.h",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700209 "optimizing/locations.h",
Vladimir Markocd09e1f2017-11-24 15:02:40 +0000210 "optimizing/optimizing_compiler_stats.h",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700211
212 "utils/arm/constants_arm.h",
213 "utils/mips/assembler_mips.h",
214 "utils/mips64/assembler_mips64.h",
215 ],
216 output_extension: "operator_out.cc",
217}
218
219art_cc_library {
220 name: "libart-compiler",
221 defaults: ["libart-compiler-defaults"],
222 codegen: {
Colin Cross766ea432016-08-25 16:22:04 -0700223 arm: {
224 // VIXL assembly support for ARM targets.
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700225 static: {
226 whole_static_libs: [
227 "libvixl-arm",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700228 ],
229 },
230 shared: {
231 shared_libs: [
232 "libvixl-arm",
Colin Cross766ea432016-08-25 16:22:04 -0700233 ],
234 },
235 },
236 arm64: {
237 // VIXL assembly support for ARM64 targets.
238 static: {
239 whole_static_libs: [
240 "libvixl-arm64",
241 ],
242 },
243 shared: {
244 shared_libs: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700245 "libvixl-arm64",
246 ],
247 },
248 },
249 },
Jeff Hao608f2ce2016-10-19 11:17:11 -0700250 shared_libs: [
251 "libart",
David Sehrfcbe15c2018-02-15 09:41:13 -0800252 "libdexfile",
Jeff Hao608f2ce2016-10-19 11:17:11 -0700253 ],
Pirama Arumuga Nainar02f6ed62018-01-04 10:52:42 -0800254
255 pgo: {
256 instrumentation: true,
Pirama Arumuga Nainarc89013c2018-01-18 12:35:40 -0800257 profile_file: "art/dex2oat.profdata",
Pirama Arumuga Nainar02f6ed62018-01-04 10:52:42 -0800258 benchmarks: ["dex2oat"],
Pirama Arumuga Nainar02f6ed62018-01-04 10:52:42 -0800259 }
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700260}
261
262art_cc_library {
263 name: "libartd-compiler",
264 defaults: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700265 "art_debug_defaults",
Colin Crossc5644062016-08-30 15:41:08 -0700266 "libart-compiler-defaults",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700267 ],
268 codegen: {
Colin Cross766ea432016-08-25 16:22:04 -0700269 arm: {
270 // VIXL assembly support for ARM targets.
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700271 static: {
272 whole_static_libs: [
273 "libvixld-arm",
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700274 ],
275 },
276 shared: {
277 shared_libs: [
278 "libvixld-arm",
Colin Cross766ea432016-08-25 16:22:04 -0700279 ],
280 },
281 },
282 arm64: {
283 // VIXL assembly support for ARM64 targets.
284 static: {
285 whole_static_libs: [
286 "libvixld-arm64",
287 ],
288 },
289 shared: {
290 shared_libs: [
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700291 "libvixld-arm64",
292 ],
293 },
294 },
295 },
Jeff Hao608f2ce2016-10-19 11:17:11 -0700296 shared_libs: [
297 "libartd",
David Sehrfcbe15c2018-02-15 09:41:13 -0800298 "libdexfiled",
Jeff Hao608f2ce2016-10-19 11:17:11 -0700299 ],
Colin Cross1f7f3bd2016-07-27 10:12:38 -0700300}
Colin Cross6b22aa52016-09-12 14:35:39 -0700301
302art_cc_library {
303 name: "libart-compiler-gtest",
304 defaults: ["libart-gtest-defaults"],
305 srcs: ["common_compiler_test.cc"],
306 shared_libs: [
307 "libartd-compiler",
Andreas Gampe2c30e4a2017-08-23 11:31:32 -0700308 "libartd-disassembler",
Colin Cross6e95dd52016-09-12 15:37:10 -0700309 "libart-runtime-gtest",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700310 "libbase",
Colin Cross6e95dd52016-09-12 15:37:10 -0700311 ],
312}
313
314art_cc_test {
315 name: "art_compiler_tests",
316 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700317 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700318 ],
319 srcs: [
Colin Cross6e95dd52016-09-12 15:37:10 -0700320 "debug/dwarf/dwarf_test.cc",
Vladimir Markod8dbc8d2017-09-20 13:37:47 +0100321 "debug/src_map_elem_test.cc",
Nicolas Geoffray01b70e82016-11-17 10:58:36 +0000322 "dex/dex_to_dex_decompiler_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700323 "driver/compiled_method_storage_test.cc",
324 "driver/compiler_driver_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700325 "exception_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700326 "jni/jni_compiler_test.cc",
Vladimir Markod8dbc8d2017-09-20 13:37:47 +0100327 "linker/linker_patch_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700328 "linker/output_stream_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700329 "optimizing/bounds_check_elimination_test.cc",
Artem Serov5e399b82017-12-21 14:28:35 +0000330 "optimizing/superblock_cloner_test.cc",
Vladimir Marko0ebe0d82017-09-21 22:50:39 +0100331 "optimizing/data_type_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700332 "optimizing/dominator_test.cc",
333 "optimizing/find_loops_test.cc",
334 "optimizing/graph_checker_test.cc",
335 "optimizing/graph_test.cc",
336 "optimizing/gvn_test.cc",
337 "optimizing/induction_var_analysis_test.cc",
338 "optimizing/induction_var_range_test.cc",
339 "optimizing/licm_test.cc",
340 "optimizing/live_interval_test.cc",
Aart Bik281c6812016-08-26 11:31:48 -0700341 "optimizing/loop_optimization_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700342 "optimizing/nodes_test.cc",
Aart Bikb79f4ac2017-07-10 10:10:37 -0700343 "optimizing/nodes_vector_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700344 "optimizing/parallel_move_test.cc",
345 "optimizing/pretty_printer_test.cc",
346 "optimizing/reference_type_propagation_test.cc",
347 "optimizing/side_effects_test.cc",
Vladimir Marko356bd282017-03-01 12:01:11 +0000348 "optimizing/ssa_liveness_analysis_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700349 "optimizing/ssa_test.cc",
350 "optimizing/stack_map_test.cc",
351 "optimizing/suspend_check_test.cc",
Mathieu Chartier93764b82017-07-17 14:51:53 -0700352 "utils/atomic_dex_ref_map_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700353 "utils/dedupe_set_test.cc",
354 "utils/intrusive_forward_list_test.cc",
355 "utils/string_reference_test.cc",
356 "utils/swap_space_test.cc",
357 "utils/test_dex_file_builder_test.cc",
Nicolas Geoffray08025182016-10-25 17:20:18 +0100358 "verifier_deps_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700359
360 "jni/jni_cfi_test.cc",
361 "optimizing/codegen_test.cc",
xueliang.zhongc239a2b2017-04-27 15:31:37 +0100362 "optimizing/load_store_analysis_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700363 "optimizing/optimizing_cfi_test.cc",
Alexandre Rames22aa54b2016-10-18 09:32:29 +0100364 "optimizing/scheduler_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700365 ],
366
367 codegen: {
368 arm: {
369 srcs: [
370 "linker/arm/relative_patcher_thumb2_test.cc",
371 "utils/arm/managed_register_arm_test.cc",
372 ],
373 },
374 arm64: {
375 srcs: [
376 "linker/arm64/relative_patcher_arm64_test.cc",
377 "utils/arm64/managed_register_arm64_test.cc",
378 ],
379 },
380 mips: {
381 srcs: [
382 "linker/mips/relative_patcher_mips_test.cc",
383 "linker/mips/relative_patcher_mips32r6_test.cc",
384 ],
385 },
Alexey Frunze19f6c692016-11-30 19:19:55 -0800386 mips64: {
387 srcs: [
388 "linker/mips64/relative_patcher_mips64_test.cc",
Goran Jakovljevic65b02632017-03-22 07:37:26 +0100389 "utils/mips64/managed_register_mips64_test.cc",
Alexey Frunze19f6c692016-11-30 19:19:55 -0800390 ],
391 },
Colin Cross6e95dd52016-09-12 15:37:10 -0700392 x86: {
393 srcs: [
394 "linker/x86/relative_patcher_x86_test.cc",
395 "utils/x86/managed_register_x86_test.cc",
396
397 // These tests are testing architecture-independent
398 // functionality, but happen to use x86 codegen as part of the
399 // test.
400 "optimizing/constant_folding_test.cc",
401 "optimizing/dead_code_elimination_test.cc",
402 "optimizing/linearize_test.cc",
403 "optimizing/live_ranges_test.cc",
404 "optimizing/liveness_test.cc",
405 "optimizing/register_allocator_test.cc",
406 ],
407 },
408 x86_64: {
409 srcs: [
410 "linker/x86_64/relative_patcher_x86_64_test.cc",
411 ],
412 },
413 },
414
Andreas Gampe373a9b52017-10-18 09:01:57 -0700415 header_libs: [
416 "libart_simulator_headers",
417 "libnativehelper_header_only",
418 ],
Andreas Gampe71da4872017-07-26 10:02:07 -0700419
Colin Cross6e95dd52016-09-12 15:37:10 -0700420 shared_libs: [
421 "libartd-compiler",
Andreas Gampe71da4872017-07-26 10:02:07 -0700422 "libartd-simulator-container",
Colin Cross6e95dd52016-09-12 15:37:10 -0700423 "libvixld-arm",
424 "libvixld-arm64",
425
426 "libbacktrace",
427 "libnativeloader",
428 ],
Colin Cross1b499102017-06-27 10:22:43 -0700429
Andreas Gampe238e8fc2017-11-01 17:10:10 -0700430 include_dirs: [
431 "external/zlib",
432 ],
433
Colin Cross1b499102017-06-27 10:22:43 -0700434 target: {
435 host: {
436 shared_libs: [
437 "libartd-simulator",
438 ],
439 },
440 },
Colin Cross6e95dd52016-09-12 15:37:10 -0700441}
442
443art_cc_test {
444 name: "art_compiler_host_tests",
445 device_supported: false,
446 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700447 "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -0700448 ],
449 codegen: {
450 arm: {
451 srcs: [
Colin Cross6e95dd52016-09-12 15:37:10 -0700452 "utils/assembler_thumb_test.cc",
453 ],
454 },
455 mips: {
456 srcs: [
Goran Jakovljevic35dfcaa2016-09-22 09:26:01 +0200457 "optimizing/emit_swap_mips_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700458 "utils/mips/assembler_mips_test.cc",
Lena Djokic2e0a7e52017-07-06 11:55:24 +0200459 "utils/mips/assembler_mips32r5_test.cc",
Colin Cross6e95dd52016-09-12 15:37:10 -0700460 "utils/mips/assembler_mips32r6_test.cc",
461 ],
462 },
463 mips64: {
464 srcs: [
465 "utils/mips64/assembler_mips64_test.cc",
466 ],
467 },
468 x86: {
469 srcs: [
470 "utils/x86/assembler_x86_test.cc",
471 ],
472 },
473 x86_64: {
474 srcs: [
475 "utils/x86_64/assembler_x86_64_test.cc",
476 ],
477 },
478 },
479 shared_libs: [
480 "libartd-compiler",
481 "libvixld-arm",
482 "libvixld-arm64",
Colin Cross6b22aa52016-09-12 14:35:39 -0700483 ],
484}