blob: 79de990adbd3c0d84d827eea6bb2ab879ead3a80 [file] [log] [blame]
Nan Zhang7233c322018-02-27 11:23:02 -08001// 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
16filegroup {
17 name: "opt-telephony-srcs",
18 srcs: [
19 "src/java/android/telephony/**/*.java",
20 ],
21}
22
23filegroup {
24 name: "opt-telephony-htmls",
25 srcs: [
26 "src/java/android/telephony/**/*.html",
27 ],
28}
Jason Monk3077f6a2018-08-07 13:21:59 -040029
30java_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
Steven Morelanda2b60be2019-03-13 16:25:42 -070043 jarjar_rules: ":framework-jarjar-rules",
44
Jason Monk3077f6a2018-08-07 13:21:59 -040045 libs: [
Jason Monk3077f6a2018-08-07 13:21:59 -040046 "android.hardware.radio-V1.0-java",
47 "android.hardware.radio-V1.1-java",
48 "android.hardware.radio-V1.2-java",
sqian22c50482018-09-07 21:00:27 -070049 "android.hardware.radio-V1.3-java",
Malcolm Chenbb951442018-11-25 15:22:53 -080050 "android.hardware.radio-V1.4-java",
Steven Moreland2253fbc2019-01-24 12:02:37 -080051 "voip-common",
52 "ims-common",
53 "services",
54 ],
55 static_libs: [
Steven Morelanda2b60be2019-03-13 16:25:42 -070056 "android.hardware.radio.config-V1.0-java-shallow",
57 "android.hardware.radio.config-V1.1-java-shallow",
58 "android.hardware.radio.config-V1.2-java-shallow",
59 "android.hardware.radio.deprecated-V1.0-java-shallow",
Steven Moreland2253fbc2019-01-24 12:02:37 -080060 "telephony-protos",
61 "ecc-protos-lite",
Jason Monk3077f6a2018-08-07 13:21:59 -040062 ],
63
64 product_variables: {
65 pdk: {
66 // enable this build only when platform library is available
67 enabled: false,
68 },
69 },
70}
71