aboutsummaryrefslogtreecommitdiff
path: root/gps/utils/Android.bp
blob: 7d43d573b7407358cc011544e42b2afb88b71020 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cc_library_shared {

    name: "libgps.utils",
    vendor: true,

    sanitize: GNSS_SANITIZE,

    //# Libs
    shared_libs: [
        "libdl",
        "libutils",
        "libcutils",
        "liblog",
        "libprocessgroup",
    ],

    srcs: [
        "loc_log.cpp",
        "loc_cfg.cpp",
        "msg_q.c",
        "linked_list.c",
        "loc_target.cpp",
        "LocHeap.cpp",
        "LocTimer.cpp",
        "LocThread.cpp",
        "MsgTask.cpp",
        "loc_misc_utils.cpp",
        "loc_nmea.cpp",
        "LocIpc.cpp",
        "LogBuffer.cpp",
    ],

    cflags: [
        "-fno-short-enums",
        "-D_ANDROID_",
    ] + GNSS_CFLAGS,

    //# Includes
    ldflags: ["-Wl,--export-dynamic"],

    header_libs: [
        "libutils_headers",
        "libloc_pla_headers",
        "liblocation_api_headers",
    ],
}

cc_library_headers {

    name: "libgps.utils_headers",
    export_include_dirs: ["."],
    vendor: true,
}