Skip to content

Commit b1d3f97

Browse files
authored
[Android] Revert "fix: turn off build IDs for reproducibility (#3602)" (#3660)
## Description Reverts #3602 as we want to stay consistent with **React Native**. ## Test plan Trust me 😅
1 parent ae9394a commit b1d3f97

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/react-native-gesture-handler/android/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,9 @@ android {
158158
arguments "-DREACT_NATIVE_DIR=${REACT_NATIVE_DIR}",
159159
"-DREACT_NATIVE_MINOR_VERSION=${REACT_NATIVE_MINOR_VERSION}",
160160
"-DANDROID_STL=c++_shared",
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"
161+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
166162
abiFilters(*reactNativeArchitectures())
167163
}
168-
ndkBuild {
169-
arguments "APP_LDFLAGS+=-Wl,--build-id=none"
170-
}
171164
}
172165
}
173166
}

0 commit comments

Comments
 (0)