You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
994 B
47 lines
994 B
// Copyright 2013 The Android Open Source Project
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_ril_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_ril_license"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "librilutils",
|
|
|
|
srcs: [
|
|
"librilutils.c",
|
|
"record_stream.c",
|
|
"proto/sap-api.proto",
|
|
],
|
|
|
|
header_libs: ["ril_headers"],
|
|
export_header_lib_headers: ["ril_headers"],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
"-DPB_FIELD_32BIT"
|
|
],
|
|
|
|
proto: {
|
|
type: "nanopb-c-enable_malloc-32bit",
|
|
export_proto_headers: true,
|
|
},
|
|
|
|
vendor: true,
|
|
}
|
|
|
|
// Create java protobuf code
|
|
java_library {
|
|
name: "sap-api-java-static",
|
|
srcs: ["proto/sap-api.proto"],
|
|
proto: {
|
|
type: "micro",
|
|
},
|
|
}
|