mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
Auto hardware/interfaces/Android.bp
am: 7b66dd9b23
Change-Id: Id242473c4c9e417a5629b6ff1522988b9738f7b9
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"benchmarks/msgq/1.0",
|
||||
"nfc/1.0",
|
||||
|
||||
@@ -17,3 +17,18 @@ for p in $packages; do
|
||||
hidl-gen -Lmakefile -r android.hardware:hardware/interfaces $p;
|
||||
hidl-gen -Landroidbp -r android.hardware:hardware/interfaces $p;
|
||||
done
|
||||
|
||||
bp="hardware/interfaces/Android.bp"
|
||||
androidbps=$(find hardware/interfaces/*/ \
|
||||
-name "Android.bp" \
|
||||
-exec dirname {} \; \
|
||||
| sort)
|
||||
|
||||
echo "Updating $bp"
|
||||
|
||||
echo "// This is an autogenerated file, do not edit." > $bp;
|
||||
echo "subdirs = [" >> $bp;
|
||||
for a in $androidbps; do
|
||||
echo " \"${a#*hardware/interfaces/}\"," >> $bp;
|
||||
done
|
||||
echo "]" >> $bp;
|
||||
Reference in New Issue
Block a user