summaryrefslogtreecommitdiff
path: root/nn/runtime/packageinfo/Android.bp
blob: c9f8e9e364eea75d22b6db5e8060e685b59a570c (plain)
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
cc_library_shared {
    name: "libneuralnetworks_packageinfo",
    defaults: ["neuralnetworks_defaults"],

    srcs: [
        "PackageInfo.cpp",
    ],

    shared_libs: [
        "libbase",
        "libbinder",
        "libcutils",
        "liblog",
        "libutils",
    ],

    export_include_dirs: ["include"],

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=deprecated-declarations",
    ],

    // enumerate stable entry points, for apex use
    stubs: {
        symbol_file: "libneuralnetworks_packageinfo.map.txt",
        versions: [
            "1",
        ],
    },

    header_abi_checker: {
        enabled: true,
        symbol_file: "libneuralnetworks_packageinfo.map.txt",
    },

    visibility: [
        "//frameworks/ml/nn:__subpackages__",
        "//packages/modules/NeuralNetworks:__subpackages__",
    ],
}