fix: reproducible build paths for native libs and strip unused brotli sos (#56)
This commit is contained in:
parent
4a19bb2249
commit
7eb38bcafb
3 changed files with 10 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ android {
|
|||
resources {
|
||||
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||||
}
|
||||
jniLibs {
|
||||
excludes += "**/libbrotlicommon.so"
|
||||
excludes += "**/libbrotlidec.so"
|
||||
excludes += "**/libbrotlienc.so"
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@ cmake_minimum_required(VERSION 3.22.1)
|
|||
# Declares the project name.
|
||||
project("reader-native")
|
||||
|
||||
add_compile_options(
|
||||
-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.
|
||||
-ffile-prefix-map=${CMAKE_BINARY_DIR}=.
|
||||
)
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,max-page-size=16384")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue