xref: /aosp_15_r20/frameworks/base/apex/jobscheduler/service/jni/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10cc_library_shared {
11    name: "libalarm_jni",
12
13    cpp_std: "c++2a",
14    cflags: [
15        "-Wall",
16        "-Werror",
17        "-Wno-unused-parameter",
18        "-Wthread-safety",
19    ],
20
21    srcs: [
22        "com_android_server_alarm_AlarmManagerService.cpp",
23        "onload.cpp",
24    ],
25
26    shared_libs: [
27        "libnativehelper",
28        "liblog",
29        "libbase",
30    ],
31    visibility: [
32        "//frameworks/base/apex:__subpackages__",
33        "//visibility:any_system_partition",
34    ],
35}
36