diff options
author | Hsin-Yi Chen <hsinyichen@google.com> | 2024-01-30 09:50:29 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2024-01-30 09:50:29 +0000 |
commit | 70598cfce76a42790a3e33b4c9d7e03c84cf66c9 (patch) | |
tree | 6c206501d125c2af33e249388c68e8887737e497 | |
parent | 2c3a1c9fda21f7f30f6a828a43ebf4a6be8f63cd (diff) | |
parent | 46b8a37d176cdd0177dc385a778c596a7c1d1031 (diff) | |
download | vndk-70598cfce76a42790a3e33b4c9d7e03c84cf66c9.tar.gz |
Exclude symbolic links from vndk_abi_dump_zip am: 46b8a37d17
Original change: https://android-review.googlesource.com/c/platform/prebuilts/abi-dumps/vndk/+/2931256
Change-Id: I296138f40edbdea4266b5d0552a719f4e7f0a4f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -23,7 +23,16 @@ package { genrule { name: "vndk_abi_dump_zip", tools: ["soong_zip"], - cmd: "$(location soong_zip) -o $(out) -C prebuilts/abi-dumps/vndk -D prebuilts/abi-dumps/vndk", - srcs: ["**/*.lsdump"], + // Directories 33 and 34 contain symbolic links to LLNDK dumps. + // They do not have to be included in the zip. + cmd: "find prebuilts/abi-dumps/vndk -type f -name '*.lsdump' > $(genDir)/paths.txt && " + + "$(location soong_zip) -symlinks=false -o $(out) -C prebuilts/abi-dumps/vndk -l $(genDir)/paths.txt", + srcs: [ + "30/**/*.lsdump", + "31/**/*.lsdump", + "32/**/*.lsdump", + "33/**/*.lsdump", + "34/**/*.lsdump", + ], out: ["vndk_abi_dump.zip"], } |