1// Copyright 2013 The Android Open Source Project
2
3cc_library {
4    name: "librilutils",
5
6    srcs: [
7        "librilutils.c",
8        "record_stream.c",
9        "proto/sap-api.proto",
10    ],
11
12    header_libs: ["ril_headers"],
13    export_header_lib_headers: ["ril_headers"],
14
15    cflags: [
16        "-Wall",
17        "-Wextra",
18        "-Werror",
19        "-DPB_FIELD_32BIT"
20    ],
21
22    proto: {
23        type: "nanopb-c-enable_malloc-32bit",
24        export_proto_headers: true,
25    },
26
27    vendor: true,
28}
29
30// Create java protobuf code
31java_library {
32    name: "sap-api-java-static",
33    srcs: ["proto/sap-api.proto"],
34    proto: {
35        type: "micro",
36    },
37}
38