Skip to content

Commit

Permalink
remove .pfx and add x86_64 for Android (#576)
Browse files Browse the repository at this point in the history
* remove .pfx and add x86_64 for Android

* gradle x86

* more expected files
  • Loading branch information
CedricGuillemet authored May 11, 2023
1 parent 9196d80 commit f511002
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ android {
}
}
ndk {
abiFilters "arm64-v8a", "armeabi-v7a", "x86"
abiFilters "arm64-v8a", "armeabi-v7a", "x86", 'x86_64'
}
packagingOptions {
// .so files referenced by cmake should be autolinked with Android gradle plugin 4.0.0+
Expand Down
28 changes: 26 additions & 2 deletions Package/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const copyARM64ReleaseUWPFiles = () => {
}

const copyVCXProjUWPFiles = () => {
return gulp.src('../Modules/@babylonjs/react-native-windows/windows/BabylonReactNative/*.*')
return gulp.src('../Modules/@babylonjs/react-native-windows/windows/BabylonReactNative/*.*', '!*.pfx')
.pipe(gulp.dest('Assembled-Windows/windows/BabylonReactNative'));
}

Expand Down Expand Up @@ -499,6 +499,11 @@ const validateAssemblediOSAndroid = async () => {
'Assembled-iOSAndroid/android/src/main/jniLibs/x86',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libBabylonNative.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libturbomodulejsijni.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libBabylonNative.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libturbomodulejsijni.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libarcore_sdk_c.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libfbjni.so',
'Assembled-iOSAndroid/ios',
'Assembled-iOSAndroid/ios/BabylonModule.mm',
'Assembled-iOSAndroid/ios/BabylonNativeInterop.h',
Expand Down Expand Up @@ -615,7 +620,26 @@ const validateAssemblediOSAndroid = async () => {
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/librrc_view.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libruntimeexecutor.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libyoga.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libc++_shared.so'
'Assembled-iOSAndroid/android/src/main/jniLibs/x86/libc++_shared.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libfabricjni.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libfolly_runtime.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libglog.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libjsi.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_codegen_rncore.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_debug.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_nativemodule_core.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_newarchdefaults.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_componentregistry.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_core.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_debug.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_graphics.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_imagemanager.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libreact_render_mapbuffer.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/librrc_image.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/librrc_view.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libruntimeexecutor.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libyoga.so',
'Assembled-iOSAndroid/android/src/main/jniLibs/x86_64/libc++_shared.so'
];

expectediosandroid = expectediosandroid.concat(expectediosandroid071);
Expand Down

0 comments on commit f511002

Please sign in to comment.