diff options
author | bohu <bohu@google.com> | 2018-11-28 09:10:44 -0800 |
---|---|---|
committer | Bo Hu <bohu@google.com> | 2018-11-28 17:25:28 +0000 |
commit | 7d3c00dce57f670a1cdcc53d9a0c61a62d5cb1fa (patch) | |
tree | 901b1ec0656271df4ed5476eadb078a71aef93fa | |
parent | 947a0d91093cae3045af57d419f1090eb0319afc (diff) | |
download | iw-7d3c00dce57f670a1cdcc53d9a0c61a62d5cb1fa.tar.gz |
iw: make it available in vendor/bin
BUG: 119665526
Test:
lunch sdk_gphone_x86-user
make -j
emulator
wifi should work
Change-Id: I217cd89c420c04c5f26d66d15295a37d97c4f475
-rw-r--r-- | Android.bp | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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"], +} |