blob: 8aea8adf34e1a344d3d5353563e1e0738ea96967 [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 Moreland393c6122019-01-18 13:06:09 -080043 jarjar_rules: ":framework-hidl-jarjar",
44
Jason Monk3077f6a2018-08-07 13:21:59 -040045 libs: [
46 "voip-common",
47 "ims-common",
48 "services",
Jason Monk3077f6a2018-08-07 13:21:59 -040049 ],
50 static_libs: [
51 "telephony-protos",
sqian34931ea2018-10-10 21:11:39 -070052 "ecc-protos-lite",
Jason Monk3077f6a2018-08-07 13:21:59 -040053 "android.hardware.radio-V1.0-java",
54 "android.hardware.radio-V1.1-java",
55 "android.hardware.radio-V1.2-java",
sqian22c50482018-09-07 21:00:27 -070056 "android.hardware.radio-V1.3-java",
Malcolm Chenbb951442018-11-25 15:22:53 -080057 "android.hardware.radio-V1.4-java",
Jason Monk3077f6a2018-08-07 13:21:59 -040058 "android.hardware.radio.config-V1.0-java",
Jordan Liu13ed8792018-10-18 13:47:28 -070059 "android.hardware.radio.config-V1.1-java",
Malcolm Chen42773112018-11-26 09:05:36 -080060 "android.hardware.radio.config-V1.2-java",
Jason Monk3077f6a2018-08-07 13:21:59 -040061 "android.hardware.radio.deprecated-V1.0-java",
62 "android.hidl.base-V1.0-java",
Jayachandran C8e3573e2018-12-06 11:15:47 -080063 "android-support-annotations",
Jason Monk3077f6a2018-08-07 13:21:59 -040064 ],
65
66 product_variables: {
67 pdk: {
68 // enable this build only when platform library is available
69 enabled: false,
70 },
71 },
72}
73