• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2019 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
15package {
16    default_team: "trendy_team_fwk_telephony",
17    // See: http://go/android-license-faq
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21// Build the Phone app which includes the emergency dialer. See Contacts
22// for the 'other' dialer.
23android_app {
24    name: "TeleService",
25
26    libs: [
27        "telephony-common",
28        "voip-common",
29        "ims-common",
30        "libprotobuf-java-lite",
31        "app-compat-annotations",
32        "unsupportedappusage",
33        "org.apache.http.legacy.stubs.system",
34    ],
35
36    static_libs: [
37        "androidx.appcompat_appcompat",
38        "androidx.preference_preference",
39        "androidx.recyclerview_recyclerview",
40        "androidx.legacy_legacy-preference-v14",
41        "android-support-annotations",
42        "com.android.phone.common-lib",
43        "guava",
44        "PlatformProperties",
45        "modules-utils-fastxmlserializer",
46        "modules-utils-os",
47        "nist-sip",
48        "service-entitlement",
49        "android.permission.flags-aconfig-java-export",
50        "satellite-s2storage-ro",
51        "s2-geometry-library-java",
52        "dropbox_flags_lib",
53    ],
54
55    srcs: [
56        ":framework-telephony-common-shared-srcs",
57        "src/**/*.java",
58        "ecc/proto/**/*.proto",
59        "src/com/android/phone/EventLogTags.logtags",
60    ],
61
62    jarjar_rules: ":jarjar-rules-shared",
63
64    resource_dirs: [
65        "res",
66    ],
67
68    asset_dirs: [
69        "assets",
70        "ecc/output",
71    ],
72
73    platform_apis: true,
74
75    certificate: "platform",
76    privileged: true,
77
78    optimize: {
79        proguard_flags_files: [
80            "proguard.flags",
81        ],
82    },
83
84    proto: {
85        type: "lite",
86    },
87
88    generate_product_characteristics_rro: true,
89}
90
91// Allow other applications to use public constants from SlicePurchaseController
92java_library {
93    name: "SlicePurchaseController",
94    srcs: ["src/com/android/phone/slice/*.java"],
95    libs: [
96        "telephony-common",
97        "service-entitlement",
98    ],
99}
100
101platform_compat_config {
102    name: "TeleService-platform-compat-config",
103    src: ":TeleService",
104}
105