summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-11-13 16:31:20 -0800
committerSteven Moreland <smoreland@google.com>2018-11-13 16:31:20 -0800
commitef4217aa1ddae0e8b554a3827b0f2e09f547730a (patch)
tree7e213a5c6b2940ec00f1c7a79711075dc3ee802f
parentf5206f38246c359680ce011dd48ab46078a9ec80 (diff)
downloadsecure_element-ef4217aa1ddae0e8b554a3827b0f2e09f547730a.tar.gz
Move hidl_package_root to actual path.android-wear-8.0.0_r2
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: Ia40dcb83a5052a1415f4c0b1ce0bf75a6308e000
-rw-r--r--extns/intf/nxpese/1.0/Android.bp5
-rw-r--r--extns/intf/nxpese/Android.bp3
2 files changed, 3 insertions, 5 deletions
diff --git a/extns/intf/nxpese/1.0/Android.bp b/extns/intf/nxpese/1.0/Android.bp
index ed3959f..2af4263 100644
--- a/extns/intf/nxpese/1.0/Android.bp
+++ b/extns/intf/nxpese/1.0/Android.bp
@@ -1,10 +1,5 @@
// This file is autogenerated by hidl-gen -Landroidbp.
-hidl_package_root {
- name: "vendor.nxp.nxpese",
- path: "hardware/nxp/secure_element/extns/intf/nxpese",
-}
-
hidl_interface {
name: "vendor.nxp.nxpese@1.0",
root: "vendor.nxp.nxpese",
diff --git a/extns/intf/nxpese/Android.bp b/extns/intf/nxpese/Android.bp
new file mode 100644
index 0000000..cdee88e
--- /dev/null
+++ b/extns/intf/nxpese/Android.bp
@@ -0,0 +1,3 @@
+hidl_package_root {
+ name: "vendor.nxp.nxpese",
+}