Skip to content

Commit

Permalink
Compress crypto_test_data.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 21, 2025
1 parent 3263ce2 commit 581dc67
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 15,275 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -982,9 +982,13 @@ if(BUILD_TESTING)
DEPENDS util/embed_test_data.go ${CRYPTO_TEST_DATA}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
else()
file(COPY ${GENERATE_CODE_ROOT}/crypto_test_data.cc DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
add_custom_command(
OUTPUT crypto_test_data.cc
COMMAND ${CMAKE_COMMAND} -E tar "Jxvf" ${GENERATE_CODE_ROOT}/crypto_test_data.cc.tar.bz2
DEPENDS ${GENERATE_CODE_ROOT}/crypto_test_data.cc.tar.bz2
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
add_library(crypto_test_data OBJECT crypto_test_data.cc)
endif()
add_library(crypto_test_data OBJECT crypto_test_data.cc)

# sets tests to compile an so executable file for testing in our Android app CI.
if(ANDROIDTESTRUNNER)
Expand Down
Loading

0 comments on commit 581dc67

Please sign in to comment.