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

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

Use NetworkStack as mainline target w/ stable API

Instead of NetworkStack building against system_current and
NetworkStackApiStable building against system_29, have NetworkStack be
the target built against system_29, and NetworkStackNext be the target
built against system_current.

This matches the configuration that should be used when releasing the
platform (the platform should be released with a stable NetworkStack
target that uses stable APIs). Also NetworkStack is used as the build
target for the mainline module, which needs to use a stable API, so the
NetworkStack target should build against system_29 to be releasable.

Bug: 139269711
Test: Built, boots, WiFi working
Change-Id: I9c35c4a0159797718518fbeb050d7a4afab9949c
parent 6f0cef79
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ android_app {
    certificate: "platform",
    manifest: "AndroidManifest_InProcess.xml",
    // InProcessNetworkStack is a replacement for NetworkStack
    overrides: ["NetworkStack"],
    overrides: ["NetworkStack", "NetworkStackNext"],
    // The permission configuration *must* be included to ensure security of the device
    // The InProcessNetworkStack goes together with the PlatformCaptivePortalLogin, which replaces
    // the default CaptivePortalLogin.
@@ -160,7 +160,7 @@ android_app {

// Updatable network stack packaged as an application
android_app {
    name: "NetworkStack",
    name: "NetworkStackNext",
    defaults: ["NetworkStackAppDefaults", "NetworkStackApiCurrentLevel"],
    static_libs: ["NetworkStackApiCurrentLib"],
    certificate: "networkstack",
@@ -171,7 +171,7 @@ android_app {

// Updatable network stack for finalized API
android_app {
    name: "NetworkStackApiStable",
    name: "NetworkStack",
    defaults: ["NetworkStackAppDefaults", "NetworkStackApiStableLevel"],
    static_libs: ["NetworkStackApiStableLib"],
    certificate: "networkstack",
+2 −0
Original line number Diff line number Diff line
@@ -45,6 +45,8 @@
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/CaptivePortalLogin)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/NetworkStack)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/NetworkStackApiStable)

# ******************************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER