File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/react-native-gesture-handler/android Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,16 @@ android {
158
158
arguments " -DREACT_NATIVE_DIR=${ REACT_NATIVE_DIR} " ,
159
159
" -DREACT_NATIVE_MINOR_VERSION=${ REACT_NATIVE_MINOR_VERSION} " ,
160
160
" -DANDROID_STL=c++_shared" ,
161
- " -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
161
+ " -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" ,
162
+ // Turn off build IDs for reproducibility (ensuring the same code will produce the same bundle when built)
163
+ // See https://gitlab.com/IzzyOnDroid/repo/-/wikis/Reproducible-Builds/RB-Hints-for-Developers#no-funny-build-time-generated-ids
164
+ // for more information
165
+ " -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--build-id=none"
162
166
abiFilters(* reactNativeArchitectures())
163
167
}
168
+ ndkBuild {
169
+ arguments " APP_LDFLAGS+=-Wl,--build-id=none"
170
+ }
164
171
}
165
172
}
166
173
}
You can’t perform that action at this time.
0 commit comments