1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19cc_library { 20 name: "libvendorsupport", 21 native_bridge_supported: true, 22 recovery_available: true, 23 llndk: { 24 symbol_file: "libvendorsupport.map.txt", 25 }, 26 srcs: ["version_props.cpp"], 27 cflags: [ 28 "-Wall", 29 "-Werror", 30 ], 31 local_include_dirs: ["include/vendorsupport"], 32 export_include_dirs: ["include"], 33 shared_libs: [ 34 "liblog", 35 "libbase", 36 ], 37} 38 39cc_library_headers { 40 name: "libvendorsupport_llndk_headers", 41 host_supported: true, 42 vendor_available: true, 43 recovery_available: true, 44 ramdisk_available: true, 45 vendor_ramdisk_available: true, 46 native_bridge_supported: true, 47 48 export_include_dirs: ["include_llndk"], 49 llndk: { 50 llndk_headers: true, 51 }, 52 53 apex_available: [ 54 "//apex_available:platform", 55 "//apex_available:anyapex", 56 ], 57 min_sdk_version: "apex_inherit", 58 59 system_shared_libs: [], 60 stl: "none", 61 62 // This header library is used for libc and must be available to any sdk 63 // versions. 64 // Setting sdk_version to the lowest version allows the dependencies. 65 sdk_version: "1", 66} 67