summaryrefslogtreecommitdiffstats
path: root/audio/common/2.0/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/common/2.0/Android.bp')
-rw-r--r--audio/common/2.0/Android.bp8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/common/2.0/Android.bp b/audio/common/2.0/Android.bp
index a00e2bd320..89ce3b6b18 100644
--- a/audio/common/2.0/Android.bp
+++ b/audio/common/2.0/Android.bp
@@ -2,8 +2,8 @@
genrule {
name: "android.hardware.audio.common@2.0_genc++",
- tool: "hidl-gen",
- cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.audio.common@2.0",
+ tools: ["hidl-gen"],
+ cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.audio.common@2.0",
srcs: [
"types.hal",
],
@@ -14,8 +14,8 @@ genrule {
genrule {
name: "android.hardware.audio.common@2.0_genc++_headers",
- tool: "hidl-gen",
- cmd: "$tool -o $genDir -Lc++ -randroid.hardware:hardware/interfaces android.hardware.audio.common@2.0",
+ tools: ["hidl-gen"],
+ cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces android.hardware.audio.common@2.0",
srcs: [
"types.hal",
],