blob: 33d84401619ea4ae7e1b3d6072d45e112c7e67e4 [file] [log] [blame]
Michael Bestas3a0209e2023-05-04 01:15:47 +03001
2cc_library_shared {
3
4 name: "libgps.utils",
5 vendor: true,
6
7
8
9 //# Libs
10 shared_libs: [
11 "libdl",
12 "libutils",
13 "libcutils",
14 "liblog",
15 "libprocessgroup",
16 ],
17
18 srcs: [
19 "loc_log.cpp",
20 "loc_cfg.cpp",
21 "msg_q.c",
22 "linked_list.c",
23 "loc_target.cpp",
24 "LocHeap.cpp",
25 "LocTimer.cpp",
26 "LocThread.cpp",
27 "MsgTask.cpp",
28 "loc_misc_utils.cpp",
29 "loc_nmea.cpp",
30 "LocIpc.cpp",
31 "LogBuffer.cpp",
32 ],
33
34 cflags: [
35 "-fno-short-enums",
36 "-D_ANDROID_",
37 ] + GNSS_CFLAGS,
38
39 //# Includes
40 ldflags: ["-Wl,--export-dynamic"],
41
42 header_libs: [
43 "libutils_headers",
44 "libloc_pla_headers",
45 "liblocation_api_headers",
46 ],
47}
48
49cc_library_headers {
50
51 name: "libgps.utils_headers",
52 export_include_dirs: ["."],
53 vendor: true,
54}