Move NetworkStack in-process from lib to APK

This makes the in-process configuration closer to the "standard" module
configuration, by using an APK in both cases, but making sure that
svelte builds use an in-process service to avoid the memory impact.

Bug: 127908503
Test: svelte build boots and has functional WiFi
Change-Id: I59f44df7c23a24429e9fe6be034260373e33a994
This commit is contained in:
Remi NGUYEN VAN
2019-03-08 17:40:22 +09:00
parent 20a50f75a3
commit e6fcb468d8

View File

@@ -61,9 +61,8 @@ PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.heapsize=256m
# Do not generate libartd.
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
# Do not spin up a separate process for the network stack on go devices, use an in-process lib.
PRODUCT_PACKAGES += NetworkStackLib
PRODUCT_SYSTEM_SERVER_JARS += NetworkStackLib
# Do not spin up a separate process for the network stack on go devices, use an in-process APK.
PRODUCT_PACKAGES += InProcessNetworkStack
# Strip the local variable table and the local variable type table to reduce
# the size of the system image. This has no bearing on stack traces, but will