| // Copyright (C) 2026 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| cc_library_headers { |
| name: "libmbedtls_headers", |
| vendor_available: true, |
| export_include_dirs: ["include"], |
| min_sdk_version: "31", |
| apex_available: [ |
| "//apex_available:anyapex", |
| "//apex_available:platform", |
| ], |
| } |
| |
| // filegroup specific to openthread and ot-br-posix |
| filegroup { |
| name: "openthread_mbedtls_srcs", |
| visibility: [ |
| "//external/openthread", |
| "//external/ot-br-posix", |
| ], |
| srcs: [ |
| "library/aes.c", |
| "library/asn1parse.c", |
| "library/asn1write.c", |
| "library/base64.c", |
| "library/bignum_core.c", |
| "library/bignum.c", |
| "library/ccm.c", |
| "library/cipher.c", |
| "library/cipher_wrap.c", |
| "library/cmac.c", |
| "library/constant_time.c", |
| "library/ctr_drbg.c", |
| "library/debug.c", |
| "library/ecdh.c", |
| "library/ecdsa.c", |
| "library/ecjpake.c", |
| "library/ecp.c", |
| "library/ecp_curves.c", |
| "library/entropy.c", |
| "library/entropy_poll.c", |
| "library/hmac_drbg.c", |
| "library/md.c", |
| "library/memory_buffer_alloc.c", |
| "library/oid.c", |
| "library/pem.c", |
| "library/pk.c", |
| "library/pk_ecc.c", |
| "library/pk_wrap.c", |
| "library/pkparse.c", |
| "library/pkwrite.c", |
| "library/platform.c", |
| "library/platform_util.c", |
| "library/sha256.c", |
| "library/ssl_ciphersuites.c", |
| "library/ssl_client.c", |
| "library/ssl_cookie.c", |
| "library/ssl_msg.c", |
| "library/ssl_ticket.c", |
| "library/ssl_tls.c", |
| "library/ssl_tls12_client.c", |
| "library/ssl_tls12_server.c", |
| "library/ssl_tls13_client.c", |
| "library/threading.c", |
| "library/x509.c", |
| "library/x509_crt.c", |
| ], |
| } |