Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3298109 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Build NetworkStack package

For go devices, the network stack should not run in a separate process:
NetworkStackLib is used in-process instead.

Test: built & booted a go and non-go config
Bug: b/112869080

Change-Id: I18b0446a0c0d19519ce0ef344f185b54ad7d4ac6
parent 19e65028
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ PRODUCT_PACKAGES += \
    mtpd \
    ndc \
    netd \
    NetworkStack \
    org.apache.http.legacy \
    perfetto \
    ping \
+4 −0
Original line number Diff line number Diff line
@@ -61,6 +61,10 @@ 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

# 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
# leave less information available via JDWP.