1// Copyright 2013 The Android Open Source Project 2 3package { 4 // See: http://go/android-license-faq 5 // A large-scale-change added 'default_applicable_licenses' to import 6 // all of the 'license_kinds' from "device_generic_goldfish_license" 7 // to get the below license kinds: 8 // SPDX-license-identifier-Apache-2.0 9 default_applicable_licenses: ["device_generic_goldfish_license"], 10} 11 12cc_library { 13 name: "librilutils-goldfish-fork", 14 15 srcs: [ 16 "librilutils.c", 17 "record_stream.c", 18 "proto/sap-api.proto", 19 ], 20 21 header_libs: ["goldfish_ril_headers"], 22 export_header_lib_headers: ["goldfish_ril_headers"], 23 24 cflags: [ 25 "-Wall", 26 "-Wextra", 27 "-Werror", 28 "-DPB_FIELD_32BIT" 29 ], 30 31 proto: { 32 type: "nanopb-c-enable_malloc-32bit", 33 export_proto_headers: true, 34 }, 35 36 vendor: true, 37} 38 39// Create java protobuf code 40java_library { 41 name: "goldfish-fork-sap-api-java-static", 42 srcs: ["proto/sap-api.proto"], 43 proto: { 44 type: "micro", 45 }, 46} 47