Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 723aa3a5 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Auto hardware/interfaces/Android.bp

am: 7b66dd9b

Change-Id: Id242473c4c9e417a5629b6ff1522988b9738f7b9
parents 129b540e 7b66dd9b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
// This is an autogenerated file, do not edit.
subdirs = [
    "benchmarks/msgq/1.0",
    "nfc/1.0",
+15 −0
Original line number Diff line number Diff line
@@ -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;
 No newline at end of file