1// Copyright 2013 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
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: [
18        "frameworks_opt_net_ims_license",
19        "Android-Apache-2.0",
20    ],
21}
22
23license {
24    name: "frameworks_opt_net_ims_license",
25    package_name: "Android IMS",
26    license_kinds: ["SPDX-license-identifier-BSD"],
27    license_text: ["LICENSE_BSD"],
28}
29
30java_library {
31    name: "ims-common",
32    installable: true,
33
34    static_libs: [
35        "ucepresencelib",
36    ],
37
38    aidl: {
39        local_include_dirs: ["src/java"],
40    },
41    srcs: [
42        "src/java/**/*.java",
43        ":framework-ims-common-shared-srcs",
44    ],
45
46    libs: [
47        "error_prone_annotations",
48        "unsupportedappusage",
49        // TODO b/151667108 add "framework-telephony",
50        // TODO link to framework-minus-apex stub and framework-wifi-stubs
51    ],
52
53    jarjar_rules: "jarjar-rules-shared.txt",
54}
55