aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2018-11-28 09:10:44 -0800
committerbohu <bohu@google.com>2018-12-06 19:42:11 -0800
commit79333d44a9114d41b52e5b741ac3191d9b90d68a (patch)
tree901b1ec0656271df4ed5476eadb078a71aef93fa
parent5d3caffc8876476c930ba432ac7c3e4fdb7c936a (diff)
downloadiw-79333d44a9114d41b52e5b741ac3191d9b90d68a.tar.gz
BUG: 119665526 Test: lunch sdk_phone_x86-user make -j emulator wifi should work Change-Id: I217cd89c420c04c5f26d66d15295a37d97c4f475 Merged-In: I217cd89c420c04c5f26d66d15295a37d97c4f475
-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"],
+}