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 | |
| 30 | java_library { |
| 31 | name: "telephony-common", |
| 32 | installable: true, |
| 33 | |
| 34 | aidl: { |
| 35 | local_include_dirs: ["src/java"], |
| 36 | }, |
| 37 | srcs: [ |
| 38 | "src/java/**/*.java", |
| 39 | "src/java/**/I*.aidl", |
| 40 | "src/java/**/*.logtags", |
| 41 | ], |
| 42 | |
| 43 | libs: [ |
| 44 | "voip-common", |
| 45 | "ims-common", |
| 46 | "services", |
| 47 | "bouncycastle", |
| 48 | ], |
| 49 | static_libs: [ |
| 50 | "telephony-protos", |
| 51 | "android.hardware.radio-V1.0-java", |
| 52 | "android.hardware.radio-V1.1-java", |
| 53 | "android.hardware.radio-V1.2-java", |
| 54 | "android.hardware.radio.config-V1.0-java", |
| 55 | "android.hardware.radio.deprecated-V1.0-java", |
| 56 | "android.hidl.base-V1.0-java", |
| 57 | ], |
| 58 | |
| 59 | product_variables: { |
| 60 | pdk: { |
| 61 | // enable this build only when platform library is available |
| 62 | enabled: false, |
| 63 | }, |
| 64 | }, |
| 65 | } |
| 66 | |