Fix dependency on python hash seed
Sort the list of targets before writing them to the output, which fixes the only place where output ordering depended on the python hash seed. Also remove the fixed python hash seed from the script. Test: android_tools/generate_android_bp.sh && git diff Test: mma Change-Id: Icfadfaaebf438d00bfef13c231fc09afda454916
This commit is contained in:
@ -9,7 +9,7 @@ fi
|
||||
|
||||
DIR=$(dirname $0)
|
||||
|
||||
PYTHONHASHSEED=31 "${DIR}"/generate_bp.py "$DIR" >"${DIR}/../Android.bp"
|
||||
"${DIR}"/generate_bp.py "$DIR" >"${DIR}/../Android.bp"
|
||||
|
||||
bpfmt -w "${DIR}/../Android.bp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user