Skip to content

Commit

Permalink
Add DECRYPT_BITCODE macro
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Nov 14, 2024
1 parent db0a915 commit 049b3de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions shell/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ set(DPT_NATIVE_SOURCE

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")

add_definitions(-DDECRYPT_BITCODE)

if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
add_definitions(-DDEBUG)
Expand Down
3 changes: 2 additions & 1 deletion shell/src/main/cpp/dpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ void decrypt_bitcode() {
}

void init_dpt() {
#ifdef DECRYPT_BITCODE
decrypt_bitcode();

#endif
DLOGI("init_dpt call!");

dpt_hook();
Expand Down

0 comments on commit 049b3de

Please sign in to comment.