summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Remi NGUYEN VAN <reminv@google.com> 2019-03-08 17:40:22 +0900
committer Remi NGUYEN VAN <reminv@google.com> 2019-03-08 17:42:59 +0900
commite6fcb468d80817b4eff261d518a3d76544b865a3 (patch)
tree8edaa2f9e1fcff56b4bf9f64fd71688408d8e379
parent20a50f75a3f3061260ff20f68210d02980988eb6 (diff)
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
-rw-r--r--target/product/go_defaults_common.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/product/go_defaults_common.mk b/target/product/go_defaults_common.mk
index e35bf30d14..7042f6d9bf 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