1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10android_app { 11 name: "SharedLibrary", 12 srcs: ["**/*.java"], 13 aaptflags: ["--shared-lib"], 14 sdk_version: "current", 15 export_package_resources: true, 16 privileged: true, 17 optimize: { 18 proguard_flags_files: ["proguard.proguard"], 19 }, 20} 21