aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2018-12-07 00:11:52 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-12-07 00:11:52 -0800
commitdf01b2603e06c13c7c430d1f72253341d689c665 (patch)
tree901b1ec0656271df4ed5476eadb078a71aef93fa
parentaf62e485b1a91d011f2eb5590c6a489eb4527cc5 (diff)
parent79333d44a9114d41b52e5b741ac3191d9b90d68a (diff)
downloadiw-df01b2603e06c13c7c430d1f72253341d689c665.tar.gz
iw: make it available in vendor/bin
am: 79333d44a9 Change-Id: I2bacc32a6841b06b0efef51242478af241f392ba
-rw-r--r--Android.bp17
1 files changed, 15 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index c3b4f26..34606b9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,8 +6,8 @@ genrule {
out: ["version.c"],
}
-cc_binary {
- name: "iw",
+cc_defaults {
+ name: "iw_common",
srcs: [
"iw.c",
@@ -60,3 +60,16 @@ cc_binary {
ldflags: ["-Wl,--no-gc-sections"],
static_libs: ["libnl"],
}
+
+cc_binary {
+ name: "iw",
+
+ defaults: ["iw_common"],
+}
+
+cc_binary {
+ name: "iw_vendor",
+ stem: "iw",
+ vendor: true,
+ defaults: ["iw_common"],
+}