summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-10-30 15:51:52 +0900
committerRemi NGUYEN VAN <reminv@google.com>2019-10-30 15:56:44 +0900
commite618aa3a317233bb50fda31e45a13f96845d5dd7 (patch)
tree4ae851606f8e4db88c5de52b4f00ce9e2fae94e4 /Android.bp
parent6f0cef7973200b5830e728e289b6c5ec865fd989 (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
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 27a1044..ef11268 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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",