1
2cc_library_shared {
3
4    name: "libloc_core",
5    vendor: true,
6
7    sanitize: GNSS_SANITIZE,
8
9    shared_libs: [
10        "liblog",
11        "libutils",
12        "libcutils",
13        "libgps.utils",
14        "libdl",
15        "liblog",
16    ],
17
18    srcs: [
19        "LocApiBase.cpp",
20        "LocAdapterBase.cpp",
21        "ContextBase.cpp",
22        "LocContext.cpp",
23        "loc_core_log.cpp",
24        "data-items/DataItemsFactoryProxy.cpp",
25        "SystemStatusOsObserver.cpp",
26        "SystemStatus.cpp",
27    ],
28
29    cflags: [
30        "-fno-short-enums",
31        "-D_ANDROID_",
32    ] + GNSS_CFLAGS,
33
34    local_include_dirs: [
35        "data-items",
36        "observer",
37    ],
38
39    header_libs: [
40        "libutils_headers",
41        "libgps.utils_headers",
42        "libloc_pla_headers",
43        "liblocation_api_headers",
44    ],
45
46}
47
48cc_library_headers {
49
50    name: "libloc_core_headers",
51    vendor: true,
52    export_include_dirs: ["."] + [
53        "data-items",
54        "observer",
55    ],
56}
57