Stop all these merge conflicts.
Test: mma -j64 Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
This commit is contained in:
parent
54813ed7c6
commit
7a4f118c48
9 changed files with 65 additions and 34 deletions
24
Android.bp
24
Android.bp
|
@ -1,25 +1,3 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"benchmarks/msgq/1.0",
|
||||
"bluetooth/1.0",
|
||||
"boot/1.0",
|
||||
"boot/1.0/default",
|
||||
"nfc/1.0",
|
||||
"nfc/1.0/default",
|
||||
"radio/1.0",
|
||||
"tests/bar/1.0",
|
||||
"tests/bar/1.0/default",
|
||||
"tests/baz/1.0",
|
||||
"tests/expression/1.0",
|
||||
"tests/foo/1.0",
|
||||
"tests/foo/1.0/default",
|
||||
"tests/foo/1.0/default/lib",
|
||||
"tests/libhwbinder/1.0",
|
||||
"tests/libhwbinder/1.0/default",
|
||||
"tests/msgq/1.0",
|
||||
"tests/pointer/1.0",
|
||||
"tests/pointer/1.0/default",
|
||||
"tests/pointer/1.0/default/lib",
|
||||
"wifi/1.0",
|
||||
"wifi/supplicant/1.0",
|
||||
"*"
|
||||
]
|
||||
|
|
4
benchmarks/Android.bp
Normal file
4
benchmarks/Android.bp
Normal file
|
@ -0,0 +1,4 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"msgq/1.0",
|
||||
]
|
4
bluetooth/Android.bp
Normal file
4
bluetooth/Android.bp
Normal file
|
@ -0,0 +1,4 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"1.0",
|
||||
]
|
4
boot/Android.bp
Normal file
4
boot/Android.bp
Normal file
|
@ -0,0 +1,4 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"1.0",
|
||||
]
|
5
nfc/Android.bp
Normal file
5
nfc/Android.bp
Normal file
|
@ -0,0 +1,5 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"1.0",
|
||||
"1.0/default",
|
||||
]
|
4
radio/Android.bp
Normal file
4
radio/Android.bp
Normal file
|
@ -0,0 +1,4 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"1.0",
|
||||
]
|
16
tests/Android.bp
Normal file
16
tests/Android.bp
Normal file
|
@ -0,0 +1,16 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"bar/1.0",
|
||||
"bar/1.0/default",
|
||||
"baz/1.0",
|
||||
"expression/1.0",
|
||||
"foo/1.0",
|
||||
"foo/1.0/default",
|
||||
"foo/1.0/default/lib",
|
||||
"libhwbinder/1.0",
|
||||
"libhwbinder/1.0/default",
|
||||
"msgq/1.0",
|
||||
"pointer/1.0",
|
||||
"pointer/1.0/default",
|
||||
"pointer/1.0/default/lib",
|
||||
]
|
|
@ -18,17 +18,28 @@ for p in $packages; do
|
|||
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)
|
||||
# subdirectories of hardware/interfaces which contain an Android.bp file
|
||||
android_dirs=$(find hardware/interfaces/*/ \
|
||||
-name "Android.bp" \
|
||||
-printf "%h\n" \
|
||||
| cut -d "/" -f1-3 \
|
||||
| sort | uniq)
|
||||
|
||||
echo "Updating $bp"
|
||||
echo "Updating Android.bp files."
|
||||
|
||||
echo "// This is an autogenerated file, do not edit." > $bp;
|
||||
echo "subdirs = [" >> $bp;
|
||||
for a in $androidbps; do
|
||||
echo " \"${a#*hardware/interfaces/}\"," >> $bp;
|
||||
for bp_dir in $android_dirs; do
|
||||
bp="$bp_dir/Android.bp"
|
||||
# locations of Android.bp files in specific subdirectory of hardware/interfaces
|
||||
android_bps=$(find $bp_dir \
|
||||
-name "Android.bp" \
|
||||
! -path $bp_dir/Android.bp \
|
||||
-printf "%h\n" \
|
||||
| sort)
|
||||
|
||||
echo "// This is an autogenerated file, do not edit." > "$bp";
|
||||
echo "subdirs = [" >> "$bp";
|
||||
for a in $android_bps; do
|
||||
echo " \"${a#$bp_dir/}\"," >> "$bp";
|
||||
done
|
||||
echo "]" >> "$bp";
|
||||
done
|
||||
echo "]" >> $bp;
|
5
wifi/Android.bp
Normal file
5
wifi/Android.bp
Normal file
|
@ -0,0 +1,5 @@
|
|||
// This is an autogenerated file, do not edit.
|
||||
subdirs = [
|
||||
"1.0",
|
||||
"supplicant/1.0",
|
||||
]
|
Loading…
Reference in a new issue