From e6fcb468d80817b4eff261d518a3d76544b865a3 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Fri, 8 Mar 2019 17:40:22 +0900 Subject: [PATCH] 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 --- target/product/go_defaults_common.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/product/go_defaults_common.mk b/target/product/go_defaults_common.mk index e35bf30d1..7042f6d9b 100644 --- a/target/product/go_defaults_common.mk +++ b/target/product/go_defaults_common.mk @@ -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