diff options
author | 2024-06-17 14:21:49 -0400 | |
---|---|---|
committer | 2024-07-08 16:50:45 +0000 | |
commit | 1e3523295147093531dd13e96736543810106249 (patch) | |
tree | 28c3974139a142e8b7ae6f7fe42ab799e2824ee6 /apex/apex_singleton.go | |
parent | ef2388e99f0884923fd4f1fb81ea09036d9012cf (diff) |
Don't write allowlisted androidx.* libraries to allowed_deps.txt
Bug: 333398044
Flag: EXEMPT refactor
Test: croot && packages/modules/common/build/update-apex-allowed-deps.sh
Merged-In: I350ee64bafcd51f69110d880e0de12ae22558fc9
Change-Id: I350ee64bafcd51f69110d880e0de12ae22558fc9
Diffstat (limited to 'apex/apex_singleton.go')
-rw-r--r-- | apex/apex_singleton.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apex/apex_singleton.go b/apex/apex_singleton.go index e6ebff2c1..a8d89b11e 100644 --- a/apex/apex_singleton.go +++ b/apex/apex_singleton.go @@ -46,6 +46,9 @@ var ( Command: "cat $out.rsp | xargs cat" + // Only track non-external dependencies, i.e. those that end up in the binary " | grep -v '(external)'" + + // Allowlist androidx deps + " | grep -v '^androidx\\.'" + + " | grep -v '^prebuilt_androidx\\.'" + // Ignore comments in any of the files " | grep -v '^#'" + " | sort -u -f >$out", |