blob: c567b991fb8b6754eee14f3ab9c5b7780e1f9c8f [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 ],
Jiyong Parkd0438032019-08-19 13:25:23 +090021 path: "src/java",
Nan Zhang7233c322018-02-27 11:23:02 -080022}
23
24filegroup {
25 name: "opt-telephony-htmls",
26 srcs: [
27 "src/java/android/telephony/**/*.html",
28 ],
29}
Jason Monk3077f6a2018-08-07 13:21:59 -040030
Andrei Oneac12ea742019-03-13 14:25:02 +000031filegroup {
32 name: "opt-telephony-common-srcs",
33 srcs: [
34 "src/java/**/*.java",
35 ],
Jiyong Parkd0438032019-08-19 13:25:23 +090036 path: "src/java",
Andrei Oneac12ea742019-03-13 14:25:02 +000037}
Chen Xu42344f82019-09-24 22:44:50 -070038filegroup {
39 name: "jarjar-rules-shared",
40 srcs: ["jarjar-rules-shared.txt"],
41}
Andrei Oneac12ea742019-03-13 14:25:02 +000042
Jason Monk3077f6a2018-08-07 13:21:59 -040043java_library {
44 name: "telephony-common",
45 installable: true,
46
47 aidl: {
48 local_include_dirs: ["src/java"],
49 },
50 srcs: [
Andrei Oneac12ea742019-03-13 14:25:02 +000051 ":opt-telephony-common-srcs",
Chen Xu09ae9e82019-09-20 15:46:02 -070052 ":framework-telephony-stack-shared-srcs",
Jason Monk3077f6a2018-08-07 13:21:59 -040053 "src/java/**/I*.aidl",
54 "src/java/**/*.logtags",
55 ],
56
Chen Xu42344f82019-09-24 22:44:50 -070057 jarjar_rules: ":jarjar-rules-shared",
Steven Morelanda2b60be2019-03-13 16:25:42 -070058
Jason Monk3077f6a2018-08-07 13:21:59 -040059 libs: [
Jason Monk3077f6a2018-08-07 13:21:59 -040060 "android.hardware.radio-V1.0-java",
61 "android.hardware.radio-V1.1-java",
62 "android.hardware.radio-V1.2-java",
sqian22c50482018-09-07 21:00:27 -070063 "android.hardware.radio-V1.3-java",
Malcolm Chenbb951442018-11-25 15:22:53 -080064 "android.hardware.radio-V1.4-java",
Steven Moreland2253fbc2019-01-24 12:02:37 -080065 "voip-common",
66 "ims-common",
67 "services",
68 ],
69 static_libs: [
Steven Morelanda2b60be2019-03-13 16:25:42 -070070 "android.hardware.radio.config-V1.0-java-shallow",
71 "android.hardware.radio.config-V1.1-java-shallow",
72 "android.hardware.radio.config-V1.2-java-shallow",
73 "android.hardware.radio.deprecated-V1.0-java-shallow",
Steven Moreland2253fbc2019-01-24 12:02:37 -080074 "telephony-protos",
75 "ecc-protos-lite",
Jason Monk3077f6a2018-08-07 13:21:59 -040076 ],
77
78 product_variables: {
79 pdk: {
80 // enable this build only when platform library is available
81 enabled: false,
82 },
83 },
84}
85