xref: /aosp_15_r20/external/ims/rcs/rcsmanager/Android.bp (revision 060f4407e8083d867a85d4a869747d9905816290)
1// Copyright (c) 2015, Motorola Mobility LLC
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are met:
6//     - Redistributions of source code must retain the above copyright
7//       notice, this list of conditions and the following disclaimer.
8//     - Redistributions in binary form must reproduce the above copyright
9//       notice, this list of conditions and the following disclaimer in the
10//       documentation and/or other materials provided with the distribution.
11//     - Neither the name of Motorola Mobility nor the
12//       names of its contributors may be used to endorse or promote products
13//       derived from this software without specific prior written permission.
14//
15// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MOTOROLA MOBILITY LLC BE LIABLE
19// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
25// DAMAGE.
26
27package {
28    default_applicable_licenses: ["external_ims_rcs_rcsmanager_license"],
29}
30
31// Added automatically by a large-scale-change
32// See: http://go/android-license-faq
33license {
34    name: "external_ims_rcs_rcsmanager_license",
35    visibility: [":__subpackages__"],
36    license_kinds: [
37        "SPDX-license-identifier-BSD",
38    ],
39    license_text: [
40        "LICENSE",
41    ],
42}
43
44java_library {
45    name: "com.android.ims.rcsmanager",
46    aidl: {
47        local_include_dirs: ["src/java"],
48    },
49    srcs: ["src/java/**/*.java"] + [
50        "src/java/com/android/ims/internal/IRcsService.aidl",
51        "src/java/com/android/ims/internal/IRcsPresence.aidl",
52        "src/java/com/android/ims/IRcsPresenceListener.aidl",
53        ":rcsmanager-utils"
54    ]
55}
56
57filegroup {
58    name: "rcsmanager-utils",
59    srcs: [
60        "src/java/com/android/ims/internal/ContactNumberUtils.java",
61        "src/java/com/android/ims/internal/Logger.java",
62        "src/java/com/android/ims/RcsPresenceInfo.java",
63        "src/java/com/android/ims/ResultCode.java",
64    ],
65    path: "src/java",
66}
67