Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { |
| 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 | |
Jiyong Park | bae2e90 | 2019-11-17 13:11:19 +0900 | [diff] [blame] | 10 | filegroup { |
| 11 | name: "services.devicepolicy-sources", |
| 12 | srcs: ["java/**/*.java"], |
| 13 | path: "java", |
| 14 | visibility: ["//frameworks/base/services"], |
| 15 | } |
| 16 | |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 17 | java_library_static { |
| 18 | name: "services.devicepolicy", |
Jeff Sharkey | d23b537 | 2020-10-23 14:30:42 -0600 | [diff] [blame] | 19 | defaults: ["platform_service_defaults"], |
Keith Cheung | cf700c6 | 2024-04-03 16:32:31 +0000 | [diff] [blame] | 20 | srcs: [ |
| 21 | ":services.devicepolicy-sources", |
| 22 | ":statslog-devicepolicy-java-gen", |
| 23 | ], |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 24 | libs: [ |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 25 | "services.core", |
atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 26 | "app-compat-annotations", |
Kholoud Mohamed | 4e10f84 | 2022-10-18 16:02:04 +0000 | [diff] [blame] | 27 | "service-permission.stubs.system_server", |
Kholoud Mohamed | 268e411 | 2023-09-11 12:56:19 +0000 | [diff] [blame] | 28 | "device_policy_aconfig_flags_lib", |
Martynas Petuška | 49dbad7 | 2024-01-12 15:00:38 +0000 | [diff] [blame] | 29 | "androidx.annotation_annotation", |
Kholoud Mohamed | 268e411 | 2023-09-11 12:56:19 +0000 | [diff] [blame] | 30 | ], |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 31 | } |
Keith Cheung | cf700c6 | 2024-04-03 16:32:31 +0000 | [diff] [blame] | 32 | |
| 33 | genrule { |
| 34 | name: "statslog-devicepolicy-java-gen", |
| 35 | tools: ["stats-log-api-gen"], |
| 36 | cmd: "$(location stats-log-api-gen) --java $(out) --module devicepolicy" + |
| 37 | " --javaPackage com.android.server.devicepolicy --javaClass DevicePolicyStatsLog", |
| 38 | out: ["com/android/server/devicepolicy/DevicePolicyStatsLog.java"], |
| 39 | } |