1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_app { 6 name: "OsuLogin", 7 package_name: "com.android.hotspot2.osulogin", 8 defaults: ["wifi-module-sdk-version-defaults"], 9 static_libs: ["androidx.legacy_legacy-support-v4"], 10 resource_dirs: ["res"], 11 srcs: ["src/**/*.java"], 12 sdk_version: "system_current", 13 certificate: ":com.android.hotspot2.osulogin.certificate", 14 apex_available: [ 15 "com.android.wifi", 16 "test_com.android.wifi", 17 ], 18 optimize: { 19 shrink_resources: true, 20 }, 21} 22 23android_app_certificate { 24 name: "com.android.hotspot2.osulogin.certificate", 25 certificate: "certs/com.android.hotspot2.osulogin" 26} 27