| package { | |
| // See: http://go/android-license-faq | |
| // A large-scale-change added 'default_applicable_licenses' to import | |
| // all of the 'license_kinds' from "frameworks_base_license" | |
| // to get the below license kinds: | |
| // SPDX-license-identifier-Apache-2.0 | |
| default_applicable_licenses: ["frameworks_base_license"], | |
| } | |
| filegroup { | |
| name: "services.appfunctions-sources", | |
| srcs: ["java/**/*.java"], | |
| path: "java", | |
| visibility: ["//frameworks/base/services"], | |
| } | |
| java_library_static { | |
| name: "services.appfunctions", | |
| static_libs: [ | |
| "statslog-appfunctions", | |
| ], | |
| defaults: ["platform_service_defaults"], | |
| srcs: [ | |
| ":services.appfunctions-sources", | |
| "java/**/*.logtags", | |
| ], | |
| libs: [ | |
| "services.core", | |
| "services.appinteraction", | |
| "safetyevaluator.extension", | |
| ], | |
| lint: { | |
| baseline_filename: "lint-baseline.xml", | |
| }, | |
| } | |
| java_stats_log_library { | |
| name: "statslog-appfunctions", | |
| module_name: "appfunctions", | |
| package_name: "com.android.server.appfunctions", | |
| class_name: "AppFunctionsStatsLog", | |
| min_sdk_version: "35", | |
| sdk_version: "system_current", | |
| } |