Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 1 | // |
| 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 | |
Roland Levillain | 962a110 | 2019-11-01 16:20:33 +0000 | [diff] [blame] | 17 | // ART gtests. |
| 18 | |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 19 | art_cc_defaults { |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 20 | name: "art_test_defaults", |
| 21 | host_supported: true, |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 22 | target: { |
| 23 | android_arm: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 24 | relative_install_path: "art/arm", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 25 | }, |
| 26 | android_arm64: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 27 | relative_install_path: "art/arm64", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 28 | }, |
| 29 | android_mips: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 30 | relative_install_path: "art/mips", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 31 | }, |
| 32 | android_mips64: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 33 | relative_install_path: "art/mips64", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 34 | }, |
| 35 | android_x86: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 36 | relative_install_path: "art/x86", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 37 | }, |
| 38 | android_x86_64: { |
Roland Levillain | d4d6fb5 | 2019-08-05 12:28:39 +0100 | [diff] [blame] | 39 | relative_install_path: "art/x86_64", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 40 | }, |
Colin Cross | fd5428b | 2016-09-19 10:40:05 -0700 | [diff] [blame] | 41 | darwin: { |
| 42 | enabled: false, |
| 43 | }, |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 44 | }, |
Dan Albert | b5d36de | 2016-09-21 14:56:51 -0700 | [diff] [blame] | 45 | cflags: [ |
| 46 | "-Wno-frame-larger-than=", |
| 47 | ], |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 48 | apex_available: [ |
| 49 | "com.android.art.debug", |
| 50 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | art_cc_defaults { |
| 54 | name: "art_gtest_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 55 | test_per_src: true, |
| 56 | // These really are gtests, but the gtest library comes from libart-gtest.so |
| 57 | gtest: false, |
| 58 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 59 | "art_test_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 60 | "art_debug_defaults", |
| 61 | "art_defaults", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 62 | ], |
| 63 | |
| 64 | shared_libs: [ |
| 65 | "libartd", |
| 66 | "libartd-disassembler", |
Roland Levillain | 12dd9ae | 2018-11-06 13:32:06 +0000 | [diff] [blame] | 67 | "libvixld", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 68 | "libart-gtest", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 69 | "libdexfiled", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 70 | "libprofiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 71 | "libartbased", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 72 | |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 73 | "libbase", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 74 | "libicuuc", |
| 75 | "libicui18n", |
| 76 | "libnativehelper", |
Nicolas Geoffray | 65ed42a | 2018-10-30 12:33:04 +0000 | [diff] [blame] | 77 | "libz", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 78 | ], |
| 79 | whole_static_libs: [ |
| 80 | "libsigchain", |
| 81 | ], |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 82 | |
| 83 | target: { |
Dan Willemsen | 057f1e4 | 2017-10-03 14:11:48 -0700 | [diff] [blame] | 84 | linux: { |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 85 | ldflags: [ |
| 86 | // Allow jni_compiler_test to find Java_MyClassNatives_bar |
| 87 | // within itself using dlopen(NULL, ...). |
| 88 | // Mac OS linker doesn't understand --export-dynamic. |
| 89 | "-Wl,--export-dynamic", |
| 90 | "-Wl,-u,Java_MyClassNatives_bar", |
| 91 | "-Wl,-u,Java_MyClassNatives_sbar", |
| 92 | ], |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 93 | cflags: [ |
| 94 | // gtest issue |
| 95 | "-Wno-used-but-marked-unused", |
| 96 | "-Wno-deprecated", |
| 97 | "-Wno-missing-noreturn", |
| 98 | ], |
| 99 | }, |
Nicolas Geoffray | 65ed42a | 2018-10-30 12:33:04 +0000 | [diff] [blame] | 100 | host: { |
| 101 | shared_libs: [ |
| 102 | "libziparchive", |
| 103 | ], |
| 104 | }, |
Dan Willemsen | 057f1e4 | 2017-10-03 14:11:48 -0700 | [diff] [blame] | 105 | android: { |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 106 | shared_libs: [ |
Dimitry Ivanov | 9642b1b | 2016-09-28 02:44:00 -0700 | [diff] [blame] | 107 | "liblog", |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 108 | ], |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 109 | }, |
Colin Cross | 6e95dd5 | 2016-09-12 15:37:10 -0700 | [diff] [blame] | 110 | }, |
| 111 | } |
| 112 | |
| 113 | art_cc_defaults { |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 114 | name: "libart-gtest-defaults", |
| 115 | host_supported: true, |
| 116 | defaults: [ |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 117 | "art_debug_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 118 | "art_defaults", |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 119 | ], |
| 120 | shared_libs: [ |
| 121 | "libartd", |
| 122 | "libartd-compiler", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 123 | "libdexfiled", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 124 | "libprofiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 125 | "libartbased", |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 126 | ], |
| 127 | static_libs: [ |
| 128 | "libgtest", |
| 129 | ], |
| 130 | target: { |
| 131 | android32: { |
Colin Cross | c5c7187 | 2016-09-15 21:07:29 -0700 | [diff] [blame] | 132 | cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest/art"], |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 133 | }, |
| 134 | android64: { |
| 135 | cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest64/art"], |
| 136 | }, |
Dan Willemsen | 057f1e4 | 2017-10-03 14:11:48 -0700 | [diff] [blame] | 137 | linux: { |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 138 | cflags: [ |
| 139 | // gtest issue |
| 140 | "-Wno-used-but-marked-unused", |
| 141 | "-Wno-deprecated", |
| 142 | "-Wno-missing-noreturn", |
| 143 | ], |
| 144 | }, |
Colin Cross | 942036f | 2016-09-15 16:24:51 -0700 | [diff] [blame] | 145 | darwin: { |
| 146 | enabled: false, |
| 147 | }, |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 148 | }, |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 149 | apex_available: [ |
| 150 | "com.android.art.debug", |
| 151 | ], |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 152 | } |
| 153 | |
| 154 | art_cc_library { |
| 155 | name: "libart-gtest", |
| 156 | host_supported: true, |
| 157 | whole_static_libs: [ |
| 158 | "libart-compiler-gtest", |
| 159 | "libart-runtime-gtest", |
David Sehr | d5f8de8 | 2018-04-27 14:12:03 -0700 | [diff] [blame] | 160 | "libartbase-art-gtest", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 161 | "libgtest", |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 162 | ], |
| 163 | shared_libs: [ |
| 164 | "libartd", |
| 165 | "libartd-compiler", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 166 | "libdexfiled", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 167 | "libprofiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 168 | "libartbased", |
Colin Cross | f0af906 | 2016-10-21 10:50:31 -0700 | [diff] [blame] | 169 | "libbase", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 170 | "libbacktrace", |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 171 | ], |
| 172 | target: { |
Colin Cross | 942036f | 2016-09-15 16:24:51 -0700 | [diff] [blame] | 173 | darwin: { |
| 174 | enabled: false, |
| 175 | }, |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 176 | }, |
Jiyong Park | 066dd902 | 2019-12-19 02:11:59 +0000 | [diff] [blame] | 177 | apex_available: [ |
| 178 | "com.android.art.debug", |
| 179 | ], |
Colin Cross | 6b22aa5 | 2016-09-12 14:35:39 -0700 | [diff] [blame] | 180 | } |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 181 | |
Roland Levillain | 962a110 | 2019-11-01 16:20:33 +0000 | [diff] [blame] | 182 | // ART run-tests. |
| 183 | |
| 184 | art_cc_test_library { |
| 185 | name: "libarttest", |
| 186 | defaults: ["libarttest-defaults"], |
| 187 | shared_libs: [ |
| 188 | "libart", |
| 189 | "libdexfile", |
| 190 | "libprofile", |
| 191 | "libartbase", |
| 192 | ], |
| 193 | } |
| 194 | |
| 195 | art_cc_test_library { |
| 196 | name: "libarttestd", |
| 197 | defaults: [ |
| 198 | "art_debug_defaults", |
| 199 | "libarttest-defaults", |
| 200 | ], |
| 201 | shared_libs: [ |
| 202 | "libartd", |
| 203 | "libdexfiled", |
| 204 | "libprofiled", |
| 205 | "libartbased", |
| 206 | ], |
| 207 | } |
| 208 | |
| 209 | art_cc_defaults { |
| 210 | name: "libnativebridgetest-defaults", |
| 211 | defaults: [ |
| 212 | "art_test_defaults", |
| 213 | "art_defaults", |
| 214 | ], |
| 215 | header_libs: ["libnativebridge-headers"], |
| 216 | srcs: ["115-native-bridge/nativebridge.cc"], |
| 217 | } |
| 218 | |
| 219 | art_cc_test_library { |
| 220 | name: "libnativebridgetest", |
| 221 | shared_libs: ["libart"], |
| 222 | defaults: [ |
| 223 | "libnativebridgetest-defaults", |
| 224 | ], |
| 225 | } |
| 226 | |
| 227 | art_cc_test_library { |
| 228 | name: "libnativebridgetestd", |
| 229 | shared_libs: ["libartd"], |
| 230 | defaults: [ |
| 231 | "libnativebridgetest-defaults", |
| 232 | "art_debug_defaults", |
| 233 | ], |
| 234 | } |
| 235 | |
| 236 | // ART JVMTI run-tests. |
| 237 | |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 238 | cc_defaults { |
| 239 | name: "libartagent-defaults", |
| 240 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 241 | "art_test_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 242 | "art_defaults", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 243 | ], |
| 244 | shared_libs: [ |
| 245 | "libbacktrace", |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 246 | "libbase", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 247 | "libnativehelper", |
| 248 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 249 | } |
| 250 | |
| 251 | art_cc_test_library { |
| 252 | name: "libartagent", |
| 253 | srcs: ["900-hello-plugin/load_unload.cc"], |
| 254 | defaults: ["libartagent-defaults"], |
Andreas Gampe | 9462a56 | 2018-02-20 09:35:21 -0800 | [diff] [blame] | 255 | shared_libs: [ |
| 256 | "libart", |
| 257 | "libdexfile", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 258 | "libprofile", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 259 | "libartbase", |
Andreas Gampe | 9462a56 | 2018-02-20 09:35:21 -0800 | [diff] [blame] | 260 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 261 | } |
| 262 | |
| 263 | art_cc_test_library { |
| 264 | name: "libartagentd", |
| 265 | srcs: ["900-hello-plugin/load_unload.cc"], |
| 266 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 267 | "art_debug_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 268 | "libartagent-defaults", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 269 | ], |
Andreas Gampe | 9462a56 | 2018-02-20 09:35:21 -0800 | [diff] [blame] | 270 | shared_libs: [ |
| 271 | "libartd", |
| 272 | "libdexfiled", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 273 | "libprofiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 274 | "libartbased", |
Andreas Gampe | 9462a56 | 2018-02-20 09:35:21 -0800 | [diff] [blame] | 275 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 276 | } |
| 277 | |
Andreas Gampe | e54d992 | 2016-10-11 19:55:37 -0700 | [diff] [blame] | 278 | art_cc_defaults { |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 279 | name: "libtiagent-base-defaults", |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 280 | defaults: [ |
| 281 | "art_test_defaults", |
| 282 | "art_defaults", |
| 283 | // Not derived from libartagent-defaults for NDK. |
| 284 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 285 | srcs: [ |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 286 | // These are the ART-independent parts. |
Andreas Gampe | 4665167 | 2017-04-07 09:00:04 -0700 | [diff] [blame] | 287 | "ti-agent/agent_common.cc", |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 288 | "ti-agent/agent_startup.cc", |
Andreas Gampe | 3f46c96 | 2017-03-30 10:26:59 -0700 | [diff] [blame] | 289 | "ti-agent/jni_binder.cc", |
| 290 | "ti-agent/jvmti_helper.cc", |
| 291 | "ti-agent/test_env.cc", |
Alex Light | d0d6596 | 2017-06-30 11:13:33 -0700 | [diff] [blame] | 292 | "ti-agent/breakpoint_helper.cc", |
Alex Light | 78d6341 | 2017-04-14 16:20:53 -0700 | [diff] [blame] | 293 | "ti-agent/common_helper.cc", |
Alex Light | b7c640d | 2019-03-20 15:52:13 -0700 | [diff] [blame] | 294 | "ti-agent/early_return_helper.cc", |
Alex Light | e814f9d | 2017-07-31 16:14:39 -0700 | [diff] [blame] | 295 | "ti-agent/frame_pop_helper.cc", |
Alex Light | 47d49b8 | 2017-07-25 14:06:34 -0700 | [diff] [blame] | 296 | "ti-agent/locals_helper.cc", |
Alex Light | ce56864 | 2017-09-05 16:54:25 -0700 | [diff] [blame] | 297 | "ti-agent/monitors_helper.cc", |
Alex Light | d0d6596 | 2017-06-30 11:13:33 -0700 | [diff] [blame] | 298 | "ti-agent/redefinition_helper.cc", |
Alex Light | 88fd720 | 2017-06-30 08:31:59 -0700 | [diff] [blame] | 299 | "ti-agent/suspension_helper.cc", |
Alex Light | b4e6507 | 2019-04-25 15:10:32 -0700 | [diff] [blame] | 300 | "ti-agent/suspend_event_helper.cc", |
Alex Light | 47d49b8 | 2017-07-25 14:06:34 -0700 | [diff] [blame] | 301 | "ti-agent/stack_trace_helper.cc", |
Alex Light | 54d39dc | 2017-09-25 17:00:16 -0700 | [diff] [blame] | 302 | "ti-agent/threads_helper.cc", |
Alex Light | d0d6596 | 2017-06-30 11:13:33 -0700 | [diff] [blame] | 303 | "ti-agent/trace_helper.cc", |
Alex Light | 9fb1ab1 | 2017-09-05 09:32:49 -0700 | [diff] [blame] | 304 | "ti-agent/exceptions_helper.cc", |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 305 | // This is the list of non-special OnLoad things and excludes BCI and anything that depends |
| 306 | // on ART internals. |
Andreas Gampe | 6dee92e | 2016-09-12 19:58:13 -0700 | [diff] [blame] | 307 | "903-hello-tagging/tagging.cc", |
Andreas Gampe | 27fa96c | 2016-10-07 15:05:24 -0700 | [diff] [blame] | 308 | "904-object-allocation/tracking.cc", |
Andreas Gampe | cc13b22 | 2016-10-10 19:09:09 -0700 | [diff] [blame] | 309 | "905-object-free/tracking_free.cc", |
Andreas Gampe | e54d992 | 2016-10-11 19:55:37 -0700 | [diff] [blame] | 310 | "906-iterate-heap/iterate_heap.cc", |
Andreas Gampe | aa8b60c | 2016-10-12 12:51:25 -0700 | [diff] [blame] | 311 | "907-get-loaded-classes/get_loaded_classes.cc", |
Andreas Gampe | 9b8c588 | 2016-10-21 15:27:46 -0700 | [diff] [blame] | 312 | "908-gc-start-finish/gc_callbacks.cc", |
Andreas Gampe | 3c252f0 | 2016-10-27 18:25:17 -0700 | [diff] [blame] | 313 | "910-methods/methods.cc", |
Andreas Gampe | b5eb94a | 2016-10-27 19:23:09 -0700 | [diff] [blame] | 314 | "911-get-stack-trace/stack_trace.cc", |
Andreas Gampe | d5f2ccc | 2017-04-19 13:37:48 -0700 | [diff] [blame] | 315 | "912-classes/classes.cc", |
Andreas Gampe | e0f8ed9 | 2017-04-13 16:52:23 -0700 | [diff] [blame] | 316 | "913-heaps/heaps.cc", |
Andreas Gampe | ab2f0d0 | 2017-01-05 17:23:45 -0800 | [diff] [blame] | 317 | "918-fields/fields.cc", |
Andreas Gampe | 50a4e49 | 2017-01-06 18:00:20 -0800 | [diff] [blame] | 318 | "920-objects/objects.cc", |
Andreas Gampe | 1bdaf73 | 2017-01-09 19:21:06 -0800 | [diff] [blame] | 319 | "922-properties/properties.cc", |
Andreas Gampe | 319dbe8 | 2017-01-09 16:42:21 -0800 | [diff] [blame] | 320 | "923-monitors/monitors.cc", |
Andreas Gampe | af13ab9 | 2017-01-11 20:57:40 -0800 | [diff] [blame] | 321 | "924-threads/threads.cc", |
Andreas Gampe | d18d9e2 | 2017-01-16 16:08:45 +0000 | [diff] [blame] | 322 | "925-threadgroups/threadgroups.cc", |
Andreas Gampe | 35bcf81 | 2017-01-13 16:24:17 -0800 | [diff] [blame] | 323 | "927-timers/timers.cc", |
Andreas Gampe | 6f8e4f0 | 2017-01-16 18:18:14 -0800 | [diff] [blame] | 324 | "928-jni-table/jni_table.cc", |
Andreas Gampe | ce7732b | 2017-01-17 15:50:26 -0800 | [diff] [blame] | 325 | "929-search/search.cc", |
Andreas Gampe | 732b0ac | 2017-01-18 15:23:39 -0800 | [diff] [blame] | 326 | "931-agent-thread/agent_thread.cc", |
Andreas Gampe | eb0cea1 | 2017-01-23 08:50:04 -0800 | [diff] [blame] | 327 | "933-misc-events/misc_events.cc", |
Alex Light | 78d6341 | 2017-04-14 16:20:53 -0700 | [diff] [blame] | 328 | "945-obsolete-native/obsolete_native.cc", |
Alex Light | 8fd0856 | 2018-02-13 10:09:03 -0800 | [diff] [blame] | 329 | "983-source-transform-verify/source_transform.cc", |
Alex Light | 78d6341 | 2017-04-14 16:20:53 -0700 | [diff] [blame] | 330 | "984-obsolete-invoke/obsolete_invoke.cc", |
Alex Light | d78ddec | 2017-04-18 15:20:38 -0700 | [diff] [blame] | 331 | "986-native-method-bind/native_bind.cc", |
Alex Light | 65af20b | 2017-04-20 09:15:08 -0700 | [diff] [blame] | 332 | "987-agent-bind/agent_bind.cc", |
Alex Light | e85595e | 2018-08-17 15:54:34 -0700 | [diff] [blame] | 333 | "988-method-trace/trace_fib.cc", |
Alex Light | b7edcda | 2017-04-27 13:20:31 -0700 | [diff] [blame] | 334 | "989-method-trace-throw/method_trace.cc", |
Alex Light | 7c95849 | 2017-06-16 08:59:19 -0700 | [diff] [blame] | 335 | "991-field-trace-2/field_trace.cc", |
Alex Light | 6fa7b81 | 2017-06-16 09:04:29 -0700 | [diff] [blame] | 336 | "992-source-data/source_file.cc", |
Alex Light | c38c369 | 2017-06-27 15:45:14 -0700 | [diff] [blame] | 337 | "993-breakpoints/breakpoints.cc", |
| 338 | "996-breakpoint-obsolete/obsolete_breakpoints.cc", |
Alex Light | 8ddfd9f | 2017-07-05 16:33:46 -0700 | [diff] [blame] | 339 | "1900-track-alloc/alloc.cc", |
Alex Light | 4c17428 | 2017-07-05 10:18:18 -0700 | [diff] [blame] | 340 | "1901-get-bytecodes/bytecodes.cc", |
Alex Light | 88fd720 | 2017-06-30 08:31:59 -0700 | [diff] [blame] | 341 | "1905-suspend-native/native_suspend.cc", |
| 342 | "1908-suspend-native-resume-self/native_suspend_resume.cc", |
Alex Light | 092a404 | 2017-07-12 08:46:44 -0700 | [diff] [blame] | 343 | "1909-per-agent-tls/agent_tls.cc", |
Alex Light | 47d49b8 | 2017-07-25 14:06:34 -0700 | [diff] [blame] | 344 | "1914-get-local-instance/local_instance.cc", |
Alex Light | 1d8a974 | 2017-08-17 11:12:06 -0700 | [diff] [blame] | 345 | "1919-vminit-thread-start-timing/vminit.cc", |
Alex Light | 23aa748 | 2017-08-16 10:01:13 -0700 | [diff] [blame] | 346 | "1920-suspend-native-monitor/native_suspend_monitor.cc", |
| 347 | "1921-suspend-native-recursive-monitor/native_suspend_recursive_monitor.cc", |
Alex Light | 88e1ddd | 2017-08-21 13:09:55 -0700 | [diff] [blame] | 348 | "1922-owned-monitors-info/owned_monitors.cc", |
Alex Light | e814f9d | 2017-07-31 16:14:39 -0700 | [diff] [blame] | 349 | "1924-frame-pop-toggle/frame_pop_toggle.cc", |
| 350 | "1926-missed-frame-pop/frame_pop_missed.cc", |
Alex Light | ce56864 | 2017-09-05 16:54:25 -0700 | [diff] [blame] | 351 | "1927-exception-event/exception_event.cc", |
| 352 | "1930-monitor-info/monitor.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 353 | "1932-monitor-events-misc/monitor_misc.cc", |
Alex Light | 54d39dc | 2017-09-25 17:00:16 -0700 | [diff] [blame] | 354 | "1934-jvmti-signal-thread/signal_threads.cc", |
Alex Light | 3dea212 | 2017-10-11 15:56:48 +0000 | [diff] [blame] | 355 | "1939-proxy-frames/local_instance.cc", |
Alex Light | b284f8d | 2017-11-21 00:00:48 +0000 | [diff] [blame] | 356 | "1941-dispose-stress/dispose_stress.cc", |
Alex Light | 4d77daf | 2018-01-04 11:51:14 -0800 | [diff] [blame] | 357 | "1942-suspend-raw-monitor-exit/native_suspend_monitor.cc", |
| 358 | "1943-suspend-raw-monitor-wait/native_suspend_monitor.cc", |
Alex Light | c758875 | 2018-02-20 11:15:54 -0800 | [diff] [blame] | 359 | "1946-list-descriptors/descriptors.cc", |
Alex Light | 9e7859c | 2018-04-05 13:49:43 -0700 | [diff] [blame] | 360 | "1950-unprepared-transform/unprepared_transform.cc", |
Alex Light | c98f83e | 2018-07-26 08:28:36 -0700 | [diff] [blame] | 361 | "1951-monitor-enter-no-suspend/raw_monitor.cc", |
Alex Light | 0aa7a5a | 2018-10-10 15:58:14 +0000 | [diff] [blame] | 362 | "1953-pop-frame/pop_frame.cc", |
Alex Light | ae45cbb | 2018-10-18 15:49:56 -0700 | [diff] [blame] | 363 | "1957-error-ext/lasterror.cc", |
Alex Light | b7c640d | 2019-03-20 15:52:13 -0700 | [diff] [blame] | 364 | // TODO Renumber |
Alex Light | 4060786 | 2019-05-06 18:16:24 +0000 | [diff] [blame] | 365 | "1962-multi-thread-events/multi_thread_events.cc", |
Alex Light | 639e73b | 2019-05-17 21:44:36 +0000 | [diff] [blame] | 366 | "1963-add-to-dex-classloader-in-memory/add_to_loader.cc", |
Alex Light | b7c640d | 2019-03-20 15:52:13 -0700 | [diff] [blame] | 367 | "1968-force-early-return/force_early_return.cc", |
| 368 | "1969-force-early-return-void/force_early_return_void.cc", |
| 369 | "1970-force-early-return-long/force_early_return_long.cc", |
Alex Light | c14ec8f | 2019-07-18 16:08:41 -0700 | [diff] [blame] | 370 | "1974-resize-array/resize_array.cc", |
Nicolas Geoffray | 4ac0e15 | 2019-09-18 06:14:50 +0000 | [diff] [blame] | 371 | "1975-hello-structural-transformation/structural_transform.cc", |
| 372 | "1976-hello-structural-static-methods/structural_transform_methods.cc", |
Alex Light | 80777ed | 2019-12-17 17:07:33 +0000 | [diff] [blame] | 373 | "2005-pause-all-redefine-multithreaded/pause-all.cc", |
Alex Light | 72325b6 | 2020-01-09 17:49:45 -0800 | [diff] [blame] | 374 | "2009-structural-local-ref/local-ref.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 375 | ], |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 376 | // Use NDK-compatible headers for ctstiagent. |
Alex Light | 8c2b929 | 2017-11-09 13:21:01 -0800 | [diff] [blame] | 377 | header_libs: [ |
Alex Light | 8c2b929 | 2017-11-09 13:21:01 -0800 | [diff] [blame] | 378 | "libopenjdkjvmti_headers", |
| 379 | ], |
Paul Duffin | 4345aac | 2019-07-17 15:51:54 +0100 | [diff] [blame] | 380 | local_include_dirs: ["ti-agent"], |
Andreas Gampe | e54d992 | 2016-10-11 19:55:37 -0700 | [diff] [blame] | 381 | } |
| 382 | |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 383 | art_cc_defaults { |
| 384 | name: "libtiagent-defaults", |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 385 | defaults: [ |
| 386 | "libtiagent-base-defaults", |
| 387 | "libartagent-defaults", |
| 388 | ], |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 389 | srcs: [ |
| 390 | // This is to get the IsInterpreted native method. |
| 391 | "common/stack_inspect.cc", |
| 392 | "common/runtime_state.cc", |
Alex Light | 78d6341 | 2017-04-14 16:20:53 -0700 | [diff] [blame] | 393 | "ti-agent/common_load.cc", |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 394 | // This includes the remaining test functions. We should try to refactor things to |
| 395 | // make this list smaller. |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 396 | "901-hello-ti-agent/basics.cc", |
| 397 | "909-attach-agent/attach.cc", |
Andreas Gampe | d5f2ccc | 2017-04-19 13:37:48 -0700 | [diff] [blame] | 398 | "912-classes/classes_art.cc", |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 399 | "936-search-onload/search_onload.cc", |
Alex Light | fbee398 | 2018-05-24 10:28:46 -0700 | [diff] [blame] | 400 | "980-redefine-object/redef_object.cc", |
Andreas Gampe | 59484b9 | 2018-02-14 14:00:46 -0800 | [diff] [blame] | 401 | "983-source-transform-verify/source_transform_art.cc", |
Alex Light | 8c2b929 | 2017-11-09 13:21:01 -0800 | [diff] [blame] | 402 | "1940-ddms-ext/ddm_ext.cc", |
Alex Light | 0e84118 | 2018-02-12 17:42:50 +0000 | [diff] [blame] | 403 | "1944-sudden-exit/sudden_exit.cc", |
Alex Light | 0aa7a5a | 2018-10-10 15:58:14 +0000 | [diff] [blame] | 404 | // "1952-pop-frame-jit/pop_frame.cc", |
Alex Light | fc81d80 | 2018-12-07 13:39:05 -0800 | [diff] [blame] | 405 | "1959-redefine-object-instrument/fake_redef_object.cc", |
Alex Light | e7a3354 | 2019-04-10 14:22:49 -0700 | [diff] [blame] | 406 | "1960-obsolete-jit-multithread-native/native_say_hi.cc", |
Alex Light | 639e73b | 2019-05-17 21:44:36 +0000 | [diff] [blame] | 407 | "1964-add-to-dex-classloader-file/add_to_loader.cc", |
Alex Light | 098e7a6 | 2019-05-21 16:57:10 -0700 | [diff] [blame] | 408 | "1963-add-to-dex-classloader-in-memory/check_memfd_create.cc", |
Alex Light | 3f0dca1 | 2020-01-27 17:20:28 -0800 | [diff] [blame] | 409 | "2012-structural-redefinition-failures-jni-id/set-jni-id-used.cc", |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 410 | ], |
Alex Light | fbee398 | 2018-05-24 10:28:46 -0700 | [diff] [blame] | 411 | static_libs: [ |
Nicolas Geoffray | 65ed42a | 2018-10-30 12:33:04 +0000 | [diff] [blame] | 412 | "libz", |
Andreas Gampe | 7e057ec | 2019-03-04 13:11:22 -0800 | [diff] [blame] | 413 | "slicer_no_rtti", |
Alex Light | fbee398 | 2018-05-24 10:28:46 -0700 | [diff] [blame] | 414 | ], |
Andreas Gampe | 027444b | 2017-03-31 12:49:07 -0700 | [diff] [blame] | 415 | } |
| 416 | |
Andreas Gampe | e54d992 | 2016-10-11 19:55:37 -0700 | [diff] [blame] | 417 | art_cc_test_library { |
| 418 | name: "libtiagent", |
| 419 | defaults: ["libtiagent-defaults"], |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 420 | shared_libs: [ |
| 421 | "libart", |
| 422 | "libdexfile", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 423 | "libprofile", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 424 | "libartbase", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 425 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 426 | } |
| 427 | |
| 428 | art_cc_test_library { |
| 429 | name: "libtiagentd", |
| 430 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 431 | "art_debug_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 432 | "libtiagent-defaults", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 433 | ], |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 434 | shared_libs: [ |
| 435 | "libartd", |
| 436 | "libdexfiled", |
David Sehr | 82d046e | 2018-04-23 08:14:19 -0700 | [diff] [blame] | 437 | "libprofiled", |
David Sehr | 1f01016 | 2018-05-15 08:59:32 -0700 | [diff] [blame] | 438 | "libartbased", |
David Sehr | fcbe15c | 2018-02-15 09:41:13 -0800 | [diff] [blame] | 439 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 440 | } |
| 441 | |
Andreas Gampe | 59484b9 | 2018-02-14 14:00:46 -0800 | [diff] [blame] | 442 | cc_library_static { |
Andreas Gampe | d0ed0d9 | 2018-02-12 15:03:36 -0800 | [diff] [blame] | 443 | name: "libctstiagent", |
| 444 | defaults: ["libtiagent-base-defaults"], |
Martin Stjernholm | b4abe0a | 2019-05-17 19:22:55 +0100 | [diff] [blame] | 445 | visibility: [ |
| 446 | "//cts/hostsidetests/jvmti:__subpackages__", |
| 447 | ], |
Andreas Gampe | 59484b9 | 2018-02-14 14:00:46 -0800 | [diff] [blame] | 448 | host_supported: false, |
| 449 | srcs: [ |
| 450 | "983-source-transform-verify/source_transform_slicer.cc", |
| 451 | ], |
Andreas Gampe | d0ed0d9 | 2018-02-12 15:03:36 -0800 | [diff] [blame] | 452 | whole_static_libs: [ |
Andreas Gampe | 7e057ec | 2019-03-04 13:11:22 -0800 | [diff] [blame] | 453 | "slicer_ndk_no_rtti", |
Andreas Gampe | d0ed0d9 | 2018-02-12 15:03:36 -0800 | [diff] [blame] | 454 | ], |
| 455 | static_libs: [ |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 456 | "libbase_ndk", |
Andreas Gampe | d0ed0d9 | 2018-02-12 15:03:36 -0800 | [diff] [blame] | 457 | ], |
Nicolas Geoffray | 65ed42a | 2018-10-30 12:33:04 +0000 | [diff] [blame] | 458 | shared_libs: [ |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 459 | "libz", // for slicer (using adler32). |
Nicolas Geoffray | 65ed42a | 2018-10-30 12:33:04 +0000 | [diff] [blame] | 460 | ], |
Andreas Gampe | cb5125d | 2018-02-20 09:36:54 -0800 | [diff] [blame] | 461 | sdk_version: "current", |
| 462 | stl: "c++_static", |
Paul Duffin | 4345aac | 2019-07-17 15:51:54 +0100 | [diff] [blame] | 463 | header_libs: [ |
| 464 | "jni_headers", |
Alex Light | 8fd0856 | 2018-02-13 10:09:03 -0800 | [diff] [blame] | 465 | // This is needed to resolve the base/ header file in libdexfile. Unfortunately there are |
| 466 | // many problems with how we export headers that are making doing this the 'right' way |
| 467 | // difficult. |
| 468 | // TODO: move those headers to art/ rather than under runtime. |
Paul Duffin | 4345aac | 2019-07-17 15:51:54 +0100 | [diff] [blame] | 469 | "libart_runtime_headers_ndk", |
Alex Light | 8fd0856 | 2018-02-13 10:09:03 -0800 | [diff] [blame] | 470 | ], |
Andreas Gampe | d0ed0d9 | 2018-02-12 15:03:36 -0800 | [diff] [blame] | 471 | export_include_dirs: ["ti-agent"], |
| 472 | } |
| 473 | |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 474 | art_cc_defaults { |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 475 | name: "libtistress-srcs", |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 476 | defaults: ["libartagent-defaults"], |
| 477 | srcs: [ |
| 478 | "ti-stress/stress.cc", |
| 479 | ], |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 480 | header_libs: ["libopenjdkjvmti_headers"], |
| 481 | } |
| 482 | |
| 483 | art_cc_defaults { |
| 484 | name: "libtistress-defaults", |
| 485 | defaults: ["libtistress-srcs"], |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 486 | shared_libs: [ |
Andreas Gampe | 7e057ec | 2019-03-04 13:11:22 -0800 | [diff] [blame] | 487 | "slicer_no_rtti", |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 488 | "libz", // for slicer (using adler32). |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 489 | ], |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 490 | } |
| 491 | |
| 492 | art_cc_test_library { |
| 493 | name: "libtistress", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 494 | defaults: ["libtistress-defaults"], |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 495 | shared_libs: [ |
| 496 | "libartbase", |
| 497 | "libz", |
| 498 | ], |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 499 | } |
| 500 | |
| 501 | art_cc_test_library { |
| 502 | name: "libtistressd", |
| 503 | defaults: [ |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 504 | "art_debug_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 505 | "libtistress-defaults", |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 506 | ], |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 507 | shared_libs: [ |
| 508 | "libartbased", |
| 509 | "libz", |
| 510 | ], |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 511 | } |
| 512 | |
| 513 | art_cc_defaults { |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 514 | name: "libtistress-shared-defaults", |
Andreas Gampe | ec5ed06 | 2018-01-26 16:20:02 -0800 | [diff] [blame] | 515 | defaults: [ |
| 516 | "libtistress-srcs", |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 517 | ], |
Andreas Gampe | 7e057ec | 2019-03-04 13:11:22 -0800 | [diff] [blame] | 518 | static_libs: ["slicer_no_rtti"], |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 519 | } |
| 520 | |
| 521 | art_cc_test_library { |
| 522 | name: "libtistresss", |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 523 | defaults: ["libtistress-shared-defaults"], |
| 524 | shared_libs: [ |
| 525 | "libartbase", |
| 526 | "libz", |
| 527 | ], |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 528 | } |
| 529 | |
| 530 | art_cc_test_library { |
| 531 | name: "libtistressds", |
| 532 | defaults: [ |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 533 | "libtistress-shared-defaults", |
Alex Light | 8865914 | 2018-05-15 10:53:06 -0700 | [diff] [blame] | 534 | ], |
Vladimir Marko | e8a83af | 2020-01-29 10:14:44 +0000 | [diff] [blame] | 535 | shared_libs: [ |
| 536 | "libartbased", |
| 537 | "libz", |
| 538 | ], |
Alex Light | 8f2c6d4 | 2017-04-10 16:27:35 -0700 | [diff] [blame] | 539 | } |
| 540 | |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 541 | cc_defaults { |
| 542 | name: "libarttest-defaults", |
| 543 | defaults: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 544 | "art_test_defaults", |
Andreas Gampe | 5115efb | 2017-05-24 16:55:54 -0700 | [diff] [blame] | 545 | "art_defaults", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 546 | ], |
| 547 | srcs: [ |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 548 | "004-JniTest/jni_test.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 549 | "004-ReferenceMap/stack_walk_refmap_jni.cc", |
Roland Levillain | ad0777d | 2018-02-12 20:00:18 +0000 | [diff] [blame] | 550 | "004-SignalTest/signaltest.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 551 | "004-StackWalk/stack_walk_jni.cc", |
| 552 | "004-ThreadStress/thread_stress.cc", |
| 553 | "004-UnsafeTest/unsafe_test.cc", |
| 554 | "044-proxy/native_proxy.cc", |
| 555 | "051-thread/thread_test.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 556 | "1337-gc-coverage/gc_coverage.cc", |
| 557 | "136-daemon-jni-shutdown/daemon_jni_shutdown.cc", |
| 558 | "137-cfi/cfi.cc", |
| 559 | "139-register-natives/regnative.cc", |
| 560 | "141-class-unload/jni_unload.cc", |
| 561 | "148-multithread-gc-annotations/gc_coverage.cc", |
| 562 | "149-suspend-all-stress/suspend_all.cc", |
Mathieu Chartier | 72a3289 | 2017-01-24 09:40:56 -0800 | [diff] [blame] | 563 | "154-gc-loop/heap_interface.cc", |
Andreas Gampe | aaf0d38 | 2017-11-27 14:10:21 -0800 | [diff] [blame] | 564 | "167-visit-locks/visit_locks.cc", |
Andreas Gampe | 5677601 | 2018-01-26 17:40:55 -0800 | [diff] [blame] | 565 | "169-threadgroup-jni/jni_daemon_thread.cc", |
Mathieu Chartier | adc9086 | 2018-05-11 13:03:06 -0700 | [diff] [blame] | 566 | "172-app-image-twice/debug_print_class.cc", |
Vladimir Marko | 422a9eb | 2019-08-01 12:54:07 +0100 | [diff] [blame] | 567 | "177-visibly-initialized-deadlock/visibly_initialized.cc", |
Vladimir Marko | 7dac864 | 2019-11-06 17:09:30 +0000 | [diff] [blame] | 568 | "178-app-image-native-method/native_methods.cc", |
Roland Levillain | ad0777d | 2018-02-12 20:00:18 +0000 | [diff] [blame] | 569 | "1945-proxy-method-arguments/get_args.cc", |
Andreas Gampe | aaf0d38 | 2017-11-27 14:10:21 -0800 | [diff] [blame] | 570 | "203-multi-checkpoint/multi_checkpoint.cc", |
Alex Light | f4ed7e8 | 2018-01-17 11:52:36 -0800 | [diff] [blame] | 571 | "305-other-fault-handler/fault_handler.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 572 | "454-get-vreg/get_vreg_jni.cc", |
| 573 | "457-regs/regs_jni.cc", |
| 574 | "461-get-reference-vreg/get_reference_vreg_jni.cc", |
| 575 | "466-get-live-vreg/get_live_vreg_jni.cc", |
| 576 | "497-inlining-and-class-loader/clear_dex_cache.cc", |
| 577 | "543-env-long-ref/env_long_ref.cc", |
| 578 | "566-polymorphic-inlining/polymorphic_inline.cc", |
| 579 | "570-checker-osr/osr.cc", |
| 580 | "595-profile-saving/profile-saving.cc", |
| 581 | "596-app-images/app_images.cc", |
Hans Boehm | 6fe97e0 | 2016-05-04 18:35:57 -0700 | [diff] [blame] | 582 | "596-monitor-inflation/monitor_inflation.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 583 | "597-deopt-new-string/deopt.cc", |
Alexey Grebenkin | be4c2bd | 2018-02-01 19:09:59 +0300 | [diff] [blame] | 584 | "616-cha-unloading/cha_unload.cc", |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 585 | "626-const-class-linking/clear_dex_cache_types.cc", |
Nicolas Geoffray | 13a797b | 2017-03-15 16:41:31 +0000 | [diff] [blame] | 586 | "642-fp-callees/fp_callees.cc", |
Vladimir Marko | 5fdd778 | 2017-04-20 11:26:03 +0100 | [diff] [blame] | 587 | "647-jni-get-field-id/get_field_id.cc", |
Roland Levillain | 0d2323e | 2017-06-26 18:14:39 +0100 | [diff] [blame] | 588 | "656-annotation-lookup-generic-jni/test.cc", |
Igor Murashkin | 545412b | 2017-08-17 15:26:54 -0700 | [diff] [blame] | 589 | "661-oat-writer-layout/oat_writer_layout.cc", |
| 590 | "664-aget-verifier/aget-verifier.cc", |
Vladimir Marko | 2196c65 | 2017-11-30 16:16:07 +0000 | [diff] [blame] | 591 | "667-jit-jni-stub/jit_jni_stub_test.cc", |
David Brazdil | 11b67b2 | 2018-01-18 16:41:40 +0000 | [diff] [blame] | 592 | "674-hiddenapi/hiddenapi.cc", |
David Brazdil | 331a5e1 | 2019-04-01 22:46:16 +0000 | [diff] [blame] | 593 | "692-vdex-inmem-loader/vdex_inmem_loader.cc", |
Dan Willemsen | 2ca2780 | 2017-09-27 14:57:43 -0700 | [diff] [blame] | 594 | "708-jit-cache-churn/jit.cc", |
Nicolas Geoffray | fa59588 | 2019-08-06 17:40:09 +0100 | [diff] [blame] | 595 | "720-thread-priority/thread_priority.cc", |
Alexey Grebenkin | ce75049 | 2018-05-31 23:42:20 +0300 | [diff] [blame] | 596 | "800-smali/jni.cc", |
Alex Light | f889c70 | 2018-02-23 15:25:45 -0800 | [diff] [blame] | 597 | "909-attach-agent/disallow_debugging.cc", |
Mathieu Chartier | 00fbe4f | 2019-01-02 16:52:38 -0800 | [diff] [blame] | 598 | "1001-app-image-regions/app_image_regions.cc", |
Mathieu Chartier | 175ce3d | 2019-03-06 16:54:24 -0800 | [diff] [blame] | 599 | "1002-notify-startup/startup_interface.cc", |
Alex Light | e34fe44 | 2018-02-21 17:35:55 -0800 | [diff] [blame] | 600 | "1947-breakpoint-redefine-deopt/check_deopt.cc", |
Alex Light | f367747 | 2019-06-26 16:31:53 -0700 | [diff] [blame] | 601 | "1972-jni-id-swap-indices/jni_id.cc", |
Alex Light | 55eccdf | 2019-10-07 13:51:13 +0000 | [diff] [blame] | 602 | "1985-structural-redefine-stack-scope/stack_scope.cc", |
Nicolas Geoffray | e91e795 | 2020-01-23 10:15:56 +0000 | [diff] [blame^] | 603 | "2011-stack-walk-concurrent-instrument/stack_walk_concurrent.cc", |
Roland Levillain | ad0777d | 2018-02-12 20:00:18 +0000 | [diff] [blame] | 604 | "common/runtime_state.cc", |
| 605 | "common/stack_inspect.cc", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 606 | ], |
| 607 | shared_libs: [ |
| 608 | "libbacktrace", |
Andreas Gampe | 3fec9ac | 2016-09-13 10:47:28 -0700 | [diff] [blame] | 609 | "libbase", |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 610 | "libnativehelper", |
| 611 | ], |
Colin Cross | afd3c9e | 2016-09-16 13:47:21 -0700 | [diff] [blame] | 612 | } |
| 613 | |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 614 | filegroup { |
| 615 | name: "art_cts_jvmti_test_library", |
Martin Stjernholm | b4abe0a | 2019-05-17 19:22:55 +0100 | [diff] [blame] | 616 | visibility: [ |
| 617 | "//cts/hostsidetests/jvmti:__subpackages__", |
| 618 | ], |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 619 | srcs: [ |
| 620 | // shim classes. We use one that exposes the common functionality. |
Alex Light | 23ca8fb | 2019-05-10 11:27:02 -0700 | [diff] [blame] | 621 | "jvmti-common/Redefinition.java", |
| 622 | "jvmti-common/Main.java", |
| 623 | "jvmti-common/Trace.java", |
| 624 | "jvmti-common/Breakpoint.java", |
| 625 | "jvmti-common/Suspension.java", |
| 626 | "jvmti-common/Locals.java", |
| 627 | "jvmti-common/StackTrace.java", |
| 628 | "jvmti-common/FramePop.java", |
| 629 | "jvmti-common/Exceptions.java", |
| 630 | "jvmti-common/Monitors.java", |
Alex Light | fe0ce64 | 2020-01-07 13:14:18 -0800 | [diff] [blame] | 631 | "jvmti-common/NonStandardExit.java", |
Alex Light | 23ca8fb | 2019-05-10 11:27:02 -0700 | [diff] [blame] | 632 | "jvmti-common/Threads.java", |
| 633 | "jvmti-common/SuspendEvents.java", |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 634 | |
| 635 | // Actual test classes. |
| 636 | "901-hello-ti-agent/src/art/Test901.java", |
| 637 | "902-hello-transformation/src/art/Test902.java", |
| 638 | "903-hello-tagging/src/art/Test903.java", |
| 639 | "904-object-allocation/src/art/Test904.java", |
| 640 | "905-object-free/src/art/Test905.java", |
| 641 | "906-iterate-heap/src/art/Test906.java", |
| 642 | "907-get-loaded-classes/src/art/Test907.java", |
| 643 | "907-get-loaded-classes/src/art/Cerr.java", |
| 644 | "908-gc-start-finish/src/art/Test908.java", |
| 645 | "910-methods/src/art/Test910.java", |
| 646 | "911-get-stack-trace/src/art/Test911.java", |
| 647 | "911-get-stack-trace/src/art/AllTraces.java", |
| 648 | "911-get-stack-trace/src/art/ControlData.java", |
| 649 | "911-get-stack-trace/src/art/Frames.java", |
| 650 | "911-get-stack-trace/src/art/OtherThread.java", |
| 651 | "911-get-stack-trace/src/art/PrintThread.java", |
| 652 | "911-get-stack-trace/src/art/Recurse.java", |
| 653 | "911-get-stack-trace/src/art/SameThread.java", |
| 654 | "911-get-stack-trace/src/art/ThreadListTraces.java", |
| 655 | "912-classes/src-art/art/Test912.java", |
| 656 | "912-classes/src-art/art/DexData.java", |
| 657 | "913-heaps/src/art/Test913.java", |
| 658 | "914-hello-obsolescence/src/art/Test914.java", |
| 659 | "915-obsolete-2/src/art/Test915.java", |
| 660 | "917-fields-transformation/src/art/Test917.java", |
| 661 | "918-fields/src/art/Test918.java", |
| 662 | "919-obsolete-fields/src/art/Test919.java", |
| 663 | "920-objects/src/art/Test920.java", |
| 664 | "922-properties/src/art/Test922.java", |
| 665 | "923-monitors/src/art/Test923.java", |
| 666 | "924-threads/src/art/Test924.java", |
| 667 | "925-threadgroups/src/art/Test925.java", |
| 668 | "926-multi-obsolescence/src/art/Test926.java", |
| 669 | "927-timers/src/art/Test927.java", |
| 670 | "928-jni-table/src/art/Test928.java", |
| 671 | "930-hello-retransform/src/art/Test930.java", |
| 672 | "931-agent-thread/src/art/Test931.java", |
| 673 | "932-transform-saves/src/art/Test932.java", |
| 674 | "933-misc-events/src/art/Test933.java", |
| 675 | "940-recursive-obsolete/src/art/Test940.java", |
| 676 | "942-private-recursive/src/art/Test942.java", |
| 677 | "944-transform-classloaders/src/art/Test944.java", |
| 678 | "945-obsolete-native/src/art/Test945.java", |
| 679 | "947-reflect-method/src/art/Test947.java", |
| 680 | "951-threaded-obsolete/src/art/Test951.java", |
| 681 | "982-ok-no-retransform/src/art/Test982.java", |
| 682 | "983-source-transform-verify/src/art/Test983.java", |
| 683 | "984-obsolete-invoke/src/art/Test984.java", |
| 684 | "985-re-obsolete/src/art/Test985.java", |
| 685 | "986-native-method-bind/src/art/Test986.java", |
| 686 | "988-method-trace/src/art/Test988.java", |
| 687 | "988-method-trace/src/art/Test988Intrinsics.java", |
| 688 | "989-method-trace-throw/src/art/Test989.java", |
| 689 | "990-field-trace/src/art/Test990.java", |
| 690 | "991-field-trace-2/src/art/Test991.java", |
| 691 | "992-source-data/src/art/Test992.java", |
| 692 | "992-source-data/src/art/Target2.java", |
| 693 | "993-breakpoints/src/art/Test993.java", |
| 694 | "994-breakpoint-line/src/art/Test994.java", |
| 695 | "995-breakpoints-throw/src/art/Test995.java", |
| 696 | "996-breakpoint-obsolete/src/art/Test996.java", |
| 697 | "997-single-step/src/art/Test997.java", |
| 698 | "1900-track-alloc/src/art/Test1900.java", |
| 699 | "1901-get-bytecodes/src/art/Test1901.java", |
| 700 | "1902-suspend/src/art/Test1902.java", |
| 701 | "1903-suspend-self/src/art/Test1903.java", |
| 702 | "1904-double-suspend/src/art/Test1904.java", |
| 703 | "1906-suspend-list-me-first/src/art/Test1906.java", |
| 704 | "1907-suspend-list-self-twice/src/art/Test1907.java", |
| 705 | "1908-suspend-native-resume-self/src/art/Test1908.java", |
| 706 | "1909-per-agent-tls/src/art/Test1909.java", |
| 707 | "1910-transform-with-default/src/art/Test1910.java", |
| 708 | "1911-get-local-var-table/src/art/Test1911.java", |
| 709 | "1912-get-set-local-primitive/src/art/Test1912.java", |
| 710 | "1913-get-set-local-objects/src/art/Test1913.java", |
| 711 | "1914-get-local-instance/src/art/Test1914.java", |
| 712 | "1915-get-set-local-current-thread/src/art/Test1915.java", |
| 713 | "1916-get-set-current-frame/src/art/Test1916.java", |
| 714 | "1917-get-stack-frame/src/art/Test1917.java", |
| 715 | "1920-suspend-native-monitor/src/art/Test1920.java", |
| 716 | "1921-suspend-native-recursive-monitor/src/art/Test1921.java", |
| 717 | "1922-owned-monitors-info/src/art/Test1922.java", |
| 718 | "1923-frame-pop/src/art/Test1923.java", |
| 719 | "1924-frame-pop-toggle/src/art/Test1924.java", |
| 720 | "1925-self-frame-pop/src/art/Test1925.java", |
| 721 | "1926-missed-frame-pop/src/art/Test1926.java", |
| 722 | "1927-exception-event/src/art/Test1927.java", |
| 723 | "1928-exception-event-exception/src/art/Test1928.java", |
| 724 | "1930-monitor-info/src/art/Test1930.java", |
| 725 | "1931-monitor-events/src/art/Test1931.java", |
| 726 | "1932-monitor-events-misc/src/art/Test1932.java", |
| 727 | "1933-monitor-current-contended/src/art/Test1933.java", |
| 728 | "1934-jvmti-signal-thread/src/art/Test1934.java", |
| 729 | "1936-thread-end-events/src/art/Test1936.java", |
| 730 | "1937-transform-soft-fail/src/art/Test1937.java", |
| 731 | "1939-proxy-frames/src/art/Test1939.java", |
| 732 | "1941-dispose-stress/src/art/Test1941.java", |
| 733 | "1942-suspend-raw-monitor-exit/src/art/Test1942.java", |
| 734 | "1943-suspend-raw-monitor-wait/src/art/Test1943.java", |
| 735 | "1953-pop-frame/src/art/Test1953.java", |
| 736 | "1958-transform-try-jit/src/art/Test1958.java", |
Alex Light | 4060786 | 2019-05-06 18:16:24 +0000 | [diff] [blame] | 737 | "1962-multi-thread-events/src/art/Test1962.java", |
Alex Light | fe0ce64 | 2020-01-07 13:14:18 -0800 | [diff] [blame] | 738 | "1963-add-to-dex-classloader-in-memory/src/art/Test1963.java", |
| 739 | "1967-get-set-local-bad-slot/src/art/Test1967.java", |
| 740 | "1968-force-early-return/src/art/Test1968.java", |
| 741 | "1969-force-early-return-void/src/art/Test1969.java", |
| 742 | "1970-force-early-return-long/src/art/Test1970.java", |
| 743 | "1971-multi-force-early-return/src/art/Test1971.java", |
| 744 | "1974-resize-array/src/art/Test1974.java", |
| 745 | "1975-hello-structural-transformation/src/art/Test1975.java", |
| 746 | "1975-hello-structural-transformation/src/art/Transform1975.java", |
| 747 | "1976-hello-structural-static-methods/src/art/Test1976.java", |
| 748 | "1976-hello-structural-static-methods/src/art/Transform1976.java", |
| 749 | "1977-hello-structural-obsolescence/src/art/Test1977.java", |
| 750 | "1978-regular-obsolete-then-structural-obsolescence/src/art/Test1978.java", |
| 751 | "1979-threaded-structural-transformation/src/art/Test1979.java", |
| 752 | "1981-structural-redef-private-method-handles/src/art/Test1981.java", |
| 753 | // TODO Requires VarHandles to be un-@hide. See b/64382372 |
| 754 | // "1981-structural-redef-private-method-handles/src/art/Test1981_Varhandles.java", |
| 755 | "1982-no-virtuals-structural-redefinition/src/art/Test1982.java", |
| 756 | "1983-structural-redefinition-failures/src/art/Test1983.java", |
| 757 | "1984-structural-redefine-field-trace/src/art/Test1984.java", |
| 758 | "1988-multi-structural-redefine/src/art/Test1988.java", |
| 759 | "1989-transform-bad-monitor/src/art/Test1989.java", |
| 760 | "1990-structural-bad-verify/src/art/Test1990.java", |
| 761 | "1991-hello-structural-retransform/src/art/Test1991.java", |
| 762 | "1992-retransform-no-such-field/src/art/Test1992.java", |
| 763 | "1994-final-virtual-structural/src/art/Test1994.java", |
| 764 | "1995-final-virtual-structural-multithread/src/art/Test1995.java", |
| 765 | "1996-final-override-virtual-structural/src/art/Test1996.java", |
| 766 | "1997-structural-shadow-method/src/art/Test1997.java", |
| 767 | "1998-structural-shadow-field/src/art/Test1998.java", |
| 768 | "1999-virtual-structural/src/art/Test1999.java", |
| 769 | "2001-virtual-structural-multithread/src-art/art/Test2001.java", |
| 770 | "2002-virtual-structural-initializing/src-art/art/Test2002.java", |
| 771 | "2003-double-virtual-structural/src/art/Test2003.java", |
| 772 | "2004-double-virtual-structural-abstract/src/art/Test2004.java", |
| 773 | "2005-pause-all-redefine-multithreaded/src/art/Test2005.java", |
| 774 | "2006-virtual-structural-finalizing/src-art/art/Test2006.java", |
| 775 | "2007-virtual-structural-finalizable/src-art/art/Test2007.java", |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 776 | ], |
| 777 | } |
| 778 | |
| 779 | // CTS test runner in cts/hostsidetests/jvmti looks for an expected test |
| 780 | // result for the test NN in the file results.NN.expected.txt while in the |
| 781 | // source tree each expected test result is in the NN-xxxx/expected.txt. |
| 782 | // Copy+rename them them to a temporary directory and them zip them. |
| 783 | java_genrule { |
| 784 | name: "expected_cts_outputs", |
Martin Stjernholm | b4abe0a | 2019-05-17 19:22:55 +0100 | [diff] [blame] | 785 | visibility: [ |
| 786 | "//cts/hostsidetests/jvmti:__subpackages__", |
| 787 | ], |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 788 | srcs: [ |
| 789 | "901-hello-ti-agent/expected.txt", |
| 790 | "902-hello-transformation/expected.txt", |
| 791 | "903-hello-tagging/expected.txt", |
| 792 | "904-object-allocation/expected.txt", |
| 793 | "905-object-free/expected.txt", |
| 794 | "906-iterate-heap/expected.txt", |
| 795 | "907-get-loaded-classes/expected.txt", |
| 796 | "908-gc-start-finish/expected.txt", |
| 797 | "910-methods/expected.txt", |
Alex Light | 4681f20 | 2020-01-10 09:27:57 -0800 | [diff] [blame] | 798 | "911-get-stack-trace/expected-cts-version.txt", |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 799 | "912-classes/expected.txt", |
| 800 | "913-heaps/expected.txt", |
| 801 | "914-hello-obsolescence/expected.txt", |
| 802 | "915-obsolete-2/expected.txt", |
| 803 | "917-fields-transformation/expected.txt", |
| 804 | "918-fields/expected.txt", |
| 805 | "919-obsolete-fields/expected.txt", |
| 806 | "920-objects/expected.txt", |
| 807 | "922-properties/expected.txt", |
| 808 | "923-monitors/expected.txt", |
| 809 | "924-threads/expected.txt", |
| 810 | "925-threadgroups/expected.txt", |
| 811 | "926-multi-obsolescence/expected.txt", |
| 812 | "927-timers/expected.txt", |
| 813 | "928-jni-table/expected.txt", |
| 814 | "930-hello-retransform/expected.txt", |
| 815 | "931-agent-thread/expected.txt", |
| 816 | "932-transform-saves/expected.txt", |
| 817 | "933-misc-events/expected.txt", |
| 818 | "940-recursive-obsolete/expected.txt", |
| 819 | "942-private-recursive/expected.txt", |
| 820 | "944-transform-classloaders/expected.txt", |
| 821 | "945-obsolete-native/expected.txt", |
| 822 | "947-reflect-method/expected.txt", |
| 823 | "951-threaded-obsolete/expected.txt", |
| 824 | "982-ok-no-retransform/expected.txt", |
| 825 | "983-source-transform-verify/expected.txt", |
| 826 | "984-obsolete-invoke/expected.txt", |
| 827 | "985-re-obsolete/expected.txt", |
| 828 | "986-native-method-bind/expected.txt", |
| 829 | "988-method-trace/expected.txt", |
| 830 | "989-method-trace-throw/expected.txt", |
| 831 | "990-field-trace/expected.txt", |
| 832 | "991-field-trace-2/expected.txt", |
| 833 | "992-source-data/expected.txt", |
| 834 | "993-breakpoints/expected.txt", |
| 835 | "994-breakpoint-line/expected.txt", |
| 836 | "995-breakpoints-throw/expected.txt", |
| 837 | "996-breakpoint-obsolete/expected.txt", |
| 838 | "997-single-step/expected.txt", |
| 839 | "1900-track-alloc/expected.txt", |
| 840 | "1901-get-bytecodes/expected.txt", |
| 841 | "1902-suspend/expected.txt", |
| 842 | "1903-suspend-self/expected.txt", |
| 843 | "1904-double-suspend/expected.txt", |
| 844 | "1906-suspend-list-me-first/expected.txt", |
| 845 | "1907-suspend-list-self-twice/expected.txt", |
| 846 | "1908-suspend-native-resume-self/expected.txt", |
| 847 | "1909-per-agent-tls/expected.txt", |
| 848 | "1910-transform-with-default/expected.txt", |
| 849 | "1911-get-local-var-table/expected.txt", |
| 850 | "1912-get-set-local-primitive/expected.txt", |
| 851 | "1913-get-set-local-objects/expected.txt", |
| 852 | "1914-get-local-instance/expected.txt", |
| 853 | "1915-get-set-local-current-thread/expected.txt", |
| 854 | "1916-get-set-current-frame/expected.txt", |
| 855 | "1917-get-stack-frame/expected.txt", |
| 856 | "1920-suspend-native-monitor/expected.txt", |
| 857 | "1921-suspend-native-recursive-monitor/expected.txt", |
| 858 | "1922-owned-monitors-info/expected.txt", |
| 859 | "1923-frame-pop/expected.txt", |
| 860 | "1924-frame-pop-toggle/expected.txt", |
| 861 | "1925-self-frame-pop/expected.txt", |
| 862 | "1926-missed-frame-pop/expected.txt", |
| 863 | "1927-exception-event/expected.txt", |
| 864 | "1928-exception-event-exception/expected.txt", |
| 865 | "1930-monitor-info/expected.txt", |
| 866 | "1931-monitor-events/expected.txt", |
| 867 | "1932-monitor-events-misc/expected.txt", |
| 868 | "1933-monitor-current-contended/expected.txt", |
| 869 | "1934-jvmti-signal-thread/expected.txt", |
| 870 | "1936-thread-end-events/expected.txt", |
| 871 | "1937-transform-soft-fail/expected.txt", |
| 872 | "1939-proxy-frames/expected.txt", |
| 873 | "1941-dispose-stress/expected.txt", |
| 874 | "1942-suspend-raw-monitor-exit/expected.txt", |
| 875 | "1943-suspend-raw-monitor-wait/expected.txt", |
| 876 | "1953-pop-frame/expected.txt", |
| 877 | "1958-transform-try-jit/expected.txt", |
Alex Light | fe0ce64 | 2020-01-07 13:14:18 -0800 | [diff] [blame] | 878 | "1962-multi-thread-events/expected.txt", |
| 879 | "1963-add-to-dex-classloader-in-memory/expected.txt", |
| 880 | "1967-get-set-local-bad-slot/expected.txt", |
| 881 | "1968-force-early-return/expected.txt", |
| 882 | "1969-force-early-return-void/expected.txt", |
| 883 | "1970-force-early-return-long/expected.txt", |
| 884 | "1971-multi-force-early-return/expected.txt", |
| 885 | "1974-resize-array/expected.txt", |
| 886 | "1975-hello-structural-transformation/expected.txt", |
| 887 | "1976-hello-structural-static-methods/expected.txt", |
| 888 | "1977-hello-structural-obsolescence/expected.txt", |
| 889 | "1978-regular-obsolete-then-structural-obsolescence/expected.txt", |
| 890 | "1979-threaded-structural-transformation/expected.txt", |
| 891 | // TODO Requires VarHandles to be un-@hide. See b/64382372 |
| 892 | // "test/1981-structural-redef-private-method-handles/expected.txt", |
| 893 | "1981-structural-redef-private-method-handles/expected_no_mh.txt", |
| 894 | "1982-no-virtuals-structural-redefinition/expected.txt", |
Alex Light | 5c7f367 | 2020-01-27 15:23:30 -0800 | [diff] [blame] | 895 | // JNI-id use can change the outcome of this test on device. |
| 896 | "1983-structural-redefinition-failures/expected-cts.txt", |
Alex Light | fe0ce64 | 2020-01-07 13:14:18 -0800 | [diff] [blame] | 897 | "1984-structural-redefine-field-trace/expected.txt", |
| 898 | "1988-multi-structural-redefine/expected.txt", |
| 899 | "1989-transform-bad-monitor/expected.txt", |
| 900 | "1990-structural-bad-verify/expected.txt", |
| 901 | "1991-hello-structural-retransform/expected.txt", |
| 902 | "1992-retransform-no-such-field/expected.txt", |
| 903 | "1994-final-virtual-structural/expected.txt", |
| 904 | "1995-final-virtual-structural-multithread/expected.txt", |
| 905 | "1996-final-override-virtual-structural/expected.txt", |
| 906 | "1997-structural-shadow-method/expected.txt", |
| 907 | "1998-structural-shadow-field/expected.txt", |
| 908 | "1999-virtual-structural/expected.txt", |
| 909 | "2001-virtual-structural-multithread/expected.txt", |
| 910 | "2002-virtual-structural-initializing/expected.txt", |
| 911 | "2003-double-virtual-structural/expected.txt", |
| 912 | "2004-double-virtual-structural-abstract/expected.txt", |
| 913 | "2005-pause-all-redefine-multithreaded/expected.txt", |
| 914 | "2006-virtual-structural-finalizing/expected.txt", |
| 915 | "2007-virtual-structural-finalizable/expected.txt", |
Sasha Smundak | c7c5d53 | 2019-02-27 15:03:37 -0800 | [diff] [blame] | 916 | ], |
| 917 | out: ["expected_cts_outputs.jar"], |
| 918 | tools: ["soong_zip"], |
| 919 | cmd: "rm -rf $(genDir)/res && mkdir -p $(genDir)/res && " + |
| 920 | "for f in $(in); do x=$${f#art/test/}; " + |
| 921 | "cp $$f $(genDir)/res/results.$${x%%-*}.expected.txt; done && " + |
| 922 | "$(location soong_zip) -o $(out) -C $(genDir)/res -D $(genDir)/res", |
| 923 | } |