Adding -j1 for aidl-freeze-api

bpmodify isn't safe for multi processes env because it doesn't use any
lock mechanism even with -w option(in-place change)

So, added -j1 option as a temp solution.

Bug: 190577319
Bug: 229413853
Test: run aidl-freeze-api with -j1
Change-Id: I7fabfa1224ea0bb8d71538f4c8012255df28a3e8
This commit is contained in:
Jeongik Cha
2022-05-03 01:51:06 +00:00
parent e30f7e8be1
commit 9c376b4ec8

View File

@@ -17,7 +17,8 @@ set -x
# Update references in the codebase to new API version (TODO)
# ...
AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api
# Adding -j1 option because of file(Android.bp) race condition.
AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api -j1
m check-vndk-list || update-vndk-list.sh # for new versions of AIDL interfaces