Skip to content

Commit

Permalink
lineage/interfaces: add update-makefiles.sh script
Browse files Browse the repository at this point in the history
Generates the makefile/blueprint structure inside
hardware/lineage/interfaces.

Package names need to start with vendor.lineage,
for example, [email protected], else hidl-gen
will fail.

Usage:
./hardware/lineage/interfaces/update-makefiles.sh

If the script finds a *.hal file, it will create Android.bp
and Android.mk files inside the respective directory that
turn those files into an interface.

Also, regenerate blueprints using the script.

Change-Id: Id169bd74e76cd83d4572e14cebf91db7629640cc
  • Loading branch information
Demon000 committed Oct 16, 2017
1 parent a2c99c6 commit efbac9b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion biometrics/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This is an autogenerated file, do not edit.
subdirs = [
"fingerprint",
"fingerprint/2.0",
]
3 changes: 0 additions & 3 deletions biometrics/fingerprint/Android.bp

This file was deleted.

1 change: 1 addition & 0 deletions camera/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This is an autogenerated file, do not edit.
subdirs = [
"device/1.0-legacy",
"provider/2.4-legacy",
Expand Down
1 change: 1 addition & 0 deletions nfc/Android.bp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This is an autogenerated file, do not edit.
subdirs = [
"1.0-bcm",
]
8 changes: 8 additions & 0 deletions update-makefiles.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

source system/tools/hidl/update-makefiles-helper.sh

do_makefiles_update \
"vendor.lineage:hardware/lineage/interfaces" \
"android.hardware:hardware/interfaces" \
"android.hidl:system/libhidl/transport"

0 comments on commit efbac9b

Please sign in to comment.