diff options
author | 2025-02-07 17:45:48 -0800 | |
---|---|---|
committer | 2025-02-08 14:58:13 -0800 | |
commit | d18262cb0f1464abbafeaa42967f8d460e99d74c (patch) | |
tree | f6ea0f4cad1191b03c1242bcf6e92ea386dca6f3 /python/python.go | |
parent | 2572d255162882161479aadc938655fb08e0917d (diff) |
Use ld-library-path to point to the standalone libs when enabled
A follow of aosp/3459827 to implement go/standalone-native-device-tests
When `standalone_test` is set to `true` for `cc_test`, use
`ld-library-path` to point to the `standalone-libs` directory to use
those dependencies.
This is to add the `ld-library-path` option within the autogenerated
AndroidTest.xml file. Predefined test config needs to be manually
updated, e.g.:
```
...
<test class="com.android.tradefed.testtype.GTest" >
<option name="ld-library-path" value="/data/local/tmp/libunwindstack_unit_test/x86_64/standalone-libs:/<some_other_path>" />
...
```
Test: m libunwindstack_unit_test
Change-Id: I41222f1651b746ae040096555369822041980651
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions