File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,13 @@ def get_generation_script_files(generation_script: str):
160160 ),
161161 ]
162162
163+ if Path ("scripts/generate_visualc_files.pl" ).is_file ():
164+ MBEDTLS_GENERATION_SCRIPTS .append (
165+ GenerationScript (
166+ Path ("scripts/generate_visualc_files.pl" ),
167+ get_generation_script_files ("scripts/generate_visualc_files.pl" ),
168+ "--directory" , None ))
169+
163170def get_generated_files (generation_scripts : List [GenerationScript ]):
164171 """
165172 List the generated files in Mbed TLS or TF-PSA-Crypto. The path from root
@@ -236,13 +243,6 @@ def main():
236243 if build_tree .looks_like_tf_psa_crypto_root ("." ):
237244 generation_scripts = TF_PSA_CRYPTO_GENERATION_SCRIPTS
238245 elif not build_tree .is_mbedtls_3_6 ():
239-
240- if Path ("scripts/generate_visualc_files.pl" ).is_file ():
241- MBEDTLS_GENERATION_SCRIPTS .append (
242- GenerationScript (
243- Path ("scripts/generate_visualc_files.pl" ),
244- get_generation_script_files ("scripts/generate_visualc_files.pl" ),
245- "--directory" , None ))
246246 generation_scripts = MBEDTLS_GENERATION_SCRIPTS
247247 else :
248248 raise Exception ("No support for Mbed TLS 3.6" )
You can’t perform that action at this time.
0 commit comments