blob: 8b88b09f7c58f7634d1b00739d29836c89c7a83e [file] [log] [blame]
Colin Cross6b22aa52016-09-12 14:35:39 -07001//
2// Copyright (C) 2016 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
17art_cc_defaults {
Colin Cross6e95dd52016-09-12 15:37:10 -070018 name: "art_test_defaults",
19 host_supported: true,
Colin Crossafd3c9e2016-09-16 13:47:21 -070020 target: {
21 android_arm: {
22 relative_install_path: "art/arm",
23 },
24 android_arm64: {
25 relative_install_path: "art/arm64",
26 },
27 android_mips: {
28 relative_install_path: "art/mips",
29 },
30 android_mips64: {
31 relative_install_path: "art/mips64",
32 },
33 android_x86: {
34 relative_install_path: "art/x86",
35 },
36 android_x86_64: {
37 relative_install_path: "art/x86_64",
38 },
Colin Crossfd5428b2016-09-19 10:40:05 -070039 darwin: {
40 enabled: false,
41 },
Colin Crossafd3c9e2016-09-16 13:47:21 -070042 },
Dan Albertb5d36de2016-09-21 14:56:51 -070043 cflags: [
44 "-Wno-frame-larger-than=",
45 ],
Colin Crossafd3c9e2016-09-16 13:47:21 -070046}
47
48art_cc_defaults {
49 name: "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070050 test_per_src: true,
51 // These really are gtests, but the gtest library comes from libart-gtest.so
52 gtest: false,
53 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -070054 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -070055 "art_debug_defaults",
56 "art_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070057 ],
58
59 shared_libs: [
60 "libartd",
61 "libartd-disassembler",
62 "libvixld-arm",
63 "libvixld-arm64",
64 "libart-gtest",
David Sehr0225f8e2018-01-31 08:52:24 +000065 "libdexfile",
Colin Cross6e95dd52016-09-12 15:37:10 -070066
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070067 "libbase",
Colin Cross6e95dd52016-09-12 15:37:10 -070068 "libicuuc",
69 "libicui18n",
70 "libnativehelper",
Dan Willemsen0e503b52017-09-27 16:05:49 -070071 "libz",
Colin Cross6e95dd52016-09-12 15:37:10 -070072 ],
73 whole_static_libs: [
74 "libsigchain",
75 ],
Colin Cross6e95dd52016-09-12 15:37:10 -070076
77 target: {
Dan Willemsen057f1e42017-10-03 14:11:48 -070078 linux: {
Colin Cross6e95dd52016-09-12 15:37:10 -070079 ldflags: [
80 // Allow jni_compiler_test to find Java_MyClassNatives_bar
81 // within itself using dlopen(NULL, ...).
82 // Mac OS linker doesn't understand --export-dynamic.
83 "-Wl,--export-dynamic",
84 "-Wl,-u,Java_MyClassNatives_bar",
85 "-Wl,-u,Java_MyClassNatives_sbar",
86 ],
Colin Cross6e95dd52016-09-12 15:37:10 -070087 cflags: [
88 // gtest issue
89 "-Wno-used-but-marked-unused",
90 "-Wno-deprecated",
91 "-Wno-missing-noreturn",
92 ],
93 },
Dan Willemsen057f1e42017-10-03 14:11:48 -070094 host: {
95 shared_libs: [
96 "libziparchive",
Colin Cross6e95dd52016-09-12 15:37:10 -070097 ],
Dan Willemsen057f1e42017-10-03 14:11:48 -070098 },
99 android: {
Colin Cross6e95dd52016-09-12 15:37:10 -0700100 shared_libs: [
Dimitry Ivanov9642b1b2016-09-28 02:44:00 -0700101 "liblog",
Colin Cross6e95dd52016-09-12 15:37:10 -0700102 ],
Colin Cross6e95dd52016-09-12 15:37:10 -0700103 },
Colin Cross6e95dd52016-09-12 15:37:10 -0700104 },
105}
106
107art_cc_defaults {
Colin Cross6b22aa52016-09-12 14:35:39 -0700108 name: "libart-gtest-defaults",
109 host_supported: true,
110 defaults: [
Colin Cross6b22aa52016-09-12 14:35:39 -0700111 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700112 "art_defaults",
Colin Cross6b22aa52016-09-12 14:35:39 -0700113 ],
114 shared_libs: [
115 "libartd",
116 "libartd-compiler",
David Sehr0225f8e2018-01-31 08:52:24 +0000117 "libdexfile",
Colin Cross6b22aa52016-09-12 14:35:39 -0700118 ],
119 static_libs: [
120 "libgtest",
121 ],
122 target: {
123 android32: {
Colin Crossc5c71872016-09-15 21:07:29 -0700124 cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest/art"],
Colin Cross6b22aa52016-09-12 14:35:39 -0700125 },
126 android64: {
127 cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest64/art"],
128 },
Dan Willemsen057f1e42017-10-03 14:11:48 -0700129 linux: {
Colin Cross6b22aa52016-09-12 14:35:39 -0700130 cflags: [
131 // gtest issue
132 "-Wno-used-but-marked-unused",
133 "-Wno-deprecated",
134 "-Wno-missing-noreturn",
135 ],
136 },
Colin Cross942036f2016-09-15 16:24:51 -0700137 darwin: {
138 enabled: false,
139 },
Colin Cross6b22aa52016-09-12 14:35:39 -0700140 },
141}
142
143art_cc_library {
144 name: "libart-gtest",
145 host_supported: true,
146 whole_static_libs: [
147 "libart-compiler-gtest",
148 "libart-runtime-gtest",
Dan Willemsen2ca27802017-09-27 14:57:43 -0700149 "libgtest",
Colin Cross6b22aa52016-09-12 14:35:39 -0700150 ],
151 shared_libs: [
152 "libartd",
153 "libartd-compiler",
David Sehr0225f8e2018-01-31 08:52:24 +0000154 "libdexfile",
Colin Crossf0af9062016-10-21 10:50:31 -0700155 "libbase",
Dan Willemsen2ca27802017-09-27 14:57:43 -0700156 "libbacktrace",
Colin Cross6b22aa52016-09-12 14:35:39 -0700157 ],
158 target: {
Colin Cross942036f2016-09-15 16:24:51 -0700159 darwin: {
160 enabled: false,
161 },
Colin Cross6b22aa52016-09-12 14:35:39 -0700162 },
163}
Colin Crossafd3c9e2016-09-16 13:47:21 -0700164
165cc_defaults {
166 name: "libartagent-defaults",
167 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700168 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700169 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700170 ],
171 shared_libs: [
David Sehr0225f8e2018-01-31 08:52:24 +0000172 "libdexfile",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700173 "libbacktrace",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700174 "libbase",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700175 "libnativehelper",
176 ],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700177}
178
179art_cc_test_library {
180 name: "libartagent",
181 srcs: ["900-hello-plugin/load_unload.cc"],
182 defaults: ["libartagent-defaults"],
183 shared_libs: ["libart"],
184}
185
186art_cc_test_library {
187 name: "libartagentd",
188 srcs: ["900-hello-plugin/load_unload.cc"],
189 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700190 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700191 "libartagent-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700192 ],
193 shared_libs: ["libartd"],
194}
195
Andreas Gampee54d9922016-10-11 19:55:37 -0700196art_cc_defaults {
Dan Willemsen2ca27802017-09-27 14:57:43 -0700197 name: "libtiagent-base-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700198 defaults: ["libartagent-defaults"],
199 srcs: [
Andreas Gampe027444b2017-03-31 12:49:07 -0700200 // These are the ART-independent parts.
Andreas Gampe46651672017-04-07 09:00:04 -0700201 "ti-agent/agent_common.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700202 "ti-agent/agent_startup.cc",
Andreas Gampe3f46c962017-03-30 10:26:59 -0700203 "ti-agent/jni_binder.cc",
204 "ti-agent/jvmti_helper.cc",
205 "ti-agent/test_env.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700206 "ti-agent/breakpoint_helper.cc",
Alex Light78d63412017-04-14 16:20:53 -0700207 "ti-agent/common_helper.cc",
Alex Lighte814f9d2017-07-31 16:14:39 -0700208 "ti-agent/frame_pop_helper.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700209 "ti-agent/locals_helper.cc",
Alex Lightce568642017-09-05 16:54:25 -0700210 "ti-agent/monitors_helper.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700211 "ti-agent/redefinition_helper.cc",
Alex Light88fd7202017-06-30 08:31:59 -0700212 "ti-agent/suspension_helper.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700213 "ti-agent/stack_trace_helper.cc",
Alex Light54d39dc2017-09-25 17:00:16 -0700214 "ti-agent/threads_helper.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700215 "ti-agent/trace_helper.cc",
Alex Light9fb1ab12017-09-05 09:32:49 -0700216 "ti-agent/exceptions_helper.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700217 // This is the list of non-special OnLoad things and excludes BCI and anything that depends
218 // on ART internals.
Andreas Gampe6dee92e2016-09-12 19:58:13 -0700219 "903-hello-tagging/tagging.cc",
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700220 "904-object-allocation/tracking.cc",
Andreas Gampecc13b222016-10-10 19:09:09 -0700221 "905-object-free/tracking_free.cc",
Andreas Gampee54d9922016-10-11 19:55:37 -0700222 "906-iterate-heap/iterate_heap.cc",
Andreas Gampeaa8b60c2016-10-12 12:51:25 -0700223 "907-get-loaded-classes/get_loaded_classes.cc",
Andreas Gampe9b8c5882016-10-21 15:27:46 -0700224 "908-gc-start-finish/gc_callbacks.cc",
Andreas Gampe3c252f02016-10-27 18:25:17 -0700225 "910-methods/methods.cc",
Andreas Gampeb5eb94a2016-10-27 19:23:09 -0700226 "911-get-stack-trace/stack_trace.cc",
Andreas Gamped5f2ccc2017-04-19 13:37:48 -0700227 "912-classes/classes.cc",
Andreas Gampee0f8ed92017-04-13 16:52:23 -0700228 "913-heaps/heaps.cc",
Andreas Gampeab2f0d02017-01-05 17:23:45 -0800229 "918-fields/fields.cc",
Andreas Gampe50a4e492017-01-06 18:00:20 -0800230 "920-objects/objects.cc",
Andreas Gampe1bdaf732017-01-09 19:21:06 -0800231 "922-properties/properties.cc",
Andreas Gampe319dbe82017-01-09 16:42:21 -0800232 "923-monitors/monitors.cc",
Andreas Gampeaf13ab92017-01-11 20:57:40 -0800233 "924-threads/threads.cc",
Andreas Gamped18d9e22017-01-16 16:08:45 +0000234 "925-threadgroups/threadgroups.cc",
Andreas Gampe35bcf812017-01-13 16:24:17 -0800235 "927-timers/timers.cc",
Andreas Gampe6f8e4f02017-01-16 18:18:14 -0800236 "928-jni-table/jni_table.cc",
Andreas Gampece7732b2017-01-17 15:50:26 -0800237 "929-search/search.cc",
Andreas Gampe732b0ac2017-01-18 15:23:39 -0800238 "931-agent-thread/agent_thread.cc",
Andreas Gampeeb0cea12017-01-23 08:50:04 -0800239 "933-misc-events/misc_events.cc",
Alex Light78d63412017-04-14 16:20:53 -0700240 "945-obsolete-native/obsolete_native.cc",
Alex Light8fd08562018-02-13 10:09:03 -0800241 "983-source-transform-verify/source_transform.cc",
Alex Light78d63412017-04-14 16:20:53 -0700242 "984-obsolete-invoke/obsolete_invoke.cc",
Alex Lightd78ddec2017-04-18 15:20:38 -0700243 "986-native-method-bind/native_bind.cc",
Alex Light65af20b2017-04-20 09:15:08 -0700244 "987-agent-bind/agent_bind.cc",
Alex Lightb7edcda2017-04-27 13:20:31 -0700245 "989-method-trace-throw/method_trace.cc",
Alex Light7c958492017-06-16 08:59:19 -0700246 "991-field-trace-2/field_trace.cc",
Alex Light6fa7b812017-06-16 09:04:29 -0700247 "992-source-data/source_file.cc",
Alex Lightc38c3692017-06-27 15:45:14 -0700248 "993-breakpoints/breakpoints.cc",
249 "996-breakpoint-obsolete/obsolete_breakpoints.cc",
Alex Light8ddfd9f2017-07-05 16:33:46 -0700250 "1900-track-alloc/alloc.cc",
Alex Light4c174282017-07-05 10:18:18 -0700251 "1901-get-bytecodes/bytecodes.cc",
Alex Light88fd7202017-06-30 08:31:59 -0700252 "1905-suspend-native/native_suspend.cc",
253 "1908-suspend-native-resume-self/native_suspend_resume.cc",
Alex Light092a4042017-07-12 08:46:44 -0700254 "1909-per-agent-tls/agent_tls.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700255 "1914-get-local-instance/local_instance.cc",
Alex Light1d8a9742017-08-17 11:12:06 -0700256 "1919-vminit-thread-start-timing/vminit.cc",
Alex Light23aa7482017-08-16 10:01:13 -0700257 "1920-suspend-native-monitor/native_suspend_monitor.cc",
258 "1921-suspend-native-recursive-monitor/native_suspend_recursive_monitor.cc",
Alex Light88e1ddd2017-08-21 13:09:55 -0700259 "1922-owned-monitors-info/owned_monitors.cc",
Alex Lighte814f9d2017-07-31 16:14:39 -0700260 "1924-frame-pop-toggle/frame_pop_toggle.cc",
261 "1926-missed-frame-pop/frame_pop_missed.cc",
Alex Lightce568642017-09-05 16:54:25 -0700262 "1927-exception-event/exception_event.cc",
263 "1930-monitor-info/monitor.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -0700264 "1932-monitor-events-misc/monitor_misc.cc",
Alex Light54d39dc2017-09-25 17:00:16 -0700265 "1934-jvmti-signal-thread/signal_threads.cc",
Alex Light3dea2122017-10-11 15:56:48 +0000266 "1939-proxy-frames/local_instance.cc",
Alex Lightb284f8d2017-11-21 00:00:48 +0000267 "1941-dispose-stress/dispose_stress.cc",
Alex Light4d77daf2018-01-04 11:51:14 -0800268 "1942-suspend-raw-monitor-exit/native_suspend_monitor.cc",
269 "1943-suspend-raw-monitor-wait/native_suspend_monitor.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700270 ],
Alex Light8c2b9292017-11-09 13:21:01 -0800271 header_libs: [
Andreas Gamped0ed0d92018-02-12 15:03:36 -0800272 "jni_headers",
Alex Light8c2b9292017-11-09 13:21:01 -0800273 "libopenjdkjvmti_headers",
274 ],
Andreas Gampe3f46c962017-03-30 10:26:59 -0700275 include_dirs: ["art/test/ti-agent"],
Andreas Gampee54d9922016-10-11 19:55:37 -0700276}
277
Andreas Gampe027444b2017-03-31 12:49:07 -0700278art_cc_defaults {
279 name: "libtiagent-defaults",
280 defaults: ["libtiagent-base-defaults"],
281 srcs: [
282 // This is to get the IsInterpreted native method.
283 "common/stack_inspect.cc",
284 "common/runtime_state.cc",
Alex Light78d63412017-04-14 16:20:53 -0700285 "ti-agent/common_load.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700286 // This includes the remaining test functions. We should try to refactor things to
287 // make this list smaller.
Andreas Gampe027444b2017-03-31 12:49:07 -0700288 "901-hello-ti-agent/basics.cc",
289 "909-attach-agent/attach.cc",
Andreas Gamped5f2ccc2017-04-19 13:37:48 -0700290 "912-classes/classes_art.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700291 "936-search-onload/search_onload.cc",
Alex Light8c2b9292017-11-09 13:21:01 -0800292 "1940-ddms-ext/ddm_ext.cc",
Alex Light0e841182018-02-12 17:42:50 +0000293 "1944-sudden-exit/sudden_exit.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700294 ],
Andreas Gamped0ed0d92018-02-12 15:03:36 -0800295 shared_libs: [
296 "libbase",
297 "libdexfile",
298 ],
Andreas Gampe027444b2017-03-31 12:49:07 -0700299}
300
Andreas Gampee54d9922016-10-11 19:55:37 -0700301art_cc_test_library {
302 name: "libtiagent",
303 defaults: ["libtiagent-defaults"],
Andreas Gampe6e3dd3e2016-11-17 17:13:53 -0800304 shared_libs: ["libart"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700305}
306
307art_cc_test_library {
308 name: "libtiagentd",
309 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700310 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700311 "libtiagent-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700312 ],
Andreas Gampe6e3dd3e2016-11-17 17:13:53 -0800313 shared_libs: ["libartd"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700314}
315
Andreas Gamped0ed0d92018-02-12 15:03:36 -0800316art_cc_test_library {
317 name: "libctstiagent",
318 defaults: ["libtiagent-base-defaults"],
319 whole_static_libs: [
320 "libdexfile",
321 "libz",
322 "libziparchive",
323 ],
324 static_libs: [
325 "libbase",
326 "libcutils",
327 "libutils",
328 ],
329 shared_libs: [
330 "liblog",
331 ],
Alex Light8fd08562018-02-13 10:09:03 -0800332 header_libs: [
333 // This is needed to resolve the base/ header file in libdexfile. Unfortunately there are
334 // many problems with how we export headers that are making doing this the 'right' way
335 // difficult.
336 // TODO: move those headers to art/ rather than under runtime.
337 "libart_runtime_headers",
338 ],
Andreas Gamped0ed0d92018-02-12 15:03:36 -0800339 export_include_dirs: ["ti-agent"],
340}
341
Alex Light8f2c6d42017-04-10 16:27:35 -0700342art_cc_defaults {
343 name: "libtistress-defaults",
344 defaults: ["libartagent-defaults"],
345 srcs: [
346 "ti-stress/stress.cc",
347 ],
348 shared_libs: [
349 "libbase",
Alex Lightceae9542017-09-07 13:28:00 -0700350 "slicer",
Alex Light8f2c6d42017-04-10 16:27:35 -0700351 ],
352 header_libs: ["libopenjdkjvmti_headers"],
353}
354
355art_cc_test_library {
356 name: "libtistress",
Dan Willemsen2ca27802017-09-27 14:57:43 -0700357 defaults: ["libtistress-defaults"],
Alex Light8f2c6d42017-04-10 16:27:35 -0700358 shared_libs: ["libart"],
359}
360
361art_cc_test_library {
362 name: "libtistressd",
363 defaults: [
Alex Light8f2c6d42017-04-10 16:27:35 -0700364 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700365 "libtistress-defaults",
Alex Light8f2c6d42017-04-10 16:27:35 -0700366 ],
367 shared_libs: ["libartd"],
368}
369
Colin Crossafd3c9e2016-09-16 13:47:21 -0700370cc_defaults {
371 name: "libarttest-defaults",
372 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700373 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700374 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700375 ],
376 srcs: [
377 "common/runtime_state.cc",
378 "common/stack_inspect.cc",
379 "004-JniTest/jni_test.cc",
380 "004-SignalTest/signaltest.cc",
381 "004-ReferenceMap/stack_walk_refmap_jni.cc",
382 "004-StackWalk/stack_walk_jni.cc",
383 "004-ThreadStress/thread_stress.cc",
384 "004-UnsafeTest/unsafe_test.cc",
385 "044-proxy/native_proxy.cc",
386 "051-thread/thread_test.cc",
387 "117-nopatchoat/nopatchoat.cc",
388 "1337-gc-coverage/gc_coverage.cc",
389 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc",
390 "137-cfi/cfi.cc",
391 "139-register-natives/regnative.cc",
392 "141-class-unload/jni_unload.cc",
393 "148-multithread-gc-annotations/gc_coverage.cc",
394 "149-suspend-all-stress/suspend_all.cc",
Mathieu Chartier72a32892017-01-24 09:40:56 -0800395 "154-gc-loop/heap_interface.cc",
Andreas Gampeaaf0d382017-11-27 14:10:21 -0800396 "167-visit-locks/visit_locks.cc",
Andreas Gampe56776012018-01-26 17:40:55 -0800397 "169-threadgroup-jni/jni_daemon_thread.cc",
Andreas Gampeaaf0d382017-11-27 14:10:21 -0800398 "203-multi-checkpoint/multi_checkpoint.cc",
Alex Lightf4ed7e82018-01-17 11:52:36 -0800399 "305-other-fault-handler/fault_handler.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700400 "454-get-vreg/get_vreg_jni.cc",
401 "457-regs/regs_jni.cc",
402 "461-get-reference-vreg/get_reference_vreg_jni.cc",
403 "466-get-live-vreg/get_live_vreg_jni.cc",
404 "497-inlining-and-class-loader/clear_dex_cache.cc",
405 "543-env-long-ref/env_long_ref.cc",
406 "566-polymorphic-inlining/polymorphic_inline.cc",
407 "570-checker-osr/osr.cc",
408 "595-profile-saving/profile-saving.cc",
409 "596-app-images/app_images.cc",
Hans Boehm6fe97e02016-05-04 18:35:57 -0700410 "596-monitor-inflation/monitor_inflation.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700411 "597-deopt-new-string/deopt.cc",
Vladimir Markoc5798bf2016-12-09 10:20:54 +0000412 "626-const-class-linking/clear_dex_cache_types.cc",
Nicolas Geoffray13a797b2017-03-15 16:41:31 +0000413 "642-fp-callees/fp_callees.cc",
Vladimir Marko5fdd7782017-04-20 11:26:03 +0100414 "647-jni-get-field-id/get_field_id.cc",
Roland Levillain0d2323e2017-06-26 18:14:39 +0100415 "656-annotation-lookup-generic-jni/test.cc",
Igor Murashkin545412b2017-08-17 15:26:54 -0700416 "661-oat-writer-layout/oat_writer_layout.cc",
417 "664-aget-verifier/aget-verifier.cc",
Vladimir Marko2196c652017-11-30 16:16:07 +0000418 "667-jit-jni-stub/jit_jni_stub_test.cc",
David Brazdil11b67b22018-01-18 16:41:40 +0000419 "674-hiddenapi/hiddenapi.cc",
Dan Willemsen2ca27802017-09-27 14:57:43 -0700420 "708-jit-cache-churn/jit.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700421 ],
422 shared_libs: [
David Sehr0225f8e2018-01-31 08:52:24 +0000423 "libdexfile",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700424 "libbacktrace",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700425 "libbase",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700426 "libnativehelper",
427 ],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700428}
429
430art_cc_test_library {
431 name: "libarttest",
432 defaults: ["libarttest-defaults"],
433 shared_libs: ["libart"],
434}
435
436art_cc_test_library {
437 name: "libarttestd",
438 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700439 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700440 "libarttest-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700441 ],
442 shared_libs: ["libartd"],
443}
444
445art_cc_test_library {
446 name: "libnativebridgetest",
447 shared_libs: ["libart"],
448 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700449 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700450 "art_debug_defaults",
451 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700452 ],
Steven Morelandc7affbd2017-07-06 11:26:51 -0700453 header_libs: ["libnativebridge-dummy-headers"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700454 srcs: ["115-native-bridge/nativebridge.cc"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700455}