1# Copyright (C) 2021 The Android Open Source Project. 2# 3# Permission to use, copy, modify, and/or distribute this software for any 4# purpose with or without fee is hereby granted, provided that the above 5# copyright notice and this permission notice appear in all copies. 6# 7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 15# This file is not used in the Android build process! It's used only by Trusty. 16 17LOCAL_DIR := $(GET_LOCAL_DIR) 18 19MODULE := $(LOCAL_DIR) 20 21MODULE_SRCS := \ 22 $(LOCAL_DIR)/src/android/bcc.c \ 23 $(LOCAL_DIR)/src/boringssl_hash_kdf_ops.c \ 24 $(LOCAL_DIR)/src/boringssl_ed25519_ops.c \ 25 $(LOCAL_DIR)/src/cbor_cert_op.c \ 26 $(LOCAL_DIR)/src/cbor_ed25519_cert_op.c \ 27 $(LOCAL_DIR)/src/cbor_reader.c \ 28 $(LOCAL_DIR)/src/cbor_writer.c \ 29 $(LOCAL_DIR)/src/clear_memory.c \ 30 $(LOCAL_DIR)/src/dice.c \ 31 $(LOCAL_DIR)/src/utils.c \ 32 33MODULE_EXPORT_INCLUDES += \ 34 $(LOCAL_DIR)/include/ \ 35 $(LOCAL_DIR)/include/dice/config/boringssl_ed25519 \ 36 37MODULE_LIBRARY_DEPS := \ 38 external/boringssl \ 39 40include make/library.mk 41