summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Jamie Garside <jgarside@google.com> 2024-07-09 12:00:12 +0100
committer Jamie Garside <jgarside@google.com> 2024-07-09 11:04:29 +0000
commit56f2b7000ca0f6c72ca0ddca05b0d7f3acba8763 (patch)
tree40623160a67f026db62d3f30fdb112e55b12b299 /python/python.go
parent40ca9c933bcff6da18908f5db72ff5387d2e3280 (diff)
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
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions