Skip to content

Commit 62b4ba5

Browse files
android fbjni
1 parent e4efd9f commit 62b4ba5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

Modules/@babylonjs/react-native/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ dependencies {
177177
implementation 'com.google.ar:core:1.22.0'
178178
implementation 'com.facebook.fbjni:fbjni:0.3.0'
179179

180-
//extractHeaders 'com.facebook.fbjni:fbjni:0.3.0:headers'
181-
//extractLibs 'com.facebook.fbjni:fbjni:0.3.0', 'com.google.ar:core:1.22.0'
180+
extractHeaders 'com.facebook.fbjni:fbjni:0.3.0:headers'
181+
extractLibs 'com.facebook.fbjni:fbjni:0.3.0', 'com.google.ar:core:1.22.0'
182182
}
183183

184184
def configureReactNativePom(def pom) {

Package/gulpfile.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,7 @@ const buildTypeScript = async () => {
5757
packageJson.main = `${path.basename(packageJson.main, '.ts')}.js`;
5858
fs.writeFileSync('Assembled/package.json', JSON.stringify(packageJson, null, 4));
5959
};
60-
/*
61-
const makeXCodeProj = async () => {
62-
exec(`cmake -S ios -G Xcode -B Build/iOS -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DBABYLON_NATIVE_BUILD_APPS=OFF -DBABYLON_NATIVE_PLUGIN_TESTUTILS=OFF -DBABYLON_NATIVE_INSTALL=OFF -DFETCHCONTENT_SOURCE_DIR_BGFX.CMAKE=./react-native/shared/BabylonNative/deps/bgfx.cmake-src -DFETCHCONTENT_SOURCE_DIR_ARCANA.CPP=./react-native/shared/BabylonNative/deps/arcana.cpp-src -DFETCHCONTENT_SOURCE_DIR_CMAKEEXTENSIONS=./react-native/shared/BabylonNative/deps/cmakeextensions-src -DFETCHCONTENT_SOURCE_DIR_JSRUNTIMEHOST=./react-native/shared/BabylonNative/deps/jsruntimehost-src -DFETCHCONTENT_SOURCE_DIR_URLLIB=./react-native/shared/BabylonNative/deps/urllib-src -DFETCHCONTENT_SOURCE_DIR_SPIRV-CROSS=./react-native/shared/BabylonNative/deps/spirv-cross-src -DFETCHCONTENT_SOURCE_DIR_LIBWEBP=./react-native/shared/BabylonNative/deps/libwebp-src -DFETCHCONTENT_SOURCE_DIR_GLSLANG=./react-native/shared/BabylonNative/deps/glslang-src -DFETCHCONTENT_SOURCE_DIR_BASE-N=./react-native/shared/BabylonNative/deps/base-n-src -DFETCHCONTENT_SOURCE_DIR_IOS-CMAKE=./react-native/shared/BabylonNative/deps/ios-cmake-src`,
63-
'../Modules/@babylonjs/react-native');
64-
};
65-
*/
60+
6661
const buildIphoneOS = async () => {
6762
exec('xcodebuild -sdk iphoneos -configuration Release -workspace BRNPlayground.xcworkspace -scheme Playground build CODE_SIGNING_ALLOWED=NO', '../Apps/Playground/ios');
6863
};

0 commit comments

Comments
 (0)