blob: 2917cfcf0cbb39259c4d0f3a1636bc2221cf01dd [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"],
42 resource_dirs: ["res"],
43 aaptflags: ["--auto-add-overlay"],
44 optimize: {
45 proguard_flags_files: ["proguard.flags"],
46 },
47 certificate: "platform",
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000048 static_libs: [
49 "mms-protos-lite",
50 "mms-statsd",
51 "androidx.annotation_annotation",
52 ],
Sasha Smundakc8445fa2019-01-09 16:05:09 -080053}
Aishwarya Mallampati4c511b72022-06-07 23:27:50 +000054
55filegroup {
56 name: "mms-metrics-srcs",
57 srcs: [
58 "src/com/android/mms/service/metrics/*.java",
59 ],
60}