1# Copyright (C) 2020 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/cppbor.cpp \
23	$(LOCAL_DIR)/src/cppbor_parse.cpp
24
25MODULE_EXPORT_INCLUDES += $(LOCAL_DIR)/include/cppbor/
26
27MODULE_LIBRARY_DEPS += \
28	trusty/user/base/lib/libstdc++-trusty \
29	external/boringssl \
30
31include make/library.mk
32