Move wifi-service build rules from Make to Soong.

This is needed in order to (partially) synchronize AOSP and internal
trees, as a prerequisite to fixing b/141785760 and b/140451054 by
passing correct class loader context to dex2oat when dexpreopting
system server jars. Since wifi-service is one of these jars, we need
to know the path to it in Soong, which is easier if it is a Soong
module.

Test: m
Test: aosp_walleye-userdebug boots
Test: atest com.android.server.wifi passes all tests except the
  following (first two are known to be flaky b/128966900, third one
  is also flaky because it sometimes fails without the patch as well):
    com.android.server.wifi.CellularLinkLayerStatsCollectorTest#testLoopOverAllNetworksWithoutRepeat
    com.android.server.wifi.CellularLinkLayerStatsCollectorTest#testRepeatCellInfoTypeTwice
    com.android.server.wifi.WifiConfigStoreTest#testReadParsesIntegrityData

Bug: 141785760

Change-Id: Ief7175aef3f51b3f7abbd602ae3c240e85956982
Merged-In: I87b83704c33694fcc99d2d9bde4e5cad9ddd06da
3 files changed
tree: 412fbc9d4b77204bf9c76e89b8efcdc506b8b31c
  1. service/
  2. PREUPLOAD.cfg