summaryrefslogtreecommitdiffstats
path: root/vndk
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2019-03-30 05:32:57 +0800
committerLogan Chien <loganchien@google.com>2019-03-30 05:39:03 +0800
commit3a1cf3f395a66ff5b2752cdb027d501a85ce9803 (patch)
treee88e3dfb03d4f94662d5f476a3a2c74da5e14a2d /vndk
parent660a0af32fcfcc2e0cd7d56a480f97266bab95b2 (diff)
downloadandroid_development-3a1cf3f395a66ff5b2752cdb027d501a85ce9803.tar.gz
android_development-3a1cf3f395a66ff5b2752cdb027d501a85ce9803.tar.bz2
android_development-3a1cf3f395a66ff5b2752cdb027d501a85ce9803.zip
def-tool: Add apex bionic libs to eligible-list-29.csv
Test: ./vndk_definition_tool.py check-dep \ --system ${ANDROID_PRODUCT_OUT}/system \ --vendor ${ANDROID_PRODUCT_OUT}/vendor \ --tag-file datasets/eligible-list-29.csv Bug: 126126189 Change-Id: Ib3c9b2a0a8cf262b1c64e530be9c126d7e5fc2c6
Diffstat (limited to 'vndk')
-rw-r--r--vndk/tools/definition-tool/datasets/eligible-list-29.csv3
-rwxr-xr-xvndk/tools/definition-tool/tools/update_dataset.py10
2 files changed, 13 insertions, 0 deletions
diff --git a/vndk/tools/definition-tool/datasets/eligible-list-29.csv b/vndk/tools/definition-tool/datasets/eligible-list-29.csv
index f4b7ba737..6e20cbd76 100644
--- a/vndk/tools/definition-tool/datasets/eligible-list-29.csv
+++ b/vndk/tools/definition-tool/datasets/eligible-list-29.csv
@@ -1,4 +1,7 @@
Path,Tag,Comments
+/apex/com.android.runtime/${LIB}/bionic/libc.so,LL-NDK,
+/apex/com.android.runtime/${LIB}/bionic/libdl.so,LL-NDK,
+/apex/com.android.runtime/${LIB}/bionic/libm.so,LL-NDK,
/system/${LIB}/android.frameworks.cameraservice.common@2.0.so,VNDK,
/system/${LIB}/android.frameworks.cameraservice.device@2.0.so,VNDK,
/system/${LIB}/android.frameworks.cameraservice.service@2.0.so,VNDK,
diff --git a/vndk/tools/definition-tool/tools/update_dataset.py b/vndk/tools/definition-tool/tools/update_dataset.py
index 4c860624a..50818a90f 100755
--- a/vndk/tools/definition-tool/tools/update_dataset.py
+++ b/vndk/tools/definition-tool/tools/update_dataset.py
@@ -192,6 +192,16 @@ def main():
for name in libs:
update_tag('/system/${LIB}/' + name + '.so', 'FWK-ONLY-RS')
+ # Workaround for LL-NDK APEX bionic
+ libs = [
+ 'libc',
+ 'libdl',
+ 'libm',
+ ]
+ for name in libs:
+ update_tag('/apex/com.android.runtime/${LIB}/bionic/' + name + '.so',
+ 'LL-NDK')
+
# Workaround for LL-NDK-Private
libs = [
'ld-android',