diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-10-30 15:51:52 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-10-30 15:56:44 +0900 |
commit | e618aa3a317233bb50fda31e45a13f96845d5dd7 (patch) | |
tree | 4ae851606f8e4db88c5de52b4f00ce9e2fae94e4 | |
parent | 6f0cef7973200b5830e728e289b6c5ec865fd989 (diff) |
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
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | CleanSpec.mk | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -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", diff --git a/CleanSpec.mk b/CleanSpec.mk index 43a1bd0..6c79f20 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -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 |