diff options
| author | 2023-09-08 11:51:45 +0900 | |
|---|---|---|
| committer | 2023-09-08 15:40:12 +0900 | |
| commit | 4bc102672a5351528710ac6f77b67e2faaded6b9 (patch) | |
| tree | 14ff35f6b940d36365d1fcaf9e8015257574a5c7 /java/java_test.go | |
| parent | 86b9b13607e21f29234a546d347011b730e46795 (diff) | |
apex: invoke `conv_linker_config validate` as validation
`conv_linker_config validate` command is used to validate the linker
configuration embedded in APEX to detect common mistakes.
For example, when used in APEX, linker configuration can't set
provideLibs/requireLibs. For APEX, there are
provideSharedLibs/requireSharedLibs in APEX manifest for that purpose.
One might make mistake by setting provideLibs in linker config.
Now, when these unsupported properties are set, there'll be build-time
error like:
// set provideLibs key in com.android.art's linker config.
$ m com.android.art
...image.apex/etc/linker.config.pb: provideLibs is set. Use provideSharedLibs in apex_manifest
Bug: 264341796
Test: m com.android.art (see above)
Change-Id: Ibaf7322616ad333569e6d721680f3d72243402a2
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions