Look in 3rdparty: Python port of 8a0f5bb3c1
Signed-off-by: Yuto Takano <yuto.takano@arm.com>
This commit is contained in:
parent
bb7dca495f
commit
fa950ae344
1 changed files with 10 additions and 5 deletions
|
@ -377,14 +377,19 @@ class NameCheck(object):
|
|||
|
||||
m_headers = self.get_files(os.path.join("include", "mbedtls"))
|
||||
p_headers = self.get_files(os.path.join("include", "psa"))
|
||||
libraries = self.get_files("library")
|
||||
t_headers = ["3rdparty/everest/include/everest/everest.h",
|
||||
"3rdparty/everest/include/everest/x25519.h"]
|
||||
libraries = self.get_files("library") + [
|
||||
"3rdparty/everest/library/everest.c",
|
||||
"3rdparty/everest/library/x25519.c"]
|
||||
|
||||
all_macros = self.parse_macros(
|
||||
m_headers + p_headers)
|
||||
enum_consts = self.parse_enum_consts(m_headers)
|
||||
identifiers = self.parse_identifiers(m_headers + p_headers)
|
||||
m_headers + p_headers + t_headers)
|
||||
enum_consts = self.parse_enum_consts(m_headers + t_headers)
|
||||
identifiers = self.parse_identifiers(m_headers + p_headers + t_headers)
|
||||
symbols = self.parse_symbols()
|
||||
mbed_names = self.parse_MBED_names(m_headers + p_headers + libraries)
|
||||
mbed_names = self.parse_MBED_names(
|
||||
m_headers + p_headers + t_headers + libraries)
|
||||
|
||||
# Remove identifier macros like mbedtls_printf or mbedtls_calloc
|
||||
macros = list(set(all_macros) - set(identifiers))
|
||||
|
|
Loading…
Reference in a new issue