Add self libhardware_legacy for wifi

Change-Id: I76f5812686664b60796f16dbe310ce7beb67e70f