Skip to content

Commit 922c748

Browse files
committed
fix: cleanup commented code, bump libsodium ndkport
1 parent 25f5eb4 commit 922c748

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

.clangd

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,5 @@ CompileFlags:
1818

1919
# OpenSSL includes
2020
# -Iexample/ios/Pods/OpenSSL-Universal/OpenSSL.xcframework/**/**,
21-
-I/opt/homebrew/Cellar/openssl@3/3.5.0/include,
21+
-I/opt/homebrew/Cellar/openssl@3/3.*/include,
2222
]
23-
24-
# # Compiler flags
25-
# Compiler: clang++
26-
27-
# # Diagnostics settings
28-
# Diagnostics:
29-
# UnusedIncludes: Strict
30-
31-
# # Clang-Tidy settings
32-
# If:
33-
# PathMatch: .*\.cpp
34-
# ClangTidy:
35-
# Add: [
36-
# modernize-*,
37-
# performance-*,
38-
# bugprone-*,
39-
# -modernize-use-trailing-return-type,
40-
# ]
41-
42-
# # Index settings
43-
# Index:
44-
# Background: Build

packages/react-native-quick-crypto/android/CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,6 @@ set(PACKAGE_NAME QuickCrypto)
55
set(CMAKE_VERBOSE_MAKEFILE ON)
66
set(CMAKE_CXX_STANDARD 20)
77

8-
# # Check if we're in a clean build by looking for Nitro Modules headers
9-
# set(NITRO_MODULES_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/../../node_modules/react-native-nitro-modules/android/build/headers/nitromodules")
10-
# if(NOT EXISTS "${NITRO_MODULES_HEADERS}")
11-
# message(STATUS "Nitro Modules headers not found at ${NITRO_MODULES_HEADERS} - this is likely a clean build")
12-
# message(STATUS "Creating minimal build configuration for clean task")
13-
14-
# # Define a minimal library for clean builds
15-
# add_library(${PACKAGE_NAME} SHARED src/main/cpp/cpp-adapter.cpp)
16-
17-
# # Add minimal dependencies
18-
# find_library(LOG_LIB log)
19-
# target_link_libraries(${PACKAGE_NAME} ${LOG_LIB} android)
20-
21-
# # Skip the rest of the configuration
22-
# return()
23-
# endif()
24-
# # If we get here, we're in a normal build with all dependencies available
25-
268
# Define C++ library and add all sources
279
add_library(
2810
${PACKAGE_NAME} SHARED

packages/react-native-quick-crypto/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ dependencies {
141141
implementation 'io.github.ronickg:openssl:3.3.2'
142142

143143
// Add a dependency on libsodium
144-
implementation 'io.github.ronickg:sodium:1.0.19'
144+
implementation 'io.github.ronickg:sodium:1.0.20'
145145
}
146146

147147
if (isNewArchitectureEnabled()) {

0 commit comments

Comments
 (0)