-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying an architecture in RNTester and release builds
Summary: Setting `reactNativeDebugArchitectures` currently does not seem to work for RNTester, since it sets `abiFilters` which conflicts with the `splits` option we're already setting. Gradle then complains: ``` neildhar@neildhar-mbp ~/f/x/j/react-native-github (default) > ./gradlew -PreactNativeDebugArchitectures=x86_64 :packages:rn-tester:android:app:installJscDebug > Configure project :ReactAndroid Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':packages:rn-tester:android:app'. > com.android.builder.errors.EvalIssueException: Conflicting configuration : 'x86_64' in ndk abiFilters cannot be present when splits abi filters are set : x86_64,x86,armeabi-v7a,arm64-v8a ``` Consolidate everything with the `splits` option. In addition, it's convenient to also be able to control the native architecture for release builds. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D31834075 fbshipit-source-id: c6375d2a1e242981d0017f6e0a9d428b074a3fbd
- Loading branch information
1 parent
8649174
commit 43c38cd
Showing
3 changed files
with
16 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters