Jamie Garside
56f2b7000c
Properly package JNI libs in Robo tests
...
Previously, the jni_libs property was ignored when packaging
robolectric-tests.zip, meaning that tests sometimes couldn't find native
libraries. This change causes any native libs that tests use to be
written alongside the .jar/.apk for Robolectric tests.
99% of this code is just stolen from the Ravenwood tests, as they work
in this area. In short though, any native libs will be built for the
host arch and put in the correct place.
Tests are a little lacking (just testing the new functionality), but I'm
not 100% sure how to test the rest of the Robolectric file.
Bug: 340801983
Test: Manually verified, `go test` in java/
Change-Id: I4ef28b1cbc4675fc329dc8fcab06d055d6538e60
2024-07-09 11:04:29 +00:00
..
2024-04-09 09:42:37 -07:00
2024-02-28 07:55:32 +00:00
2023-12-08 11:31:22 +00:00
2024-04-24 16:41:57 +00:00
2024-06-17 17:18:37 +00:00
2024-03-23 04:43:41 +00:00
2024-06-25 22:47:49 +00:00
2023-11-01 15:29:09 -07:00
2024-02-08 09:25:35 -08:00
2024-05-21 06:40:14 +09:00
2024-05-21 06:40:14 +09:00
2023-11-29 05:07:50 +00:00
2024-05-02 15:41:24 -07:00
2024-05-10 10:00:14 +09:00
2023-03-21 08:13:25 -07:00
2024-03-14 18:12:30 +00:00
2024-07-09 09:33:48 +00:00
2024-07-09 09:33:48 +00:00
2024-06-14 01:51:17 +00:00
2024-05-02 15:41:24 -07:00
2024-01-23 18:01:47 -08:00
2024-06-05 21:32:23 +00:00
2024-05-02 15:41:24 -07:00
2024-04-11 09:58:46 +00:00
2023-12-14 16:12:22 -08:00
2024-06-12 17:12:56 +00:00
2024-05-08 17:46:31 +00:00
2024-04-11 16:51:21 -07:00
2024-02-13 16:56:38 -08:00
2024-05-30 20:44:44 +00:00
2024-06-24 18:43:27 +00:00
2024-06-13 09:04:42 +09:00
2023-11-09 16:50:58 +00:00
2023-07-14 12:13:28 +01:00
2024-01-17 16:10:37 -08:00
2024-02-02 09:23:37 +08:00
2023-12-18 23:17:26 +00:00
2024-06-13 12:37:04 +09:00
2024-06-27 10:14:24 -07:00
2024-04-24 16:41:57 +00:00
2024-07-01 12:09:20 -07:00
2023-07-19 21:48:11 +00:00
2024-05-02 15:41:24 -07:00
2024-04-29 17:40:40 +09:00
2024-03-29 01:11:32 +00:00
2024-03-29 01:11:32 +00:00
2022-01-21 17:50:40 +00:00
2023-12-08 13:51:05 -08:00
2024-06-28 00:13:29 +01:00
2024-02-13 02:33:12 +00:00
2024-05-15 22:41:43 +00:00
2024-05-08 17:46:31 +00:00
2024-01-17 20:59:43 +00:00
2024-05-02 15:41:24 -07:00
2022-05-10 14:32:52 +00:00
2024-04-24 16:41:57 +00:00
2024-06-26 02:16:05 +00:00
2024-05-02 15:41:24 -07:00
2023-01-20 17:05:14 -05:00
2023-09-20 09:53:39 -07:00
2023-08-28 17:45:30 +00:00
2024-07-08 13:32:42 +00:00
2024-02-05 19:37:05 +00:00
2024-05-24 08:25:18 -07:00
2024-05-08 17:46:31 +00:00
2024-06-27 14:23:52 -07:00
2024-06-25 09:40:30 +09:00
2021-07-20 12:46:48 -07:00
2023-12-08 13:51:05 -08:00
2023-08-25 18:03:44 +00:00
2024-04-19 10:56:32 +01:00
2022-02-07 22:39:38 +00:00
2023-12-08 13:51:05 -08:00
2024-02-09 16:45:43 -08:00
2024-02-09 16:45:43 -08:00
2024-07-09 11:04:29 +00:00
2024-07-09 11:04:29 +00:00
2024-04-24 16:41:57 +00:00
2024-06-17 17:18:37 +00:00
2022-08-17 10:43:13 -07:00
2024-06-04 22:09:13 -07:00
2024-06-26 00:10:52 +00:00
2021-11-03 16:58:29 +00:00
2024-01-04 23:20:42 +00:00
2024-05-23 10:28:24 +01:00
2023-10-23 13:25:13 -04:00
2024-02-06 21:55:50 +00:00
2024-03-14 18:15:28 -07:00
2021-11-30 10:51:10 +00:00
2024-04-30 17:22:58 +09:00
2023-12-19 16:33:46 -08:00
2024-04-18 15:08:43 -07:00
2023-11-17 19:06:43 -08:00