Skip to content

Commit

Permalink
boringssl updates
Browse files Browse the repository at this point in the history
  • Loading branch information
thejcfactor committed Oct 25, 2023
1 parent 7d362bf commit 16c931d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions bin/build_boringssl
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ BORINGSSL_INCLUDE_DIR=$BORINGSSL_OUTPUT_DIR/include

cd $BORINGSSL_SRC_DIR

rm -rf build
mkdir -p build
cd build
echo "Starting initial build phase."
$BORINGSSL_CMAKE_EXE \
-G"${BORINGSSL_CMAKE_GENERATOR}" \
Expand All @@ -34,6 +31,8 @@ if [ -n "$BORINGSSL_PREFIX" ]; then
go run read_symbols.go $BORINGSSL_BUILD_DIR/ssl/libssl.a > $BORINGSSL_OUTPUT_DIR/symbols.txt
go run read_symbols.go $BORINGSSL_BUILD_DIR/crypto/libcrypto.a >> $BORINGSSL_OUTPUT_DIR/symbols.txt

rm -rf $BORINGSSL_BUILD_DIR

echo "Starting build phase with symbol prefixing."
$BORINGSSL_CMAKE_EXE \
-G"${BORINGSSL_CMAKE_GENERATOR}" \
Expand Down
4 changes: 2 additions & 2 deletions bin/build_boringssl_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ set BORINGSSL_INCLUDE_DIR=%BORINGSSL_OUTPUT_DIR%\include

cd %BORINGSSL_SRC_DIR%

rd /S /Q build
md build
@echo "Starting initial build phase."

%BORINGSSL_CMAKE_EXE% ^
Expand Down Expand Up @@ -90,6 +88,8 @@ if [%BORINGSSL_PREFIX%] NEQ [] (
move "%BORINGSSL_OUTPUT_DIR%\symbols_parsed.txt" "%BORINGSSL_OUTPUT_DIR%\symbols.txt"
)

rd /S /Q "%BORINGSSL_BUILD_DIR%"

@echo "Starting build phase with symbol prefixing."
%BORINGSSL_CMAKE_EXE% ^
-G %BORINGSSL_CMAKE_GENERATOR% ^
Expand Down

0 comments on commit 16c931d

Please sign in to comment.