Nan Zhang | 7233c32 | 2018-02-27 11:23:02 -0800 | [diff] [blame] | 1 | // Copyright 2018 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | |
| 16 | filegroup { |
| 17 | name: "opt-telephony-srcs", |
| 18 | srcs: [ |
| 19 | "src/java/android/telephony/**/*.java", |
| 20 | ], |
| 21 | } |
| 22 | |
| 23 | filegroup { |
| 24 | name: "opt-telephony-htmls", |
| 25 | srcs: [ |
| 26 | "src/java/android/telephony/**/*.html", |
| 27 | ], |
| 28 | } |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 29 | |
Andrei Onea | c12ea74 | 2019-03-13 14:25:02 +0000 | [diff] [blame^] | 30 | filegroup { |
| 31 | name: "opt-telephony-common-srcs", |
| 32 | srcs: [ |
| 33 | "src/java/**/*.java", |
| 34 | ], |
| 35 | } |
| 36 | |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 37 | java_library { |
| 38 | name: "telephony-common", |
| 39 | installable: true, |
| 40 | |
| 41 | aidl: { |
| 42 | local_include_dirs: ["src/java"], |
| 43 | }, |
| 44 | srcs: [ |
Andrei Onea | c12ea74 | 2019-03-13 14:25:02 +0000 | [diff] [blame^] | 45 | ":opt-telephony-common-srcs", |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 46 | "src/java/**/I*.aidl", |
| 47 | "src/java/**/*.logtags", |
| 48 | ], |
| 49 | |
Steven Moreland | a2b60be | 2019-03-13 16:25:42 -0700 | [diff] [blame] | 50 | jarjar_rules: ":framework-jarjar-rules", |
| 51 | |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 52 | libs: [ |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 53 | "android.hardware.radio-V1.0-java", |
| 54 | "android.hardware.radio-V1.1-java", |
| 55 | "android.hardware.radio-V1.2-java", |
sqian | 22c5048 | 2018-09-07 21:00:27 -0700 | [diff] [blame] | 56 | "android.hardware.radio-V1.3-java", |
Malcolm Chen | bb95144 | 2018-11-25 15:22:53 -0800 | [diff] [blame] | 57 | "android.hardware.radio-V1.4-java", |
Steven Moreland | 2253fbc | 2019-01-24 12:02:37 -0800 | [diff] [blame] | 58 | "voip-common", |
| 59 | "ims-common", |
| 60 | "services", |
| 61 | ], |
| 62 | static_libs: [ |
Steven Moreland | a2b60be | 2019-03-13 16:25:42 -0700 | [diff] [blame] | 63 | "android.hardware.radio.config-V1.0-java-shallow", |
| 64 | "android.hardware.radio.config-V1.1-java-shallow", |
| 65 | "android.hardware.radio.config-V1.2-java-shallow", |
| 66 | "android.hardware.radio.deprecated-V1.0-java-shallow", |
Steven Moreland | 2253fbc | 2019-01-24 12:02:37 -0800 | [diff] [blame] | 67 | "telephony-protos", |
| 68 | "ecc-protos-lite", |
Jason Monk | 3077f6a | 2018-08-07 13:21:59 -0400 | [diff] [blame] | 69 | ], |
| 70 | |
| 71 | product_variables: { |
| 72 | pdk: { |
| 73 | // enable this build only when platform library is available |
| 74 | enabled: false, |
| 75 | }, |
| 76 | }, |
| 77 | } |
| 78 | |