blob: ba2674a79fb494b9e4252f08f4388377653a6577 [file] [log] [blame]
Sasha Smundakc8445fa2019-01-09 16:05:09 -08001// Copyright (C) 2014 The Android Open Source Project
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// Mms service
17//
Bob Badour81509f42021-02-12 21:42:00 -080018package {
19 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000022genrule {
23 name: "statslog-mms-java-gen",
24 tools: ["stats-log-api-gen"],
25 cmd: "$(location stats-log-api-gen) --java $(out) --module mms"
26 + " --javaPackage com.android.mms --javaClass MmsStatsLog",
27 out: ["com/android/mms/MmsStatsLog.java"],
28}
29
30java_library {
31 name: "mms-statsd",
32 srcs: [
33 ":statslog-mms-java-gen",
34 ],
35}
36
Sasha Smundakc8445fa2019-01-09 16:05:09 -080037android_app {
38 name: "MmsService",
39 platform_apis: true,
40 privileged: true,
Sasha Smundakc8445fa2019-01-09 16:05:09 -080041 srcs: ["src/**/*.java"],
Hyosun Kim327d0f72024-05-28 09:50:59 +000042 libs: ["telephony-common"],
Sasha Smundakc8445fa2019-01-09 16:05:09 -080043 resource_dirs: ["res"],
44 aaptflags: ["--auto-add-overlay"],
45 optimize: {
46 proguard_flags_files: ["proguard.flags"],
47 },
48 certificate: "platform",
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000049 static_libs: [
50 "mms-protos-lite",
51 "mms-statsd",
52 "androidx.annotation_annotation",
53 ],
Sasha Smundakc8445fa2019-01-09 16:05:09 -080054}
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000055
56filegroup {
Saifuddin76437322023-02-20 08:55:36 +000057 name: "mms-service-srcs",
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000058 srcs: [
Saifuddin76437322023-02-20 08:55:36 +000059 "src/com/android/mms/service/**/*.java",
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000060 ],
Saifuddin76437322023-02-20 08:55:36 +000061}