Skip to content

Commit

Permalink
Integrate the NativePerformanceLogger BabylonNative lib (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantrem authored Nov 5, 2021
1 parent 8eb6d4d commit 119409a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
$(BabylonNativeBuildDir)\Plugins\NativeEngine\$(Configuration);
$(BabylonNativeBuildDir)\Plugins\NativeInput\$(Configuration);
$(BabylonNativeBuildDir)\Plugins\NativeOptimizations\$(Configuration);
$(BabylonNativeBuildDir)\Plugins\NativeTracing\$(Configuration);
$(BabylonNativeBuildDir)\Plugins\NativeXr\$(Configuration);
$(BabylonNativeBuildDir)\Polyfills\Window\$(Configuration);
$(BabylonNativeBuildDir)\Polyfills\XMLHttpRequest\$(Configuration);
Expand Down Expand Up @@ -191,6 +192,7 @@
NativeEngine.lib;
NativeInput.lib;
NativeOptimizations.lib;
NativeTracing.lib;
NativeXr.lib;
nvtt.lib;
OGLCompilerd.lib;
Expand Down Expand Up @@ -249,6 +251,7 @@
NativeEngine.lib;
NativeInput.lib;
NativeOptimizations.lib;
NativeTracing.lib;
NativeXr.lib;
nvtt.lib;
OGLCompiler.lib;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ target_link_libraries(BabylonNative
NativeEngine
NativeInput
NativeOptimizations
NativeTracing
NativeXr
Window
XMLHttpRequest
Expand Down
1 change: 1 addition & 0 deletions Modules/@babylonjs/react-native/android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ target_link_libraries(BabylonNative
NativeEngine
NativeInput
NativeOptimizations
NativeTracing
NativeXr
Window
XMLHttpRequest
Expand Down
1 change: 1 addition & 0 deletions Modules/@babylonjs/react-native/ios/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ target_link_libraries(BabylonNative
NativeEngine
NativeInput
NativeOptimizations
NativeTracing
NativeXr
Window
XMLHttpRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Pod::Spec.new do |s|
'NativeEngine',
'NativeInput',
'NativeOptimizations',
'NativeTracing',
'NativeXR',
'SPIRV',
'spirv-cross-core',
Expand Down
2 changes: 2 additions & 0 deletions Modules/@babylonjs/react-native/shared/BabylonNative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <Babylon/Plugins/NativeEngine.h>
#include <Babylon/Plugins/NativeInput.h>
#include <Babylon/Plugins/NativeOptimizations.h>
#include <Babylon/Plugins/NativeTracing.h>
#include <Babylon/Plugins/NativeXr.h>
#include <Babylon/Polyfills/Window.h>
#include <Babylon/Polyfills/XMLHttpRequest.h>
Expand Down Expand Up @@ -50,6 +51,7 @@ namespace Babylon
Plugins::NativeCapture::Initialize(m_env);
m_nativeInput = &Plugins::NativeInput::CreateForJavaScript(m_env);
Plugins::NativeOptimizations::Initialize(m_env);
Plugins::NativeTracing::Initialize(m_env);

// Initialize Babylon Native polyfills
Polyfills::Window::Initialize(m_env);
Expand Down
1 change: 1 addition & 0 deletions Package/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ const validate = async () => {
'Assembled/ios/libs/libNativeEngine.a',
'Assembled/ios/libs/libNativeInput.a',
'Assembled/ios/libs/libNativeOptimizations.a',
'Assembled/ios/libs/libNativeTracing.a',
'Assembled/ios/libs/libNativeXr.a',
'Assembled/ios/libs/libOGLCompiler.a',
'Assembled/ios/libs/libOSDependent.a',
Expand Down
1 change: 1 addition & 0 deletions Package/iOS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ set(PACKAGED_LIBS
NativeEngine
NativeInput
NativeOptimizations
NativeTracing
NativeXr
SPIRV
spirv-cross-core
Expand Down

0 comments on commit 119409a

Please sign in to comment.