Bob Badour | de423b7 | 2021-03-31 19:55:25 -0700 | [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 | // SPDX-license-identifier-BSD |
| 8 | default_applicable_licenses: ["frameworks_base_license"], |
| 9 | } |
| 10 | |
Anton Hansson | 9b2c4a6 | 2021-03-30 11:30:23 +0100 | [diff] [blame] | 11 | filegroup { |
| 12 | name: "framework-telephony-sources", |
| 13 | srcs: [ |
| 14 | "**/*.java", |
| 15 | "**/*.aidl", |
Kiwon Park | a5fa37d | 2022-04-14 21:08:52 +0000 | [diff] [blame^] | 16 | ":statslog-telephony-java-gen", |
Anton Hansson | 9b2c4a6 | 2021-03-30 11:30:23 +0100 | [diff] [blame] | 17 | ], |
| 18 | visibility: ["//frameworks/base"], |
| 19 | } |
Kiwon Park | a5fa37d | 2022-04-14 21:08:52 +0000 | [diff] [blame^] | 20 | |
| 21 | genrule { |
| 22 | name: "statslog-telephony-java-gen", |
| 23 | tools: ["stats-log-api-gen"], |
| 24 | cmd: "$(location stats-log-api-gen) --java $(out) --module telephony" + |
| 25 | " --javaPackage com.android.internal.telephony --javaClass TelephonyStatsLog", |
| 26 | out: ["com/android/internal/telephony/TelephonyStatsLog.java"], |
| 27 | } |