summaryrefslogtreecommitdiffstats
path: root/extns
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-11-13 14:56:21 -0800
committerSteven Moreland <smoreland@google.com>2018-11-13 16:30:59 -0800
commit3bd633e42e19eedca84c2e98263b06b023c09d40 (patch)
tree8f4f6e181f511d0b7c51b42c073d6c1f1f130fc6 /extns
parentd4398d96e06537510fae6c4f0f6defcbfd660182 (diff)
downloadandroid_hardware_nxp_nfc-3bd633e42e19eedca84c2e98263b06b023c09d40.tar.gz
android_hardware_nxp_nfc-3bd633e42e19eedca84c2e98263b06b023c09d40.tar.bz2
android_hardware_nxp_nfc-3bd633e42e19eedca84c2e98263b06b023c09d40.zip
Move hidl_package_root to actual path.
In "-r A:B", "A" is the package root, and "B" is the package path. Together, they tell hidl-gen how hal modules are grouped. Previously, the path for these was required explicitly. However, now the path can be inferred automatically. Also, since {B}/current.txt is the location for API hashes, in order for the build system to properly keep track of it, we need the hidl package root to contain the current.txt file (modules can't reference files defined outside of them or their dependencies). This will also allow deprecation of the now-unneeded 'path' variable. Bug: 119117395 Test: m nothing (checks this) Change-Id: Ie2b2fe2b038153aa0799819470ba199da66e45a8
Diffstat (limited to 'extns')
-rw-r--r--extns/intf/nxpnfc/1.0/Android.bp5
-rw-r--r--extns/intf/nxpnfc/Android.bp3
2 files changed, 3 insertions, 5 deletions
diff --git a/extns/intf/nxpnfc/1.0/Android.bp b/extns/intf/nxpnfc/1.0/Android.bp
index 05dcffa..dcc1354 100644
--- a/extns/intf/nxpnfc/1.0/Android.bp
+++ b/extns/intf/nxpnfc/1.0/Android.bp
@@ -1,10 +1,5 @@
// This file is autogenerated by hidl-gen -Landroidbp.
-hidl_package_root {
- name: "vendor.nxp.nxpnfc",
- path: "hardware/nxp/nfc/extns/intf/nxpnfc",
-}
-
hidl_interface {
name: "vendor.nxp.nxpnfc@1.0",
root: "vendor.nxp.nxpnfc",
diff --git a/extns/intf/nxpnfc/Android.bp b/extns/intf/nxpnfc/Android.bp
new file mode 100644
index 0000000..65946cf
--- /dev/null
+++ b/extns/intf/nxpnfc/Android.bp
@@ -0,0 +1,3 @@
+hidl_package_root {
+ name: "vendor.nxp.nxpnfc",
+}