Loading packages/CaptivePortalLogin/Android.bp +17 −3 Original line number Diff line number Diff line Loading @@ -14,12 +14,11 @@ // limitations under the License. // android_app { name: "CaptivePortalLogin", java_defaults { name: "CaptivePortalLoginDefaults", srcs: ["src/**/*.java"], sdk_version: "system_current", min_sdk_version: "28", certificate: "networkstack", static_libs: [ "android-support-v4", "metrics-constants-protos", Loading @@ -27,3 +26,18 @@ android_app { ], manifest: "AndroidManifest.xml", } android_app { name: "CaptivePortalLogin", defaults: ["CaptivePortalLoginDefaults"], certificate: "networkstack", } // Alternative CaptivePortalLogin signed with the platform cert, to use // with InProcessNetworkStack. android_app { name: "PlatformCaptivePortalLogin", defaults: ["CaptivePortalLoginDefaults"], certificate: "platform", overrides: ["CaptivePortalLogin"], } packages/NetworkPermissionConfig/Android.bp +17 −4 Original line number Diff line number Diff line Loading @@ -14,15 +14,28 @@ // limitations under the License. // // Stub APK to define permissions for NetworkStack android_app { name: "NetworkPermissionConfig", java_defaults { name: "NetworkPermissionConfigDefaults", // TODO: mark app as hasCode=false in manifest once soong stops complaining about apps without // a classes.dex. srcs: ["src/**/*.java"], platform_apis: true, min_sdk_version: "28", certificate: "networkstack", privileged: true, manifest: "AndroidManifest.xml", } // Stub APK to define permissions for NetworkStack android_app { name: "NetworkPermissionConfig", defaults: ["NetworkPermissionConfigDefaults"], certificate: "networkstack", } // Alternative stub APK signed with platform certificate. To use with InProcessNetworkStack. android_app { name: "PlatformNetworkPermissionConfig", defaults: ["NetworkPermissionConfigDefaults"], certificate: "platform", overrides: ["NetworkPermissionConfig"], } packages/NetworkStack/Android.bp +4 −2 Original line number Diff line number Diff line Loading @@ -98,8 +98,6 @@ java_defaults { optimize: { proguard_flags_files: ["proguard.flags"], }, // The permission configuration *must* be included to ensure security of the device required: ["NetworkPermissionConfig"], } // Non-updatable network stack running in the system server process for devices not using the module Loading @@ -110,6 +108,8 @@ android_app { manifest: "AndroidManifest_InProcess.xml", // InProcessNetworkStack is a replacement for NetworkStack overrides: ["NetworkStack"], // The permission configuration *must* be included to ensure security of the device required: ["PlatformNetworkPermissionConfig"], } // Updatable network stack packaged as an application Loading @@ -119,6 +119,8 @@ android_app { certificate: "networkstack", manifest: "AndroidManifest.xml", use_embedded_native_libs: true, // The permission configuration *must* be included to ensure security of the device required: ["NetworkPermissionConfig"], } genrule { Loading Loading
packages/CaptivePortalLogin/Android.bp +17 −3 Original line number Diff line number Diff line Loading @@ -14,12 +14,11 @@ // limitations under the License. // android_app { name: "CaptivePortalLogin", java_defaults { name: "CaptivePortalLoginDefaults", srcs: ["src/**/*.java"], sdk_version: "system_current", min_sdk_version: "28", certificate: "networkstack", static_libs: [ "android-support-v4", "metrics-constants-protos", Loading @@ -27,3 +26,18 @@ android_app { ], manifest: "AndroidManifest.xml", } android_app { name: "CaptivePortalLogin", defaults: ["CaptivePortalLoginDefaults"], certificate: "networkstack", } // Alternative CaptivePortalLogin signed with the platform cert, to use // with InProcessNetworkStack. android_app { name: "PlatformCaptivePortalLogin", defaults: ["CaptivePortalLoginDefaults"], certificate: "platform", overrides: ["CaptivePortalLogin"], }
packages/NetworkPermissionConfig/Android.bp +17 −4 Original line number Diff line number Diff line Loading @@ -14,15 +14,28 @@ // limitations under the License. // // Stub APK to define permissions for NetworkStack android_app { name: "NetworkPermissionConfig", java_defaults { name: "NetworkPermissionConfigDefaults", // TODO: mark app as hasCode=false in manifest once soong stops complaining about apps without // a classes.dex. srcs: ["src/**/*.java"], platform_apis: true, min_sdk_version: "28", certificate: "networkstack", privileged: true, manifest: "AndroidManifest.xml", } // Stub APK to define permissions for NetworkStack android_app { name: "NetworkPermissionConfig", defaults: ["NetworkPermissionConfigDefaults"], certificate: "networkstack", } // Alternative stub APK signed with platform certificate. To use with InProcessNetworkStack. android_app { name: "PlatformNetworkPermissionConfig", defaults: ["NetworkPermissionConfigDefaults"], certificate: "platform", overrides: ["NetworkPermissionConfig"], }
packages/NetworkStack/Android.bp +4 −2 Original line number Diff line number Diff line Loading @@ -98,8 +98,6 @@ java_defaults { optimize: { proguard_flags_files: ["proguard.flags"], }, // The permission configuration *must* be included to ensure security of the device required: ["NetworkPermissionConfig"], } // Non-updatable network stack running in the system server process for devices not using the module Loading @@ -110,6 +108,8 @@ android_app { manifest: "AndroidManifest_InProcess.xml", // InProcessNetworkStack is a replacement for NetworkStack overrides: ["NetworkStack"], // The permission configuration *must* be included to ensure security of the device required: ["PlatformNetworkPermissionConfig"], } // Updatable network stack packaged as an application Loading @@ -119,6 +119,8 @@ android_app { certificate: "networkstack", manifest: "AndroidManifest.xml", use_embedded_native_libs: true, // The permission configuration *must* be included to ensure security of the device required: ["NetworkPermissionConfig"], } genrule { Loading