diff options
| author | 2019-12-02 13:47:23 +0900 | |
|---|---|---|
| committer | 2019-12-17 21:16:20 +0900 | |
| commit | 0d7bd6be90e371b76884f01524437223fdcd7a23 (patch) | |
| tree | ce5949e476c60636b32787405f4b39c51c98e429 /tools/warn/java_warn_patterns.py | |
| parent | 2f4a8bb534057a3a2ac50aac1f55d50e52c08692 (diff) | |
Use apex_available property
Use apex_available property to prevent modules that are only for the ART
apex from being used outside of the APEX.
Bug: 128708192
Bug: 133140750
Bug: 129006418
Test: m
Test: m libnativeloader doesn't install anything. (because it doesn't
have "//apex_available:platform".
Test: Add "libnativeloader" to shared_libs of "libvndksupport" which is
installed to /system/lib. Then the build fails with following error:
error: system/core/libvndksupport/Android.bp:3:1: module
"libvndksupport" variant "android_arm_armv8-a_core_shared": depends on
//art/libnativeloader:libnativeloader which is not visible to this
module
Change-Id: I964d0125cfedb454a60c098bf1a1797201d5dd40
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions