Consolidate JSI projects (#6783)
* Update project-structure.md * Remove JSI projects from Desktop SLN * Move JSI shared sources to Shared\JSI * Add Shared\JSI sources * Fix Desktop includes * Move JSI/Desktop/ sources to Desktop/JSI/ * Remove JSI\{Shared,Desktop} * Move JSI Desktop tests to UnitTests * Ported up to JsiRuntimeUnitTests_ObjectTest * Ported up to JsiRuntimeUnitTests_Chakra_HostObjectTest * Port remaining JsiRuntimeUnitTests_* * Use MakeJSQueueThread() * Separate tests into generic and Chakra-specific. * Default to V8. * Remove JSI Desktop UT * Remove references to JSI.Shared and JSI.Universal * Make x64 the default platform * clang format * Remove JSI.Desktop.UT from CI * Remove JSI.Universal * Change files * Fix Desktop Int. Tests includes * Add ReactCommon.UnitTests. * Added ReactCommon tests. * Add ViewTest. * Add remaining tests. * clang format * Revert changes to Desktop.UnitTests * Remove test.cpp * Update packages.config * Remove CppWinRT usages * Add missing copyright * Update UniTests script * Removed JSI.* projects from templates and packages SLNs * Skip DebugStringConvertibleTest on non-Debug * Removed change files * Change files * Remove stale references to JSI.* projects * Remove stale references to JSI.* projects * Remove x86 config for ReactCommon.UnitTests * Re-enabled V8,ChakraCore switching * Renamed ChakraCoreRuntimeUnitTests.cpp as JsiRuntimeGenerators * Removed JsiRuntimeUnitTests.h * clang format * Updated project-structure * Add missing test filter AND operators
This commit is contained in:
Родитель
b916cff49d
Коммит
18c8a47af1
|
@ -2,10 +2,10 @@ parameters:
|
|||
- name: buildEnvironment
|
||||
type: string
|
||||
default : PullRequest
|
||||
values:
|
||||
- PullRequest
|
||||
- Continuous
|
||||
|
||||
values:
|
||||
- PullRequest
|
||||
- Continuous
|
||||
|
||||
jobs:
|
||||
- job: Desktop
|
||||
variables:
|
||||
|
@ -19,6 +19,14 @@ jobs:
|
|||
(FullyQualifiedName!=RNTesterIntegrationTests::WebSocket)&
|
||||
(FullyQualifiedName!~WebSocketModule_)&
|
||||
(FullyQualifiedName!=WebSocketResourcePerformanceTest::ProcessThreadsPerResource)
|
||||
# HostFunctionTest - Crashes under JSI/V8
|
||||
# HostObjectProtoTest - Crashes under JSI/V8
|
||||
# PreparedJavaScriptSourceTest - Asserts/Fails under JSI/ChakraCore
|
||||
- name: Desktop.UnitTests.Filter
|
||||
value: >
|
||||
(FullyQualifiedName!~HostFunctionTest)&
|
||||
(FullyQualifiedName!~HostObjectProtoTest)&
|
||||
(FullyQualifiedName!~PreparedJavaScriptSourceTest)
|
||||
displayName: Desktop
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -71,7 +79,7 @@ jobs:
|
|||
project: vnext/ReactWindows-Desktop.sln
|
||||
buildPlatform: $(BuildPlatform)
|
||||
buildConfiguration: $(BuildConfiguration)
|
||||
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: Build react-native-win32 RNTester bundle
|
||||
inputs:
|
||||
|
@ -92,9 +100,10 @@ jobs:
|
|||
testSelector: testAssemblies
|
||||
testAssemblyVer2: |
|
||||
React.Windows.Desktop.UnitTests/React.Windows.Desktop.UnitTests.dll
|
||||
JSI.Desktop.UnitTests/JSI.Desktop.UnitTests.exe
|
||||
ReactCommon.UnitTests/ReactCommon.UnitTests.exe
|
||||
pathtoCustomTestAdapters: $(GoogleTestAdapterPath)
|
||||
searchFolder: $(Build.SourcesDirectory)/vnext/target/$(BuildPlatform)/$(BuildConfiguration)
|
||||
testFiltercriteria: $(Desktop.UnitTests.Filter)
|
||||
runTestsInIsolation: true
|
||||
platform: $(BuildPlatform)
|
||||
configuration: $(BuildConfiguration)
|
||||
|
@ -150,4 +159,4 @@ jobs:
|
|||
displayName: 'Component Governance Detection'
|
||||
inputs:
|
||||
alertWarningLevel: Medium
|
||||
scanType: 'Register'
|
||||
scanType: 'Register'
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "prerelease",
|
||||
"comment": "Consolidate JSI projects",
|
||||
"packageName": "react-native-windows",
|
||||
"email": "julio.rocha@microsoft.com",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
|
@ -12,111 +12,96 @@ Sample applications are not covered.
|
|||
- [Desktop.UnitTests\React.Windows.Desktop.UnitTests.vcxproj](#React.Windows.Desktop.UnitTests)
|
||||
- [Folly\Folly.vcxproj](#Folly)
|
||||
- [FollyWin32\FollyWin32.vcxproj](#FollyWin32)
|
||||
- [IntegrationTestScripts\IntegrationTests.njsproj](#IntegrationTests-Node-Project)
|
||||
- [IntegrationTests\React.Windows.IntegrationTests.vcxproj](#React.Windows.IntegrationTests)
|
||||
- [JSI\Desktop\JSI.Desktop.vcxproj](#JSI.Desktop)
|
||||
- [JSI\Shared\JSI.Shared.vcxitems](#JSI.Shared)
|
||||
- [JSI\Universal\JSI.Universal.vcxproj](#JSI.Universal)
|
||||
- [JSI.Desktop.UnitTests\JSI.Desktop.UnitTests](#JSI.Desktop.UnitTests)
|
||||
- **[Microsoft.ReactNative\Microsoft.ReactNative.vcxproj](#Microsoft.ReactNative)**
|
||||
- [Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems](#Microsoft.ReactNative.Cxx)
|
||||
- [Microsoft.ReactNative.Managed\Microsoft.ReactNative.Managed.csproj](#Microsoft.ReactNative.Managed)
|
||||
- [Microsoft.ReactNative.SharedManaged\Microsoft.ReactNative.SharedManaged.projitems](#Microsoft.ReactNative.SharedManaged)
|
||||
- [ReactCommon\ReactCommon.vcxproj](#ReactCommon)
|
||||
- [Shared\Shared.vcxitems](#Shared)
|
||||
- [ReactCommon.UnitTests\ReactCommon.UnitTests.vcxproj](#ReactCommon.UnitTests)
|
||||
- [Shared\Shared.vcxitems](#Microsoft.ReactNative.Shared)
|
||||
|
||||
## Common Projects
|
||||
|
||||
### Common
|
||||
*Static Library*<br/>
|
||||
Functionality shared between React and JSI projects that do not depend on React or JSI functionality.
|
||||
*Static Library*\
|
||||
Functionality shared between React and JSI projects.
|
||||
|
||||
### Shared
|
||||
*Shared Items (no build artifact)*<br/>
|
||||
### Microsoft.ReactNative.Shared
|
||||
*Shared Items (no build artifact)*\
|
||||
Holds sources common to both Windows variants, that require different build configuration
|
||||
(i.e. compiler flags, language standard).
|
||||
|
||||
### ReactCommon
|
||||
*Static Library*<br/>
|
||||
React Native core, cross-platform C++ types and interfaces.<br/>
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.<br/>
|
||||
*Static Library*\
|
||||
React Native core, cross-platform C++ types and interfaces.\
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.\
|
||||
See https://github.com/facebook/react-native/tree/v0.62.0/ReactCommon.
|
||||
|
||||
### Folly
|
||||
*Static Library*<br/>
|
||||
Folly variant type system for JavaScript/C++ interoperability.<br/>
|
||||
*Static Library*\
|
||||
Folly variant type system for JavaScript/C++ interoperability.\
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.
|
||||
|
||||
### Chakra
|
||||
*Shared Items (no build artifact)*<br/>
|
||||
*Shared Items (no build artifact)*\
|
||||
ChakraCore bridging layer. May use different compiler flags between Windows variants.
|
||||
|
||||
### JSI.Shared
|
||||
*Shared Items (no build artifact)*<br/>
|
||||
Code shared between [JSI\Desktop\JSI.Desktop.vcxproj](#JSI.Desktop) and [JSI\Universal\JSI.Universal.vcxproj](#JSI.Universal).
|
||||
|
||||
### Microsoft.ReactNative.Cxx
|
||||
*Shared Items (no build artifact)*<br/>
|
||||
*Shared Items (no build artifact)*\
|
||||
Contains helpers to simplify authoring C++/WinRT native modules on top of [Microsoft.ReactNative](#Microsoft.ReactNative).
|
||||
|
||||
### Microsoft.ReactNative.Managed
|
||||
*Managed Library*<br/>
|
||||
*Managed Library*\
|
||||
Contains helpers to simplify authoring C# native modules on top of [Microsoft.ReactNative](#Microsoft.ReactNative).
|
||||
|
||||
### Microsoft.ReactNative.SharedManaged
|
||||
Deprecated: This is still here so that customers get a specific error message on how to upgrade their project.
|
||||
|
||||
### React.Windows.IntegrationTests
|
||||
*Static Library*<br/>
|
||||
*Static Library*\
|
||||
Common framework for running out of process and/or full React instance testing.
|
||||
|
||||
### IntegrationTests (Node Project)
|
||||
*MSBuild Node project. For reading/editing purposes only (no build artifact)*<br/>
|
||||
*MSBuild Node project. For reading/editing purposes only (no build artifact)*\
|
||||
Set of JavaScript component tests for [RNTester](https://github.com/facebook/react-native/tree/v0.62.0/RNTester).
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.<br/>
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.\
|
||||
See https://github.com/facebook/react-native/tree/v0.62.0/IntegrationTests.
|
||||
|
||||
## Windows Desktop Projects
|
||||
|
||||
### React.Windows.Desktop
|
||||
*Static Library*<br/>
|
||||
*Static Library*\
|
||||
Set of Native Modules, View Managers and Executors for Windows Desktop.
|
||||
|
||||
### React.Windows.Desktop.DLL
|
||||
*Dynamic Library*<br/>
|
||||
Shared library that exports the intended public API surface for [React.Windows.Desktop](#React.Windows.Desktop).<br/>
|
||||
*Dynamic Library*\
|
||||
Shared library that exports the intended public API surface for [React.Windows.Desktop](#React.Windows.Desktop).\
|
||||
**Main artifact to use in Windows Desktop applications.**
|
||||
|
||||
### React.Windows.Desktop.UnitTests
|
||||
*VSTest Dynamic Library*<br/>
|
||||
*VSTest Dynamic Library*\
|
||||
Set of isolated (mocked) tests for types defined in [React.Windows.Desktop](#React.Windows.Desktop).
|
||||
|
||||
### React.Windows.Desktop.IntegrationTests
|
||||
*VSTest Dynamic Library*<br/>
|
||||
*VSTest Dynamic Library*\
|
||||
Set of component tests that validate functionality against external runtime components
|
||||
(i.e. networking servers, file system, React Native applications, external processes).<br/>
|
||||
(i.e. networking servers, file system, React Native applications, external processes).\
|
||||
Validates [React.Windows.Desktop.DLL](#React.Windows.Desktop.DLL).
|
||||
|
||||
### JSI.Desktop
|
||||
*Static Library*<br/>
|
||||
ChakraCore based JSI::Runtime implementation.
|
||||
|
||||
### JSI.Desktop.UnitTests
|
||||
*Google Test Executable*<br/>
|
||||
Set of unit tests for jsi::runtime.
|
||||
### ReactCommon.UnitTests
|
||||
*Google Test Application*\
|
||||
Gathers tests within `react-native\ReactCommon`.\
|
||||
Its main purpose is to validate JSI with any given engine (V8, ChakraCore, etc).
|
||||
|
||||
### FollyWin32
|
||||
*Static Library*<br/>
|
||||
Superset of Folly APIs only available and required by [React.Windows.Desktop](#React.Windows.Desktop).<br/>
|
||||
*Static Library*\
|
||||
Superset of Folly APIs only available and required by [React.Windows.Desktop](#React.Windows.Desktop).\
|
||||
Sources provided as part of the `react-native` Node dependency. Not part of this repository.
|
||||
|
||||
## Windows Universal Projects
|
||||
|
||||
### Microsoft.ReactNative
|
||||
*Windows Runtime Component*</br>
|
||||
The primary Windows Universal entry point and public API surface for React Native Windows.<br/>
|
||||
The primary Windows Universal entry point and public API surface for React Native Windows.\
|
||||
**Main artifact to use in Windows Universal applications.**
|
||||
|
||||
### JSI.Universal
|
||||
*Static Library*<br/>
|
||||
Chakra based JSI::Runtime implementation.
|
||||
|
|
|
@ -24,8 +24,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PropertySheets", "PropertyS
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactUWPTestApp", "ReactUWPTestApp\ReactUWPTestApp.csproj", "{ABBB0407-0E82-486F-94CE-710900FCAADC}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ReactNative", "ReactNative", "{AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}"
|
||||
|
@ -38,7 +36,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ReactNative.Manag
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
|
@ -111,22 +108,6 @@ Global
|
|||
{ABBB0407-0E82-486F-94CE-710900FCAADC}.Release|x86.ActiveCfg = Release|x86
|
||||
{ABBB0407-0E82-486F-94CE-710900FCAADC}.Release|x86.Build.0 = Release|x86
|
||||
{ABBB0407-0E82-486F-94CE-710900FCAADC}.Release|x86.Deploy.0 = Release|x86
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -198,7 +179,6 @@ Global
|
|||
GlobalSection(NestedProjects) = preSolution
|
||||
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
{F2824844-CE15-4242-9420-308923CD76C3} = {AB7DB37D-898C-4BBC-9F2A-E043EC90C8F3}
|
||||
|
|
|
@ -19,10 +19,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\..\..\vnext\Ch
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\..\..\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -43,10 +39,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InteropTestModuleCS", "Inte
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\vnext\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -138,22 +132,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -227,8 +205,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -24,10 +24,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLibraryCS", "SampleLi
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleLibraryCpp", "SampleLibraryCpp\SampleLibraryCpp.vcxproj", "{47EEC7F3-40D3-49BA-82C1-EAF103B54215}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -46,10 +42,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.ReactNative.Manag
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\vnext\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -197,22 +191,6 @@ Global
|
|||
{47EEC7F3-40D3-49BA-82C1-EAF103B54215}.Release|x64.Build.0 = Release|x64
|
||||
{47EEC7F3-40D3-49BA-82C1-EAF103B54215}.Release|x86.ActiveCfg = Release|Win32
|
||||
{47EEC7F3-40D3-49BA-82C1-EAF103B54215}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -270,8 +248,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -16,10 +16,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\..\..\vnext\Ch
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\..\..\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -34,14 +30,11 @@ Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "Playground-win32 (Package)"
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
|
@ -89,14 +82,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.Build.0 = Debug|x64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
|
@ -126,8 +111,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -16,10 +16,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\..\..\vnext\Ch
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\..\..\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -32,10 +28,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mso", "..\..\..\vnext\Mso\M
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
|
@ -86,14 +80,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.Build.0 = Debug|x64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
|
@ -111,8 +97,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -19,10 +19,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\..\..\vnext\Ch
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\..\..\vnext\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\..\..\vnext\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\..\..\vnext\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -35,10 +31,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mso", "..\..\..\vnext\Mso\M
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\..\..\vnext\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\..\..\vnext\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
|
@ -129,22 +123,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -170,8 +148,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "ChakraRuntimeHolder.h"
|
||||
|
||||
#include <JSI/Shared/ChakraRuntimeFactory.h>
|
||||
#include <JSI/ChakraRuntimeFactory.h>
|
||||
|
||||
using namespace facebook;
|
||||
using namespace facebook::react;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include <DevSettings.h>
|
||||
|
||||
#include <JSI/Shared/ChakraRuntimeArgs.h>
|
||||
#include <JSI/Shared/RuntimeHolder.h>
|
||||
#include <JSI/ChakraRuntimeArgs.h>
|
||||
#include <JSI/RuntimeHolder.h>
|
||||
|
||||
#include <Logging.h>
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
WIN32;
|
||||
BOOST_ASIO_HAS_IOCP;
|
||||
FOLLY_NO_CONFIG;
|
||||
GTEST_LANG_CXX11=1;
|
||||
NOMINMAX;
|
||||
CHAKRACORE;
|
||||
RN_EXPORT=;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="boost" version="1.72.0.0" targetFramework="native" />
|
||||
<package id="ChakraCore.Debugger" version="0.0.0.44" targetFramework="native" />
|
||||
<package id="Microsoft.ChakraCore.vc140" version="1.11.20" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.200615.7" targetFramework="native" />
|
||||
<package id="ReactWindows.OpenSSL.StdCall.Static" version="1.0.2-p.5" targetFramework="native" />
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include "ChakraRuntime.h"
|
||||
#include "ChakraRuntimeFactory.h"
|
||||
#include <JSI/ByteArrayBuffer.h>
|
||||
#include <JSI/ChakraRuntime.h>
|
||||
#include <JSI/ChakraRuntimeFactory.h>
|
||||
|
||||
#include <cxxreact/MessageQueueThread.h>
|
||||
#include "ByteArrayBuffer.h"
|
||||
#include "Unicode.h"
|
||||
|
||||
// This file contains non-edge-mode (or win32) implementations.
|
|
@ -80,7 +80,7 @@
|
|||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)stubs;$(MSBuildProjectDirectory);$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)\Shared\tracing;$(ReactNativeWindowsDir)include\Shared;$(ReactNativeWindowsDir)JSI\Shared;$(IncludePath)</IncludePath>
|
||||
<IncludePath>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)stubs;$(MSBuildProjectDirectory);$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)\Shared\tracing;$(ReactNativeWindowsDir)include\Shared;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
|
@ -218,6 +218,7 @@
|
|||
<ClCompile Include="..\Microsoft.ReactNative\RedBoxErrorInfo.cpp" />
|
||||
<ClCompile Include="..\Microsoft.ReactNative\TurboModulesProvider.cpp" />
|
||||
<ClCompile Include="CxxReactWin32\JSBigString.cpp" />
|
||||
<ClCompile Include="JSI\ChakraJsiRuntime_core.cpp" />
|
||||
<ClCompile Include="ShadowNode.cpp" />
|
||||
<ClCompile Include="ShadowNodeRegistry.cpp" />
|
||||
<ClCompile Include="ViewManager.cpp" />
|
||||
|
@ -311,9 +312,6 @@
|
|||
<ProjectReference Include="..\FollyWin32\FollyWin32.vcxproj">
|
||||
<Project>{74085F13-2DDE-45E5-A0CA-927AC9D0B953}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\JSI\Desktop\JSI.Desktop.vcxproj">
|
||||
<Project>{17dd1b17-3094-40dd-9373-ac2497932eca}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ReactCommon\ReactCommon.vcxproj">
|
||||
<Project>{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}</Project>
|
||||
</ProjectReference>
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
<Filter Include="Source Files\Modules">
|
||||
<UniqueIdentifier>{56988676-220f-43a7-b8b1-8ecc51158498}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files\JSI">
|
||||
<UniqueIdentifier>{c610d916-3a3d-4617-bab1-ddec02729037}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Midl Include="..\Microsoft.ReactNative\IJSValueReader.idl">
|
||||
|
@ -161,6 +164,13 @@
|
|||
<ClCompile Include="pch.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="ShadowNode.cpp" />
|
||||
<ClCompile Include="ShadowNodeRegistry.cpp" />
|
||||
<ClCompile Include="ViewManager.cpp" />
|
||||
<ClCompile Include="Modules\UIManagerModule.cpp" />
|
||||
<ClCompile Include="JSI\ChakraJsiRuntime_core.cpp">
|
||||
<Filter>Source Files\JSI</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="ABI\MemoryTracker.h">
|
||||
|
|
|
@ -1,144 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" />
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<!-- #2702: We need to figure out how we want to consume the Google Test'
|
||||
NuGet for Win32. For now, we do not build this project for Win32. -->
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{6f354505-fe3a-4bd2-a9a6-d12bbf37a85c}</ProjectGuid>
|
||||
<ProjectName>JSI.Desktop.UnitTests</ProjectName>
|
||||
<UseV8>true</UseV8>
|
||||
<V8AppPlatform>win32</V8AppPlatform>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\ReactCommunity.Cpp.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<!-- We cannot include Warnings.props here because Google Test only builds at warning level 3. -->
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)stubs;$(ReactNativeWindowsDir)Shared;$(ReactNativeWindowsDir)\Shared\tracing;$(ReactNativeWindowsDir)include\Shared;$(ReactNativeWindowsDir)Desktop;$(ReactNativeWindowsDir)IntegrationTests;$(ReactNativeWindowsDir)JSI\Shared;$(MSBuildProjectDirectory);$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<!--
|
||||
BOOST_ASIO_HAS_IOCP - Force unique layout/size for boost::asio::basic_stream_socket<> subtypes.
|
||||
REACTWINDOWS_BUILD - building with REACTWINDOWS_API as dll exports
|
||||
-->
|
||||
<PreprocessorDefinitions>
|
||||
REACTWINDOWS_BUILD;
|
||||
BOOST_ASIO_HAS_IOCP;
|
||||
_WINSOCK_DEPRECATED_NO_WARNINGS;
|
||||
_WIN32_WINNT=$(WinVer);
|
||||
WIN32;
|
||||
_WINDOWS;
|
||||
FOLLY_NO_CONFIG;
|
||||
NOMINMAX;
|
||||
_HAS_AUTO_PTR_ETC;
|
||||
CHAKRACORE;
|
||||
RN_EXPORT=;
|
||||
GTEST_LANG_CXX11;
|
||||
%(PreprocessorDefinitions)
|
||||
</PreprocessorDefinitions>
|
||||
<!-- /Zc:strictStrings enforces the standard C++ const qualifications for
|
||||
string literals. It prevents code like
|
||||
wchar_t* str = L"hello";
|
||||
from compiling. -->
|
||||
<AdditionalOptions>%(AdditionalOptions) /Zc:strictStrings</AdditionalOptions>
|
||||
<!-- JSI Unit tests are copied from Facebook and rely on dynamic_pointer_cast -->
|
||||
<RunTimeTypeInfo>true</RunTimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>-minpdbpathlen:256</AdditionalOptions>
|
||||
<AdditionalDependencies>
|
||||
delayimp.lib;
|
||||
%(AdditionalDependencies)
|
||||
</AdditionalDependencies>
|
||||
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="JsiRuntimeUnitTests.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ChakraCoreRuntimeUnitTests.cpp" />
|
||||
<ClCompile Include="JsiRuntimeUnitTests.cpp" />
|
||||
<ClCompile Include="RunUnitTests.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ReactCommon\ReactCommon.vcxproj">
|
||||
<Project>{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Desktop\React.Windows.Desktop.vcxproj">
|
||||
<Project>{95048601-C3DC-475F-ADF8-7C0C764C10D5}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\IntegrationTests\React.Windows.IntegrationTests.vcxproj">
|
||||
<Project>{700A84FD-F92A-43F1-8D06-B0E0745DF9B5}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<V8JSI_NODLLCOPY />
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets" Condition="Exists('$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets" Condition="Exists('$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets" Condition="Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets')" />
|
||||
<Import Project="$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets" Condition="Exists('$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets') AND '$(UseV8)' == 'true'" />
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" />
|
||||
<Import Project="$(SolutionDir)\packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets" Condition="'$(Platform)' == 'ARM64' AND Exists('$(SolutionDir)\packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets')" />
|
||||
</ImportGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Warning Condition="'$(UseV8)' != 'true'" Text="Building desktop project without UseV8 (value is '$(UseV8)')" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets'))" />
|
||||
<Error Condition="!Exists('$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets') AND '$(UseV8)' == 'true'" Text="$([System.String]::Format('$(ErrorText)', '$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets'))" />
|
||||
<Error Condition="'$(Platform)' == 'ARM64' AND !Exists('$(SolutionDir)\packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,906 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include "JsiRuntimeUnitTests.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <jsi/jsi.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <chrono>
|
||||
#include <functional>
|
||||
#include <thread>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
using namespace facebook::jsi;
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, RuntimeTest) {
|
||||
rt.evaluateJavaScript(std::make_unique<StringBuffer>("x = 1"), "");
|
||||
auto i = rt.global().getProperty(rt, "x").getNumber();
|
||||
EXPECT_EQ(rt.global().getProperty(rt, "x").getNumber(), 1);
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, PropNameIDTest) {
|
||||
// This is a little weird to test, because it doesn't really exist
|
||||
// in JS yet. All I can do is create them, compare them, and
|
||||
// receive one as an argument to a HostObject.
|
||||
|
||||
PropNameID quux = PropNameID::forAscii(rt, "quux1", 4);
|
||||
PropNameID movedQuux = std::move(quux);
|
||||
EXPECT_EQ(movedQuux.utf8(rt), "quux");
|
||||
movedQuux = PropNameID::forAscii(rt, "quux2");
|
||||
EXPECT_EQ(movedQuux.utf8(rt), "quux2");
|
||||
PropNameID copiedQuux = PropNameID(rt, movedQuux);
|
||||
EXPECT_TRUE(PropNameID::compare(rt, movedQuux, copiedQuux));
|
||||
|
||||
EXPECT_TRUE(PropNameID::compare(rt, movedQuux, movedQuux));
|
||||
EXPECT_TRUE(PropNameID::compare(rt, movedQuux, PropNameID::forAscii(rt, std::string("quux2"))));
|
||||
EXPECT_FALSE(PropNameID::compare(rt, movedQuux, PropNameID::forAscii(rt, std::string("foo"))));
|
||||
uint8_t utf8[] = {0xF0, 0x9F, 0x86, 0x97};
|
||||
PropNameID utf8PropNameID = PropNameID::forUtf8(rt, utf8, sizeof(utf8));
|
||||
EXPECT_EQ(utf8PropNameID.utf8(rt), u8"\U0001F197");
|
||||
EXPECT_TRUE(PropNameID::compare(rt, utf8PropNameID, PropNameID::forUtf8(rt, utf8, sizeof(utf8))));
|
||||
PropNameID nonUtf8PropNameID = PropNameID::forUtf8(rt, "meow");
|
||||
EXPECT_TRUE(PropNameID::compare(rt, nonUtf8PropNameID, PropNameID::forAscii(rt, "meow")));
|
||||
EXPECT_EQ(nonUtf8PropNameID.utf8(rt), "meow");
|
||||
PropNameID strPropNameID = PropNameID::forString(rt, String::createFromAscii(rt, "meow"));
|
||||
EXPECT_TRUE(PropNameID::compare(rt, nonUtf8PropNameID, strPropNameID));
|
||||
|
||||
auto names = PropNameID::names(rt, "Ala", std::string("ma"), PropNameID::forAscii(rt, "kota"));
|
||||
EXPECT_EQ(names.size(), 3);
|
||||
EXPECT_TRUE(PropNameID::compare(rt, names[0], PropNameID::forAscii(rt, "Ala")));
|
||||
EXPECT_TRUE(PropNameID::compare(rt, names[1], PropNameID::forAscii(rt, "ma")));
|
||||
EXPECT_TRUE(PropNameID::compare(rt, names[2], PropNameID::forAscii(rt, "kota")));
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, StringTest) {
|
||||
EXPECT_TRUE(checkValue(String::createFromAscii(rt, "foobar", 3), "'foo'"));
|
||||
EXPECT_TRUE(checkValue(String::createFromAscii(rt, "foobar"), "'foobar'"));
|
||||
|
||||
std::string baz = "baz";
|
||||
EXPECT_TRUE(checkValue(String::createFromAscii(rt, baz), "'baz'"));
|
||||
|
||||
uint8_t utf8[] = {0xF0, 0x9F, 0x86, 0x97};
|
||||
EXPECT_TRUE(checkValue(String::createFromUtf8(rt, utf8, sizeof(utf8)), "'\\uD83C\\uDD97'"));
|
||||
|
||||
EXPECT_EQ(eval("'quux'").getString(rt).utf8(rt), "quux");
|
||||
EXPECT_EQ(eval("'\\u20AC'").getString(rt).utf8(rt), "\xe2\x82\xac");
|
||||
|
||||
String quux = String::createFromAscii(rt, "quux");
|
||||
String movedQuux = std::move(quux);
|
||||
EXPECT_EQ(movedQuux.utf8(rt), "quux");
|
||||
movedQuux = String::createFromAscii(rt, "quux2");
|
||||
EXPECT_EQ(movedQuux.utf8(rt), "quux2");
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, ObjectTest) {
|
||||
eval("x = {1:2, '3':4, 5:'six', 'seven':['eight', 'nine']}");
|
||||
Object x = rt.global().getPropertyAsObject(rt, "x");
|
||||
EXPECT_EQ(x.getPropertyNames(rt).size(rt), 4);
|
||||
EXPECT_TRUE(x.hasProperty(rt, "1"));
|
||||
EXPECT_TRUE(x.hasProperty(rt, PropNameID::forAscii(rt, "1")));
|
||||
EXPECT_FALSE(x.hasProperty(rt, "2"));
|
||||
EXPECT_FALSE(x.hasProperty(rt, PropNameID::forAscii(rt, "2")));
|
||||
EXPECT_TRUE(x.hasProperty(rt, "3"));
|
||||
EXPECT_TRUE(x.hasProperty(rt, PropNameID::forAscii(rt, "3")));
|
||||
EXPECT_TRUE(x.hasProperty(rt, "seven"));
|
||||
EXPECT_TRUE(x.hasProperty(rt, PropNameID::forAscii(rt, "seven")));
|
||||
EXPECT_EQ(x.getProperty(rt, "1").getNumber(), 2);
|
||||
EXPECT_EQ(x.getProperty(rt, PropNameID::forAscii(rt, "1")).getNumber(), 2);
|
||||
EXPECT_EQ(x.getProperty(rt, "3").getNumber(), 4);
|
||||
Value five = 5;
|
||||
EXPECT_EQ(x.getProperty(rt, PropNameID::forString(rt, five.toString(rt))).getString(rt).utf8(rt), "six");
|
||||
|
||||
x.setProperty(rt, "ten", 11);
|
||||
EXPECT_EQ(x.getPropertyNames(rt).size(rt), 5);
|
||||
EXPECT_TRUE(eval("x.ten == 11").getBool());
|
||||
|
||||
x.setProperty(rt, "e_as_float", 2.71f);
|
||||
EXPECT_TRUE(eval("Math.abs(x.e_as_float - 2.71) < 0.001").getBool());
|
||||
|
||||
x.setProperty(rt, "e_as_double", 2.71);
|
||||
EXPECT_TRUE(eval("x.e_as_double == 2.71").getBool());
|
||||
|
||||
uint8_t utf8[] = {0xF0, 0x9F, 0x86, 0x97};
|
||||
String nonAsciiName = String::createFromUtf8(rt, utf8, sizeof(utf8));
|
||||
x.setProperty(rt, PropNameID::forString(rt, nonAsciiName), "emoji");
|
||||
EXPECT_EQ(x.getPropertyNames(rt).size(rt), 8);
|
||||
EXPECT_TRUE(eval("x['\\uD83C\\uDD97'] == 'emoji'").getBool());
|
||||
|
||||
Object seven = x.getPropertyAsObject(rt, "seven");
|
||||
EXPECT_TRUE(seven.isArray(rt));
|
||||
Object evalf = rt.global().getPropertyAsObject(rt, "eval");
|
||||
EXPECT_TRUE(evalf.isFunction(rt));
|
||||
|
||||
Object movedX = Object(rt);
|
||||
movedX = std::move(x);
|
||||
EXPECT_EQ(movedX.getPropertyNames(rt).size(rt), 8);
|
||||
EXPECT_EQ(movedX.getProperty(rt, "1").getNumber(), 2);
|
||||
|
||||
Object obj = Object(rt);
|
||||
obj.setProperty(rt, "roses", "red");
|
||||
obj.setProperty(rt, "violets", "blue");
|
||||
Object oprop = Object(rt);
|
||||
obj.setProperty(rt, "oprop", oprop);
|
||||
obj.setProperty(rt, "aprop", Array(rt, 1));
|
||||
|
||||
EXPECT_TRUE(function("function (obj) { return "
|
||||
"obj.roses == 'red' && "
|
||||
"obj['violets'] == 'blue' && "
|
||||
"typeof obj.oprop == 'object' && "
|
||||
"Array.isArray(obj.aprop); }")
|
||||
.call(rt, obj)
|
||||
.getBool());
|
||||
|
||||
// Check that getPropertyNames doesn't return non-enumerable
|
||||
// properties.
|
||||
obj = function(
|
||||
"function () {"
|
||||
" obj = {};"
|
||||
" obj.a = 1;"
|
||||
" Object.defineProperty(obj, 'b', {"
|
||||
" enumerable: false,"
|
||||
" value: 2"
|
||||
" });"
|
||||
" return obj;"
|
||||
"}")
|
||||
.call(rt)
|
||||
.getObject(rt);
|
||||
EXPECT_EQ(obj.getProperty(rt, "a").getNumber(), 1);
|
||||
EXPECT_EQ(obj.getProperty(rt, "b").getNumber(), 2);
|
||||
Array names = obj.getPropertyNames(rt);
|
||||
EXPECT_EQ(names.size(rt), 1);
|
||||
EXPECT_EQ(names.getValueAtIndex(rt, 0).getString(rt).utf8(rt), "a");
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests_Chakra, HostObjectTest) {
|
||||
class ConstantHostObject : public HostObject {
|
||||
Value get(Runtime &, const PropNameID &sym) override {
|
||||
return 9000;
|
||||
}
|
||||
|
||||
void set(Runtime &, const PropNameID &, const Value &) override {}
|
||||
};
|
||||
|
||||
Object cho = Object::createFromHostObject(rt, std::make_shared<ConstantHostObject>());
|
||||
EXPECT_TRUE(function("function (obj) { return obj.someRandomProp == 9000; }").call(rt, cho).getBool());
|
||||
EXPECT_TRUE(cho.isHostObject(rt));
|
||||
EXPECT_TRUE(cho.getHostObject<ConstantHostObject>(rt).get() != nullptr);
|
||||
|
||||
struct SameRuntimeHostObject : HostObject {
|
||||
SameRuntimeHostObject(Runtime &rt) : rt_(rt){};
|
||||
|
||||
Value get(Runtime &rt, const PropNameID &sym) override {
|
||||
EXPECT_EQ(&rt, &rt_);
|
||||
return Value();
|
||||
}
|
||||
|
||||
void set(Runtime &rt, const PropNameID &name, const Value &value) override {
|
||||
EXPECT_EQ(&rt, &rt_);
|
||||
}
|
||||
|
||||
std::vector<PropNameID> getPropertyNames(Runtime &rt) override {
|
||||
EXPECT_EQ(&rt, &rt_);
|
||||
return {};
|
||||
}
|
||||
|
||||
Runtime &rt_;
|
||||
};
|
||||
|
||||
Object srho = Object::createFromHostObject(rt, std::make_shared<SameRuntimeHostObject>(rt));
|
||||
// Test get's Runtime is as expected
|
||||
function("function (obj) { return obj.isSame; }").call(rt, srho);
|
||||
// ... and set
|
||||
function("function (obj) { obj['k'] = 'v'; }").call(rt, srho);
|
||||
// ... and getPropertyNames
|
||||
function("function (obj) { for (k in obj) {} }").call(rt, srho);
|
||||
|
||||
class TwiceHostObject : public HostObject {
|
||||
Value get(Runtime &rt, const PropNameID &sym) override {
|
||||
return String::createFromUtf8(rt, sym.utf8(rt) + sym.utf8(rt));
|
||||
}
|
||||
|
||||
void set(Runtime &, const PropNameID &, const Value &) override {}
|
||||
};
|
||||
|
||||
Object tho = Object::createFromHostObject(rt, std::make_shared<TwiceHostObject>());
|
||||
EXPECT_TRUE(function("function (obj) { return obj.abc == 'abcabc'; }").call(rt, tho).getBool());
|
||||
EXPECT_TRUE(function("function (obj) { return obj['def'] == 'defdef'; }").call(rt, tho).getBool());
|
||||
EXPECT_TRUE(function("function (obj) { return obj[12] === '1212'; }").call(rt, tho).getBool());
|
||||
EXPECT_TRUE(tho.isHostObject(rt));
|
||||
EXPECT_TRUE(std::dynamic_pointer_cast<ConstantHostObject>(tho.getHostObject(rt)) == nullptr);
|
||||
EXPECT_TRUE(tho.getHostObject<TwiceHostObject>(rt).get() != nullptr);
|
||||
|
||||
class PropNameIDHostObject : public HostObject {
|
||||
Value get(Runtime &rt, const PropNameID &sym) override {
|
||||
if (PropNameID::compare(rt, sym, PropNameID::forAscii(rt, "undef"))) {
|
||||
return Value::undefined();
|
||||
} else {
|
||||
return PropNameID::compare(rt, sym, PropNameID::forAscii(rt, "somesymbol"));
|
||||
}
|
||||
}
|
||||
|
||||
void set(Runtime &, const PropNameID &, const Value &) override {}
|
||||
};
|
||||
|
||||
Object sho = Object::createFromHostObject(rt, std::make_shared<PropNameIDHostObject>());
|
||||
EXPECT_TRUE(sho.isHostObject(rt));
|
||||
EXPECT_TRUE(function("function (obj) { return obj.undef; }").call(rt, sho).isUndefined());
|
||||
EXPECT_TRUE(function("function (obj) { return obj.somesymbol; }").call(rt, sho).getBool());
|
||||
EXPECT_FALSE(function("function (obj) { return obj.notsomuch; }").call(rt, sho).getBool());
|
||||
|
||||
class BagHostObject : public HostObject {
|
||||
public:
|
||||
const std::string &getThing() {
|
||||
return bag_["thing"];
|
||||
}
|
||||
|
||||
private:
|
||||
Value get(Runtime &rt, const PropNameID &sym) override {
|
||||
if (sym.utf8(rt) == "thing") {
|
||||
return String::createFromUtf8(rt, bag_[sym.utf8(rt)]);
|
||||
}
|
||||
return Value::undefined();
|
||||
}
|
||||
|
||||
void set(Runtime &rt, const PropNameID &sym, const Value &val) override {
|
||||
std::string key(sym.utf8(rt));
|
||||
if (key == "thing") {
|
||||
bag_[key] = val.toString(rt).utf8(rt);
|
||||
}
|
||||
}
|
||||
|
||||
std::unordered_map<std::string, std::string> bag_;
|
||||
};
|
||||
|
||||
std::shared_ptr<BagHostObject> shbho = std::make_shared<BagHostObject>();
|
||||
Object bho = Object::createFromHostObject(rt, shbho);
|
||||
EXPECT_TRUE(bho.isHostObject(rt));
|
||||
EXPECT_TRUE(function("function (obj) { return obj.undef; }").call(rt, bho).isUndefined());
|
||||
EXPECT_EQ(
|
||||
function("function (obj) { obj.thing = 'hello'; return obj.thing; }").call(rt, bho).toString(rt).utf8(rt),
|
||||
"hello");
|
||||
EXPECT_EQ(shbho->getThing(), "hello");
|
||||
|
||||
class ThrowingHostObject : public HostObject {
|
||||
Value get(Runtime &rt, const PropNameID &sym) override {
|
||||
throw std::runtime_error("Cannot get");
|
||||
}
|
||||
|
||||
void set(Runtime &rt, const PropNameID &sym, const Value &val) override {
|
||||
throw std::runtime_error("Cannot set");
|
||||
}
|
||||
};
|
||||
|
||||
Object thro = Object::createFromHostObject(rt, std::make_shared<ThrowingHostObject>());
|
||||
EXPECT_TRUE(thro.isHostObject(rt));
|
||||
std::string exc;
|
||||
try {
|
||||
function("function (obj) { return obj.thing; }").call(rt, thro);
|
||||
} catch (const JSError &ex) {
|
||||
exc = ex.what();
|
||||
}
|
||||
EXPECT_NE(exc.find("Cannot get"), std::string::npos);
|
||||
exc = "";
|
||||
try {
|
||||
function("function (obj) { obj.thing = 'hello'; }").call(rt, thro);
|
||||
} catch (const JSError &ex) {
|
||||
exc = ex.what();
|
||||
}
|
||||
EXPECT_NE(exc.find("Cannot set"), std::string::npos);
|
||||
|
||||
class NopHostObject : public HostObject {};
|
||||
Object nopHo = Object::createFromHostObject(rt, std::make_shared<NopHostObject>());
|
||||
EXPECT_TRUE(nopHo.isHostObject(rt));
|
||||
EXPECT_TRUE(function("function (obj) { return obj.thing; }").call(rt, nopHo).isUndefined());
|
||||
|
||||
std::string nopExc;
|
||||
try {
|
||||
function("function (obj) { obj.thing = 'pika'; }").call(rt, nopHo);
|
||||
} catch (const JSError &ex) {
|
||||
nopExc = ex.what();
|
||||
}
|
||||
EXPECT_NE(nopExc.find("TypeError: "), std::string::npos);
|
||||
|
||||
class HostObjectWithPropertyNames : public HostObject {
|
||||
std::vector<PropNameID> getPropertyNames(Runtime &rt) override {
|
||||
return PropNameID::names(rt, "a_prop", "1", "false", "a_prop", "3", "c_prop");
|
||||
}
|
||||
};
|
||||
|
||||
Object howpn = Object::createFromHostObject(rt, std::make_shared<HostObjectWithPropertyNames>());
|
||||
EXPECT_TRUE(function("function (o) { return Object.getOwnPropertyNames(o).length == 5 }").call(rt, howpn).getBool());
|
||||
|
||||
auto hasOwnPropertyName = function(
|
||||
"function (o, p) {"
|
||||
" return Object.getOwnPropertyNames(o).indexOf(p) >= 0"
|
||||
"}");
|
||||
EXPECT_TRUE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "a_prop")).getBool());
|
||||
EXPECT_TRUE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "1")).getBool());
|
||||
EXPECT_TRUE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "false")).getBool());
|
||||
EXPECT_TRUE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "3")).getBool());
|
||||
EXPECT_TRUE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "c_prop")).getBool());
|
||||
EXPECT_FALSE(hasOwnPropertyName.call(rt, howpn, String::createFromAscii(rt, "not_existing")).getBool());
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests_Chakra, ArrayTest) {
|
||||
eval("x = {1:2, '3':4, 5:'six', 'seven':['eight', 'nine']}");
|
||||
|
||||
Object x = rt.global().getPropertyAsObject(rt, "x");
|
||||
Array names = x.getPropertyNames(rt);
|
||||
EXPECT_EQ(names.size(rt), 4);
|
||||
std::unordered_set<std::string> strNames;
|
||||
for (size_t i = 0; i < names.size(rt); ++i) {
|
||||
Value n = names.getValueAtIndex(rt, i);
|
||||
EXPECT_TRUE(n.isString());
|
||||
strNames.insert(n.getString(rt).utf8(rt));
|
||||
}
|
||||
|
||||
EXPECT_EQ(strNames.size(), 4);
|
||||
EXPECT_EQ(strNames.count("1"), 1);
|
||||
EXPECT_EQ(strNames.count("3"), 1);
|
||||
EXPECT_EQ(strNames.count("5"), 1);
|
||||
EXPECT_EQ(strNames.count("seven"), 1);
|
||||
|
||||
Object seven = x.getPropertyAsObject(rt, "seven");
|
||||
Array arr = seven.getArray(rt);
|
||||
|
||||
EXPECT_EQ(arr.size(rt), 2);
|
||||
EXPECT_EQ(arr.getValueAtIndex(rt, 0).getString(rt).utf8(rt), "eight");
|
||||
EXPECT_EQ(arr.getValueAtIndex(rt, 1).getString(rt).utf8(rt), "nine");
|
||||
// TODO: test out of range
|
||||
|
||||
EXPECT_EQ(x.getPropertyAsObject(rt, "seven").getArray(rt).size(rt), 2);
|
||||
|
||||
// Check that property access with both symbols and strings can access
|
||||
// array values.
|
||||
EXPECT_EQ(seven.getProperty(rt, "0").getString(rt).utf8(rt), "eight");
|
||||
EXPECT_EQ(seven.getProperty(rt, "1").getString(rt).utf8(rt), "nine");
|
||||
seven.setProperty(rt, "1", "modified");
|
||||
EXPECT_EQ(seven.getProperty(rt, "1").getString(rt).utf8(rt), "modified");
|
||||
EXPECT_EQ(arr.getValueAtIndex(rt, 1).getString(rt).utf8(rt), "modified");
|
||||
EXPECT_EQ(seven.getProperty(rt, PropNameID::forAscii(rt, "0")).getString(rt).utf8(rt), "eight");
|
||||
seven.setProperty(rt, PropNameID::forAscii(rt, "0"), "modified2");
|
||||
EXPECT_EQ(arr.getValueAtIndex(rt, 0).getString(rt).utf8(rt), "modified2");
|
||||
|
||||
Array alpha = Array(rt, 4);
|
||||
EXPECT_TRUE(alpha.getValueAtIndex(rt, 0).isUndefined());
|
||||
EXPECT_TRUE(alpha.getValueAtIndex(rt, 3).isUndefined());
|
||||
EXPECT_EQ(alpha.size(rt), 4);
|
||||
alpha.setValueAtIndex(rt, 0, "a");
|
||||
alpha.setValueAtIndex(rt, 1, "b");
|
||||
EXPECT_EQ(alpha.length(rt), 4);
|
||||
alpha.setValueAtIndex(rt, 2, "c");
|
||||
alpha.setValueAtIndex(rt, 3, "d");
|
||||
EXPECT_EQ(alpha.size(rt), 4);
|
||||
|
||||
EXPECT_TRUE(function("function (arr) { return "
|
||||
"arr.length == 4 && "
|
||||
"['a','b','c','d'].every(function(v,i) { return v === arr[i]}); }")
|
||||
.call(rt, alpha)
|
||||
.getBool());
|
||||
|
||||
Array alpha2 = Array(rt, 1);
|
||||
alpha2 = std::move(alpha);
|
||||
EXPECT_EQ(alpha2.size(rt), 4);
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, FunctionTest) {
|
||||
// test move ctor
|
||||
Function fmove = function("function() { return 1 }");
|
||||
{
|
||||
Function g = function("function() { return 2 }");
|
||||
fmove = std::move(g);
|
||||
}
|
||||
EXPECT_EQ(fmove.call(rt).getNumber(), 2);
|
||||
|
||||
// This tests all the function argument converters, and all the
|
||||
// non-lvalue overloads of call().
|
||||
Function f = function(
|
||||
"function(n, b, d, df, i, s1, s2, s3, o, a, f, v) { return "
|
||||
"n === null && "
|
||||
"b === true && "
|
||||
"d === 3.14 && "
|
||||
"Math.abs(df - 2.71) < 0.001 && "
|
||||
"i === 17 && "
|
||||
"s1 == 's1' && "
|
||||
"s2 == 's2' && "
|
||||
"s3 == 's3' && "
|
||||
"typeof o == 'object' && "
|
||||
"Array.isArray(a) && "
|
||||
"typeof f == 'function' && "
|
||||
"v == 42 }");
|
||||
std::string s3 = "s3";
|
||||
EXPECT_TRUE(f.call(
|
||||
rt,
|
||||
nullptr,
|
||||
true,
|
||||
3.14,
|
||||
2.71f,
|
||||
17,
|
||||
"s1",
|
||||
String::createFromAscii(rt, "s2"),
|
||||
s3,
|
||||
Object(rt),
|
||||
Array(rt, 1),
|
||||
function("function(){}"),
|
||||
Value(42))
|
||||
.getBool());
|
||||
|
||||
// lvalue overloads of call()
|
||||
Function flv = function(
|
||||
"function(s, o, a, f, v) { return "
|
||||
"s == 's' && "
|
||||
"typeof o == 'object' && "
|
||||
"Array.isArray(a) && "
|
||||
"typeof f == 'function' && "
|
||||
"v == 42 }");
|
||||
|
||||
String s = String::createFromAscii(rt, "s");
|
||||
Object o = Object(rt);
|
||||
Array a = Array(rt, 1);
|
||||
Value v = 42;
|
||||
EXPECT_TRUE(flv.call(rt, s, o, a, f, v).getBool());
|
||||
|
||||
Function f1 = function("function() { return 1; }");
|
||||
Function f2 = function("function() { return 2; }");
|
||||
f2 = std::move(f1);
|
||||
EXPECT_EQ(f2.call(rt).getNumber(), 1);
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, FunctionThisTest) {
|
||||
Function checkPropertyFunction = function("function() { return this.a === 'a_property' }");
|
||||
|
||||
Object jsObject = Object(rt);
|
||||
jsObject.setProperty(rt, "a", String::createFromUtf8(rt, "a_property"));
|
||||
|
||||
// class APropertyHostObject : public HostObject {
|
||||
// Value get(Runtime& rt, const PropNameID& sym) override {
|
||||
// return String::createFromUtf8(rt, "a_property");
|
||||
// }
|
||||
|
||||
// void set(Runtime&, const PropNameID&, const Value&) override {}
|
||||
//};
|
||||
// Object hostObject =
|
||||
// Object::createFromHostObject(rt, std::make_shared<APropertyHostObject>());
|
||||
|
||||
EXPECT_TRUE(checkPropertyFunction.callWithThis(rt, jsObject).getBool());
|
||||
// EXPECT_TRUE(checkPropertyFunction.callWithThis(rt, hostObject).getBool());
|
||||
EXPECT_FALSE(checkPropertyFunction.callWithThis(rt, Array(rt, 5)).getBool());
|
||||
EXPECT_FALSE(checkPropertyFunction.call(rt).getBool());
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, FunctionConstructorTest) {
|
||||
Function ctor = function(
|
||||
"function (a) {"
|
||||
" if (typeof a !== 'undefined') {"
|
||||
" this.pika = a;"
|
||||
" }"
|
||||
"}");
|
||||
ctor.getProperty(rt, "prototype").getObject(rt).setProperty(rt, "pika", "chu");
|
||||
auto empty = ctor.callAsConstructor(rt);
|
||||
ASSERT_TRUE(empty.isObject());
|
||||
auto emptyObj = std::move(empty).getObject(rt);
|
||||
EXPECT_EQ(emptyObj.getProperty(rt, "pika").getString(rt).utf8(rt), "chu");
|
||||
auto who = ctor.callAsConstructor(rt, "who");
|
||||
ASSERT_TRUE(who.isObject());
|
||||
auto whoObj = std::move(who).getObject(rt);
|
||||
EXPECT_EQ(whoObj.getProperty(rt, "pika").getString(rt).utf8(rt), "who");
|
||||
|
||||
auto instanceof = function("function (o, b) { return o instanceof b; }");
|
||||
EXPECT_TRUE(instanceof.call(rt, emptyObj, ctor).getBool());
|
||||
EXPECT_TRUE(instanceof.call(rt, whoObj, ctor).getBool());
|
||||
|
||||
auto dateCtor = rt.global().getPropertyAsFunction(rt, "Date");
|
||||
auto date = dateCtor.callAsConstructor(rt);
|
||||
EXPECT_TRUE(date.isObject());
|
||||
EXPECT_TRUE(instanceof.call(rt, date, dateCtor).getBool());
|
||||
// Sleep for 50 milliseconds
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
EXPECT_GE(
|
||||
function("function (d) { return (new Date()).getTime() - d.getTime(); }").call(rt, date).getNumber(),
|
||||
// We use 48 here because sleep_for is not very precise,
|
||||
// and this test is not about timing precision.
|
||||
48);
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, InstanceOfTest) {
|
||||
auto ctor = function("function Rick() { this.say = 'wubalubadubdub'; }");
|
||||
auto newObj = function("function (ctor) { return new ctor(); }");
|
||||
auto instance = newObj.call(rt, ctor).getObject(rt);
|
||||
EXPECT_TRUE(instance.instanceOf(rt, ctor));
|
||||
EXPECT_EQ(instance.getProperty(rt, "say").getString(rt).utf8(rt), "wubalubadubdub");
|
||||
EXPECT_FALSE(Object(rt).instanceOf(rt, ctor));
|
||||
EXPECT_TRUE(ctor.callAsConstructor(rt, nullptr, 0).getObject(rt).instanceOf(rt, ctor));
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests_Chakra, HostFunctionTest) {
|
||||
auto one = std::make_shared<int>(1);
|
||||
Function plusOne = Function::createFromHostFunction(
|
||||
rt,
|
||||
PropNameID::forAscii(rt, "plusOne"),
|
||||
2,
|
||||
[one, savedRt = &rt](Runtime &rt, const Value &thisVal, const Value *args, size_t count) {
|
||||
EXPECT_EQ(savedRt, &rt);
|
||||
// We don't know if we're in strict mode or not, so it's either global
|
||||
// or undefined.
|
||||
EXPECT_TRUE(Value::strictEquals(rt, thisVal, rt.global()) || thisVal.isUndefined());
|
||||
return *one + args[0].getNumber() + args[1].getNumber();
|
||||
});
|
||||
|
||||
EXPECT_EQ(plusOne.call(rt, 1, 2).getNumber(), 4);
|
||||
EXPECT_TRUE(checkValue(plusOne.call(rt, 3, 5), "9"));
|
||||
rt.global().setProperty(rt, "plusOne", plusOne);
|
||||
EXPECT_TRUE(eval("plusOne(20, 300) == 321").getBool());
|
||||
|
||||
Function dot = Function::createFromHostFunction(
|
||||
rt, PropNameID::forAscii(rt, "dot"), 2, [](Runtime &rt, const Value &thisVal, const Value *args, size_t count) {
|
||||
EXPECT_TRUE(Value::strictEquals(rt, thisVal, rt.global()) || thisVal.isUndefined());
|
||||
if (count != 2) {
|
||||
throw std::runtime_error("expected 2 args");
|
||||
}
|
||||
std::string ret = args[0].getString(rt).utf8(rt) + "." + args[1].getString(rt).utf8(rt);
|
||||
return String::createFromUtf8(rt, reinterpret_cast<const uint8_t *>(ret.data()), ret.size());
|
||||
});
|
||||
|
||||
rt.global().setProperty(rt, "cons", dot);
|
||||
EXPECT_TRUE(eval("cons('left', 'right') == 'left.right'").getBool());
|
||||
EXPECT_TRUE(eval("cons.name == 'dot'").getBool());
|
||||
// TODO: Chakra(Core)'s APIs can only create host functions that
|
||||
// takes in no parameters. The arugmenst needed for the host function are
|
||||
// passed through the arguments object. Disabling this test for now.
|
||||
// EXPECT_TRUE(eval("cons.length == 2").getBool());
|
||||
EXPECT_TRUE(eval("cons instanceof Function").getBool());
|
||||
EXPECT_TRUE(eval("(function() {"
|
||||
" try {"
|
||||
" cons('fail'); return false;"
|
||||
" } catch (e) {"
|
||||
" return ((e instanceof Error) &&"
|
||||
" (e.message == 'Exception in HostFunction: ' +"
|
||||
" 'expected 2 args'));"
|
||||
" }})()")
|
||||
.getBool());
|
||||
|
||||
Function coolify = Function::createFromHostFunction(
|
||||
rt,
|
||||
PropNameID::forAscii(rt, "coolify"),
|
||||
0,
|
||||
[](Runtime &rt, const Value &thisVal, const Value *args, size_t count) {
|
||||
EXPECT_EQ(count, 0);
|
||||
std::string ret = thisVal.toString(rt).utf8(rt) + " is cool";
|
||||
return String::createFromUtf8(rt, reinterpret_cast<const uint8_t *>(ret.data()), ret.size());
|
||||
});
|
||||
rt.global().setProperty(rt, "coolify", coolify);
|
||||
EXPECT_TRUE(eval("coolify.name == 'coolify'").getBool());
|
||||
EXPECT_TRUE(eval("coolify.length == 0").getBool());
|
||||
EXPECT_TRUE(eval("coolify.bind('R&M')() == 'R&M is cool'").getBool());
|
||||
EXPECT_TRUE(eval("(function() {"
|
||||
" var s = coolify.bind(function(){})();"
|
||||
" return s.lastIndexOf(' is cool') == (s.length - 8);"
|
||||
"})()")
|
||||
.getBool());
|
||||
|
||||
Function lookAtMe = Function::createFromHostFunction(
|
||||
rt,
|
||||
PropNameID::forAscii(rt, "lookAtMe"),
|
||||
0,
|
||||
[](Runtime &rt, const Value &thisVal, const Value *args, size_t count) -> Value {
|
||||
EXPECT_TRUE(thisVal.isObject());
|
||||
EXPECT_EQ(thisVal.getObject(rt).getProperty(rt, "name").getString(rt).utf8(rt), "mr.meeseeks");
|
||||
return Value();
|
||||
});
|
||||
rt.global().setProperty(rt, "lookAtMe", lookAtMe);
|
||||
EXPECT_TRUE(eval("lookAtMe.bind({'name': 'mr.meeseeks'})()").isUndefined());
|
||||
|
||||
struct Callable {
|
||||
Callable(std::string s) : str(s) {}
|
||||
|
||||
Value operator()(Runtime &rt, const Value &, const Value *args, size_t count) {
|
||||
if (count != 1) {
|
||||
return Value();
|
||||
}
|
||||
return String::createFromUtf8(rt, args[0].toString(rt).utf8(rt) + " was called with " + str);
|
||||
}
|
||||
|
||||
std::string str;
|
||||
};
|
||||
|
||||
Function callable =
|
||||
Function::createFromHostFunction(rt, PropNameID::forAscii(rt, "callable"), 1, Callable("std::function::target"));
|
||||
EXPECT_EQ(
|
||||
function("function (f) { return f('A cat'); }").call(rt, callable).getString(rt).utf8(rt),
|
||||
"A cat was called with std::function::target");
|
||||
EXPECT_TRUE(callable.isHostFunction(rt));
|
||||
// TODO: Chakra(Core)Runtime currently does not support getHostFunction.
|
||||
// EXPECT_NE(callable.getHostFunction(rt).target<Callable>(), nullptr);
|
||||
|
||||
std::string strval = "strval1";
|
||||
auto getter = Object(rt);
|
||||
getter.setProperty(
|
||||
rt,
|
||||
"get",
|
||||
Function::createFromHostFunction(
|
||||
rt,
|
||||
PropNameID::forAscii(rt, "getter"),
|
||||
1,
|
||||
[&strval](Runtime &rt, const Value &thisVal, const Value *args, size_t count) -> Value {
|
||||
return String::createFromUtf8(rt, strval);
|
||||
}));
|
||||
auto obj = Object(rt);
|
||||
rt.global()
|
||||
.getPropertyAsObject(rt, "Object")
|
||||
.getPropertyAsFunction(rt, "defineProperty")
|
||||
.call(rt, obj, "prop", getter);
|
||||
EXPECT_TRUE(function("function(value) { return value.prop == 'strval1'; }").call(rt, obj).getBool());
|
||||
strval = "strval2";
|
||||
EXPECT_TRUE(function("function(value) { return value.prop == 'strval2'; }").call(rt, obj).getBool());
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, ValueTest) {
|
||||
EXPECT_TRUE(checkValue(Value::undefined(), "undefined"));
|
||||
EXPECT_TRUE(checkValue(Value(), "undefined"));
|
||||
EXPECT_TRUE(checkValue(Value::null(), "null"));
|
||||
EXPECT_TRUE(checkValue(nullptr, "null"));
|
||||
|
||||
EXPECT_TRUE(checkValue(Value(false), "false"));
|
||||
EXPECT_TRUE(checkValue(false, "false"));
|
||||
EXPECT_TRUE(checkValue(true, "true"));
|
||||
|
||||
EXPECT_TRUE(checkValue(Value(1.5), "1.5"));
|
||||
EXPECT_TRUE(checkValue(2.5, "2.5"));
|
||||
|
||||
EXPECT_TRUE(checkValue(Value(10), "10"));
|
||||
EXPECT_TRUE(checkValue(20, "20"));
|
||||
EXPECT_TRUE(checkValue(30, "30"));
|
||||
|
||||
// rvalue implicit conversion
|
||||
EXPECT_TRUE(checkValue(String::createFromAscii(rt, "one"), "'one'"));
|
||||
// lvalue explicit copy
|
||||
String s = String::createFromAscii(rt, "two");
|
||||
EXPECT_TRUE(checkValue(Value(rt, s), "'two'"));
|
||||
|
||||
{
|
||||
// rvalue assignment of trivial value
|
||||
Value v1 = 100;
|
||||
Value v2 = String::createFromAscii(rt, "hundred");
|
||||
v2 = std::move(v1);
|
||||
EXPECT_TRUE(v2.isNumber());
|
||||
EXPECT_EQ(v2.getNumber(), 100);
|
||||
}
|
||||
|
||||
{
|
||||
// rvalue assignment of js heap value
|
||||
Value v1 = String::createFromAscii(rt, "hundred");
|
||||
Value v2 = 100;
|
||||
v2 = std::move(v1);
|
||||
EXPECT_TRUE(v2.isString());
|
||||
EXPECT_EQ(v2.getString(rt).utf8(rt), "hundred");
|
||||
}
|
||||
|
||||
Object o = Object(rt);
|
||||
EXPECT_TRUE(function("function(value) { return typeof(value) == 'object'; }").call(rt, Value(rt, o)).getBool());
|
||||
|
||||
uint8_t utf8[] = "[null, 2, \"c\", \"emoji: \xf0\x9f\x86\x97\", {}]";
|
||||
|
||||
EXPECT_TRUE(function("function (arr) { return "
|
||||
"Array.isArray(arr) && "
|
||||
"arr.length == 5 && "
|
||||
"arr[0] === null && "
|
||||
"arr[1] == 2 && "
|
||||
"arr[2] == 'c' && "
|
||||
"arr[3] == 'emoji: \\uD83C\\uDD97' && "
|
||||
"typeof arr[4] == 'object'; }")
|
||||
.call(rt, Value::createFromJsonUtf8(rt, utf8, sizeof(utf8) - 1))
|
||||
.getBool());
|
||||
|
||||
EXPECT_TRUE(eval("undefined").isUndefined());
|
||||
EXPECT_TRUE(eval("null").isNull());
|
||||
EXPECT_TRUE(eval("true").isBool());
|
||||
EXPECT_TRUE(eval("false").isBool());
|
||||
EXPECT_TRUE(eval("123").isNumber());
|
||||
EXPECT_TRUE(eval("123.4").isNumber());
|
||||
EXPECT_TRUE(eval("'str'").isString());
|
||||
// "{}" returns undefined. empty code block?
|
||||
EXPECT_TRUE(eval("({})").isObject());
|
||||
EXPECT_TRUE(eval("[]").isObject());
|
||||
EXPECT_TRUE(eval("(function(){})").isObject());
|
||||
|
||||
EXPECT_EQ(eval("123").getNumber(), 123);
|
||||
EXPECT_EQ(eval("123.4").getNumber(), 123.4);
|
||||
EXPECT_EQ(eval("'str'").getString(rt).utf8(rt), "str");
|
||||
EXPECT_TRUE(eval("[]").getObject(rt).isArray(rt));
|
||||
|
||||
EXPECT_EQ(eval("456").asNumber(), 456);
|
||||
EXPECT_THROW(eval("'word'").asNumber(), JSIException);
|
||||
EXPECT_EQ(eval("({1:2, 3:4})").asObject(rt).getProperty(rt, "1").getNumber(), 2);
|
||||
EXPECT_THROW(eval("'oops'").asObject(rt), JSIException);
|
||||
|
||||
EXPECT_EQ(eval("['zero',1,2,3]").toString(rt).utf8(rt), "zero,1,2,3");
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, EqualsTest) {
|
||||
EXPECT_TRUE(Object::strictEquals(rt, rt.global(), rt.global()));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, 1, 1));
|
||||
EXPECT_FALSE(Value::strictEquals(rt, true, 1));
|
||||
EXPECT_FALSE(Value::strictEquals(rt, true, false));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, false, false));
|
||||
EXPECT_FALSE(Value::strictEquals(rt, nullptr, 1));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, nullptr, nullptr));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, Value::undefined(), Value()));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, rt.global(), Value(rt.global())));
|
||||
EXPECT_FALSE(
|
||||
Value::strictEquals(rt, std::numeric_limits<double>::quiet_NaN(), std::numeric_limits<double>::quiet_NaN()));
|
||||
EXPECT_FALSE(Value::strictEquals(
|
||||
rt, std::numeric_limits<double>::signaling_NaN(), std::numeric_limits<double>::signaling_NaN()));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, +0.0, -0.0));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, -0.0, +0.0));
|
||||
|
||||
Function noop = Function::createFromHostFunction(
|
||||
rt, PropNameID::forAscii(rt, "noop"), 0, [](const Runtime &, const Value &, const Value *, size_t) {
|
||||
return Value();
|
||||
});
|
||||
auto noopDup = Value(rt, noop).getObject(rt);
|
||||
EXPECT_TRUE(Object::strictEquals(rt, noop, noopDup));
|
||||
EXPECT_TRUE(Object::strictEquals(rt, noopDup, noop));
|
||||
EXPECT_FALSE(Object::strictEquals(rt, noop, rt.global()));
|
||||
EXPECT_TRUE(Object::strictEquals(rt, noop, noop));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, Value(rt, noop), Value(rt, noop)));
|
||||
|
||||
String str = String::createFromAscii(rt, "rick");
|
||||
String strDup = String::createFromAscii(rt, "rick");
|
||||
String otherStr = String::createFromAscii(rt, "morty");
|
||||
EXPECT_TRUE(String::strictEquals(rt, str, str));
|
||||
EXPECT_TRUE(String::strictEquals(rt, str, strDup));
|
||||
EXPECT_TRUE(String::strictEquals(rt, strDup, str));
|
||||
EXPECT_FALSE(String::strictEquals(rt, str, otherStr));
|
||||
EXPECT_TRUE(Value::strictEquals(rt, Value(rt, str), Value(rt, str)));
|
||||
EXPECT_FALSE(Value::strictEquals(rt, Value(rt, str), Value(rt, noop)));
|
||||
EXPECT_FALSE(Value::strictEquals(rt, Value(rt, str), 1.0));
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, ExceptionStackTraceTest) {
|
||||
static const char invokeUndefinedScript[] =
|
||||
"function hello() {"
|
||||
" var a = {}; a.log(); }"
|
||||
"function world() { hello(); }"
|
||||
"world()";
|
||||
std::string stack;
|
||||
try {
|
||||
rt.evaluateJavaScript(std::make_unique<StringBuffer>(invokeUndefinedScript), "");
|
||||
} catch (JSError &e) {
|
||||
stack = e.getStack();
|
||||
}
|
||||
EXPECT_NE(stack.find("world"), std::string::npos);
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
unsigned countOccurences(const std::string &of, const std::string &in) {
|
||||
unsigned occurences = 0;
|
||||
std::string::size_type lastOccurence = -1;
|
||||
while ((lastOccurence = in.find(of, lastOccurence + 1)) != std::string::npos) {
|
||||
occurences++;
|
||||
}
|
||||
return occurences;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, JSErrorsArePropagatedNicely) {
|
||||
unsigned callsBeforeError = 5;
|
||||
|
||||
Function sometimesThrows = function(
|
||||
"function sometimesThrows(shouldThrow, callback) {"
|
||||
" if (shouldThrow) {"
|
||||
" throw Error('Omg, what a nasty exception')"
|
||||
" }"
|
||||
" callback(callback);"
|
||||
"}");
|
||||
|
||||
Function callback = Function::createFromHostFunction(
|
||||
rt,
|
||||
PropNameID::forAscii(rt, "callback"),
|
||||
0,
|
||||
[&sometimesThrows, &callsBeforeError](Runtime &rt, const Value &thisVal, const Value *args, size_t count) {
|
||||
return sometimesThrows.call(rt, --callsBeforeError == 0, args[0]);
|
||||
});
|
||||
|
||||
try {
|
||||
sometimesThrows.call(rt, false, callback);
|
||||
} catch (JSError &error) {
|
||||
// V8 will include the previous exception messages upon rethrow from native to JS
|
||||
EXPECT_PRED_FORMAT2(::testing::IsSubstring, "Omg, what a nasty exception", error.getMessage());
|
||||
EXPECT_GE(countOccurences("sometimesThrows", error.getStack()), 6);
|
||||
|
||||
// system JSC JSI does not implement host function names
|
||||
// EXPECT_EQ(countOccurences("callback", error.getStack(rt)), 5);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, JSErrorsCanBeConstructedWithStack) {
|
||||
auto err = JSError(rt, "message", "stack");
|
||||
EXPECT_EQ(err.getMessage(), "message");
|
||||
EXPECT_EQ(err.getStack(), "stack");
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, ScopeDoesNotCrashTest) {
|
||||
Scope scope(rt);
|
||||
Object o(rt);
|
||||
}
|
||||
|
||||
TEST_P(JsiRuntimeUnitTests, ScopeDoesNotCrashWhenValueEscapes) {
|
||||
Value v;
|
||||
Scope::callInNewScope(rt, [&]() {
|
||||
Object o(rt);
|
||||
o.setProperty(rt, "a", 5);
|
||||
v = std::move(o);
|
||||
});
|
||||
EXPECT_EQ(v.getObject(rt).getProperty(rt, "a").getNumber(), 5);
|
||||
}
|
||||
|
||||
// Verifies you can have a host object that emulates a normal object
|
||||
TEST_P(JsiRuntimeUnitTests, HostObjectWithValueMembers) {
|
||||
class Bag : public HostObject {
|
||||
public:
|
||||
Bag() = default;
|
||||
|
||||
const Value &operator[](const std::string &name) const {
|
||||
auto iter = data_.find(name);
|
||||
if (iter == data_.end()) {
|
||||
return undef_;
|
||||
}
|
||||
return iter->second;
|
||||
}
|
||||
|
||||
protected:
|
||||
Value get(Runtime &rt, const PropNameID &name) override {
|
||||
return Value(rt, (*this)[name.utf8(rt)]);
|
||||
}
|
||||
|
||||
void set(Runtime &rt, const PropNameID &name, const Value &val) override {
|
||||
data_.emplace(name.utf8(rt), Value(rt, val));
|
||||
}
|
||||
|
||||
Value undef_;
|
||||
std::map<std::string, Value> data_;
|
||||
};
|
||||
|
||||
auto sharedBag = std::make_shared<Bag>();
|
||||
auto &bag = *sharedBag;
|
||||
Object jsbag = Object::createFromHostObject(rt, std::move(sharedBag));
|
||||
auto set = function(
|
||||
"function (o) {"
|
||||
" o.foo = 'bar';"
|
||||
" o.count = 37;"
|
||||
" o.nul = null;"
|
||||
" o.iscool = true;"
|
||||
" o.obj = { 'foo': 'bar' };"
|
||||
"}");
|
||||
set.call(rt, jsbag);
|
||||
auto checkFoo = function("function (o) { return o.foo === 'bar'; }");
|
||||
auto checkCount = function("function (o) { return o.count === 37; }");
|
||||
auto checkNul = function("function (o) { return o.nul === null; }");
|
||||
auto checkIsCool = function("function (o) { return o.iscool === true; }");
|
||||
auto checkObj = function(
|
||||
"function (o) {"
|
||||
" return (typeof o.obj) === 'object' && o.obj.foo === 'bar';"
|
||||
"}");
|
||||
// Check this looks good from js
|
||||
EXPECT_TRUE(checkFoo.call(rt, jsbag).getBool());
|
||||
EXPECT_TRUE(checkCount.call(rt, jsbag).getBool());
|
||||
EXPECT_TRUE(checkNul.call(rt, jsbag).getBool());
|
||||
EXPECT_TRUE(checkIsCool.call(rt, jsbag).getBool());
|
||||
EXPECT_TRUE(checkObj.call(rt, jsbag).getBool());
|
||||
|
||||
// Check this looks good from c++
|
||||
EXPECT_EQ(bag["foo"].getString(rt).utf8(rt), "bar");
|
||||
EXPECT_EQ(bag["count"].getNumber(), 37);
|
||||
EXPECT_TRUE(bag["nul"].isNull());
|
||||
EXPECT_TRUE(bag["iscool"].getBool());
|
||||
EXPECT_EQ(bag["obj"].getObject(rt).getProperty(rt, "foo").getString(rt).utf8(rt), "bar");
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <jsi/jsi.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
namespace facebook::jsi {
|
||||
|
||||
using RuntimeFactory = std::function<std::unique_ptr<Runtime>()>;
|
||||
|
||||
class JsiRuntimeUnitTests : public ::testing::TestWithParam<RuntimeFactory> {
|
||||
public:
|
||||
JsiRuntimeUnitTests() : factory(GetParam()), runtime(factory()), rt(*runtime) {}
|
||||
|
||||
Value eval(const char *code) {
|
||||
return rt.global().getPropertyAsFunction(rt, "eval").call(rt, code);
|
||||
}
|
||||
|
||||
Function function(const std::string &code) {
|
||||
return eval(("(" + code + ")").c_str()).getObject(rt).getFunction(rt);
|
||||
}
|
||||
|
||||
bool checkValue(const Value &value, const std::string &jsValue) {
|
||||
// TODO: Should we use === instead of == here?
|
||||
return function("function(value) { return value == " + jsValue + "; }").call(rt, std::move(value)).getBool();
|
||||
}
|
||||
|
||||
// The order of these member variable declarations is important because they
|
||||
// need to be initialized in this order.
|
||||
RuntimeFactory factory;
|
||||
std::unique_ptr<Runtime> runtime;
|
||||
Runtime &rt;
|
||||
};
|
||||
|
||||
// V8 doesn't currently pass all the tests (particularly around hostobjects), move those out into _Chakra for now
|
||||
class JsiRuntimeUnitTests_Chakra : public JsiRuntimeUnitTests {};
|
||||
|
||||
} // namespace facebook::jsi
|
|
@ -1,10 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <windows.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
|
@ -1,97 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{17DD1B17-3094-40DD-9373-AC2497932ECA}</ProjectGuid>
|
||||
<ProjectName>JSI.Desktop</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<!-- Include Warnings.props after Microsoft.Cpp.props to change default WarningLevel -->
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\Warnings.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
<Import Project="..\Shared\JSI.Shared.vcxitems" Label="Shared" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
<Import Project="$(SolutionDir)packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets" Condition="'$(Platform)' == 'ARM64' AND Exists('$(SolutionDir)packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets')" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<!-- We need $(ReactNativeWindowsDir)Chakra for ChakraCoreDebugger.h.
|
||||
We should remove it from IncludePath once we retire the ChakraExecutor stack. -->
|
||||
<IncludePath>$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Chakra;$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir)Shared;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<PreprocessorDefinitions Condition="'$(CHAKRACOREUWP)'=='true'">CHAKRACORE_UWP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>CHAKRACORE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<!-- /Zc:strictStrings enforces the standard C++ const qualifications for
|
||||
string literals. It prevents code like
|
||||
wchar_t* str = L"hello";
|
||||
from compiling. -->
|
||||
<AdditionalOptions>%(AdditionalOptions) /Zc:strictStrings</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories Condition="'$(CHAKRACOREUWP)'=='true'">$(ChakraCoreInclude);$(ChakraCoreDebugInclude);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies Condition="'$(CHAKRACOREUWP)'=='true'">ChakraCore.Debugger.Protocol.lib;ChakraCore.Debugger.ProtocolHandler.lib;ChakraCore.Debugger.Service.lib;ChakraCore.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories Condition="'$(CHAKRACOREUWP)'=='true'">$(ChakraCoreLibDir);$(ChakraCoreDebugLibDir)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraJsiRuntime_core.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets" Condition="'$(CHAKRACOREUWP)'!='true'">
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets" Condition="Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" />
|
||||
</ImportGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild" Condition="'$(CHAKRACOREUWP)'!='true'">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets'))" />
|
||||
<Error Condition="'$(Platform)' == 'ARM64' AND !Exists('$(SolutionDir)packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ReactWindows.ChakraCore.ARM64.1.11.20\build\native\ReactWindows.ChakraCore.ARM64.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{72a602dc-c83d-4280-ae55-d9a36a865a1d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{ade98a5d-cda0-4794-a7e9-9b60b83966f8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraJsiRuntime_core.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="ChakraCore.Debugger" version="0.0.0.44" targetFramework="native" />
|
||||
<package id="Microsoft.ChakraCore.vc140" version="1.11.20" targetFramework="native" developmentDependency="true" />
|
||||
<package id="ReactWindows.ChakraCore.ARM64" version="1.11.20" targetFramework="native" developmentDependency="true" />
|
||||
</packages>
|
|
@ -1,29 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<ItemsProjectGuid>{0cc28589-39e4-4288-b162-97b959f8b843}</ItemsProjectGuid>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ProjectCapability Include="SourceItemsFromImports" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraApi.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraRuntime.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ByteArrayBuffer.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraApi.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntimeArgs.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntimeFactory.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntime.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)RuntimeHolder.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ScriptStore.h" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,42 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{046a2a6a-2adb-4003-9fa0-f1d9f32dfa74}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{878da0c7-597a-4fa6-8af5-0cdf96521a1e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ByteArrayBuffer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)RuntimeHolder.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ScriptStore.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntime.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntimeArgs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraRuntimeFactory.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)ChakraApi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraRuntime.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraApi.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,100 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{A62D504A-16B8-41D2-9F19-E2E86019E5E4}</ProjectGuid>
|
||||
<ProjectName>JSI.Universal</ProjectName>
|
||||
<Keyword>StaticLibrary</Keyword>
|
||||
<AppContainerApplication>true</AppContainerApplication>
|
||||
<ApplicationType>Windows Store</ApplicationType>
|
||||
<ApplicationTypeRevision>10.0</ApplicationTypeRevision>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformMinVersion>10.0.16299.0</WindowsTargetPlatformMinVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<!-- Include Warnings.props after Microsoft.Cpp.props to change default WarningLevel -->
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\Warnings.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
<Import Project="$(ReactNativeWindowsDir)JSI\Shared\JSI.Shared.vcxitems" Label="Shared" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(ReactNativeWindowsDir)Common;$(ReactNativeWindowsDir);$(ReactNativeWindowsDir)Shared;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>USE_EDGEMODE_JSRT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<!-- /Zc:strictStrings enforces the standard C++ const qualifications for
|
||||
string literals. It prevents code like
|
||||
wchar_t* str = L"hello";
|
||||
from compiling. /Zc:twoPhase- is needed because two-phase name lookup for
|
||||
template resolution is not supported for C++/CLI and C++/CX. -->
|
||||
<AdditionalOptions>%(AdditionalOptions) /Zc:strictStrings /Zc:twoPhase-</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
|
||||
<GenerateWindowsMetadata>false</GenerateWindowsMetadata>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraJsiRuntime_edgemode.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="Deploy" />
|
||||
</Project>
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{59ab7f90-bfa8-437f-a735-bc96e3241a8f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{cda8c16b-e579-4c8f-9f3d-e4800c32b3d2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)ChakraJsiRuntime_edgemode.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#include <JSI/ChakraRuntimeArgs.h>
|
||||
#include <JSI/ChakraRuntimeFactory.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include "ChakraRuntimeArgs.h"
|
||||
#include "ChakraRuntimeFactory.h"
|
||||
#include "jsi/test/testlib.h"
|
||||
|
||||
using namespace Microsoft::JSI;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
#include "pch.h"
|
||||
#include <ChakraRuntime.h>
|
||||
#include <JSI/ChakraRuntime.h>
|
||||
#include <JsiReader.h>
|
||||
#include <JsiWriter.h>
|
||||
#include "CommonReaderTest.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
#include "pch.h"
|
||||
#include <ChakraRuntime.h>
|
||||
#include <JSI/ChakraRuntime.h>
|
||||
#include <JsiReader.h>
|
||||
#include <JsiWriter.h>
|
||||
#include "CommonReaderTest.h"
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
<ImportGroup Label="Shared">
|
||||
<Import Project="..\Mso\Mso.vcxitems" Label="Shared" />
|
||||
<Import Project="..\Chakra\Chakra.vcxitems" Label="Shared" />
|
||||
<Import Project="..\JSI\Shared\JSI.Shared.vcxitems" Label="Shared" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
|
@ -90,10 +89,7 @@
|
|||
$(ReactNativeWindowsDir);
|
||||
$(ReactNativeWindowsDir)Common;
|
||||
$(ReactNativeWindowsDir)stubs;
|
||||
$(ReactNativeWindowsDir)include;
|
||||
$(ReactNativeWindowsDir)Shared;
|
||||
$(ReactNativeWindowsDir)Shared\tracing;
|
||||
$(ReactNativeWindowsDir)include\Shared;
|
||||
$(ReactNativeWindowsDir)Microsoft.ReactNative;
|
||||
$(YogaDir);
|
||||
%(AdditionalIncludeDirectories)
|
||||
|
@ -147,6 +143,9 @@
|
|||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Microsoft.ReactNative\JSI\ChakraJsiRuntime_edgemode.cpp" />
|
||||
<ClCompile Include="..\Shared\JSI\ChakraApi.cpp" />
|
||||
<ClCompile Include="..\Shared\JSI\ChakraRuntime.cpp" />
|
||||
<ClCompile Include="ChakraEdgeRuntimeTests.cpp" />
|
||||
<ClCompile Include="DynamicReaderTest.cpp" />
|
||||
<ClCompile Include="JsiArgumentReaderTest.cpp" />
|
||||
|
@ -219,9 +218,6 @@
|
|||
<ProjectReference Include="..\Folly\Folly.vcxproj">
|
||||
<Project>{A990658C-CE31-4BCC-976F-0FC6B1AF693D}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\JSI\Universal\JSI.Universal.vcxproj">
|
||||
<Project>{a62d504a-16b8-41d2-9f19-e2e86019e5e4}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ReactCommon\ReactCommon.vcxproj">
|
||||
<Project>{a9d95a91-4db7-4f72-beb6-fe8a5c89bfbd}</Project>
|
||||
</ProjectReference>
|
||||
|
|
|
@ -22,6 +22,12 @@
|
|||
<Filter Include="ExternalFiles\Shared">
|
||||
<UniqueIdentifier>{29f908a2-84b5-43af-b690-b33a68e426db}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ExternalFiles\Microsoft.ReactNative\JSI">
|
||||
<UniqueIdentifier>{c27e30dc-f28b-48b8-8a9c-1a57adada7e7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="ExternalFiles\Shared\JSI">
|
||||
<UniqueIdentifier>{8b4f18d5-12c7-49cd-890c-f0c12cf97ba6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="DynamicReaderTest.cpp">
|
||||
|
@ -45,9 +51,21 @@
|
|||
<ClCompile Include="ChakraEdgeRuntimeTests.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(JSI_SourcePath)\jsi\test\testlib.cpp">
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeWindowsDir)Shared\Utils.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Microsoft.ReactNative\JSI\ChakraJsiRuntime_edgemode.cpp">
|
||||
<Filter>ExternalFiles\Microsoft.ReactNative\JSI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Shared\JSI\ChakraRuntime.cpp">
|
||||
<Filter>ExternalFiles\Shared\JSI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Shared\JSI\ChakraApi.cpp">
|
||||
<Filter>ExternalFiles\Shared\JSI</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Midl Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\IJSValueReader.idl">
|
||||
|
@ -74,7 +92,7 @@
|
|||
<ClInclude Include="CommonReaderTest.h">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(JSI_SourcePath)\jsi\test\testlib.h">
|
||||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -13,10 +13,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folly", "Folly\Folly.vcxpro
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Include", "include\Include.vcxitems", "{EF074BA1-2D54-4D49-A28E-5E040B47CD2E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx.UnitTests", "Microsoft.ReactNative.Cxx.UnitTests\Microsoft.ReactNative.Cxx.UnitTests.vcxproj", "{6C60E295-C8CA-4DC5-B8BE-09888F58B249}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.ComponentTests", "Microsoft.ReactNative.ComponentTests\Microsoft.ReactNative.ComponentTests.vcxproj", "{93792779-4948-4A5D-8CA7-86ED5E3BEC27}"
|
||||
|
@ -121,7 +117,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Share
|
|||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{14fa0516-e6d7-4e4d-b097-1470198c5072}*SharedItemsImports = 4
|
||||
Mso\Mso.vcxitems*{14fa0516-e6d7-4e4d-b097-1470198c5072}*SharedItemsImports = 4
|
||||
Mso\Mso.vcxitems*{1958ceaa-fbe0-44e3-8a99-90ad85531ffe}*SharedItemsImports = 4
|
||||
|
@ -130,9 +125,7 @@ Global
|
|||
Mso\Mso.vcxitems*{6c60e295-c8ca-4dc5-b8be-09888f58b249}*SharedItemsImports = 4
|
||||
Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
Chakra\Chakra.vcxitems*{93792779-4948-4a5d-8ca7-86ed5e3bec27}*SharedItemsImports = 4
|
||||
JSI\Shared\JSI.Shared.vcxitems*{93792779-4948-4a5d-8ca7-86ed5e3bec27}*SharedItemsImports = 4
|
||||
Mso\Mso.vcxitems*{93792779-4948-4a5d-8ca7-86ed5e3bec27}*SharedItemsImports = 4
|
||||
JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -142,14 +135,14 @@ Global
|
|||
Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|ARM = Release|ARM
|
||||
Release|ARM64 = Release|ARM64
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|ARM64 = Debug|ARM64
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
Release|ARM = Release|ARM
|
||||
Release|ARM64 = Release|ARM64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
|
@ -200,22 +193,6 @@ Global
|
|||
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.Build.0 = Release|x64
|
||||
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{6C60E295-C8CA-4DC5-B8BE-09888F58B249}.Debug|ARM.ActiveCfg = Debug|Win32
|
||||
{6C60E295-C8CA-4DC5-B8BE-09888F58B249}.Debug|ARM64.ActiveCfg = Debug|Win32
|
||||
{6C60E295-C8CA-4DC5-B8BE-09888F58B249}.Debug|x64.ActiveCfg = Debug|x64
|
||||
|
@ -350,8 +327,6 @@ Global
|
|||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {6348365C-E58A-4CB4-96CA-E2A6C1201DD6}
|
||||
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {814A1893-F3C3-45BA-8C80-5377CFD86C5F}
|
||||
{EF074BA1-2D54-4D49-A28E-5E040B47CD2E} = {6348365C-E58A-4CB4-96CA-E2A6C1201DD6}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {6348365C-E58A-4CB4-96CA-E2A6C1201DD6}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {6348365C-E58A-4CB4-96CA-E2A6C1201DD6}
|
||||
{6C60E295-C8CA-4DC5-B8BE-09888F58B249} = {25C4DA8C-A4D2-4D5F-950A-E5371A8AB659}
|
||||
{93792779-4948-4A5D-8CA7-86ED5E3BEC27} = {25C4DA8C-A4D2-4D5F-950A-E5371A8AB659}
|
||||
{46D76F7A-8FD9-4A7D-8102-2857E5DA6B84} = {25C4DA8C-A4D2-4D5F-950A-E5371A8AB659}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include "ChakraRuntime.h"
|
||||
|
||||
#include "ByteArrayBuffer.h"
|
||||
#include <JSI/ByteArrayBuffer.h>
|
||||
#include <JSI/ChakraRuntime.h>
|
||||
#include "Unicode.h"
|
||||
|
||||
#if !defined(CHAKRACORE)
|
|
@ -412,6 +412,7 @@
|
|||
<ClCompile Include="JsiWriter.cpp">
|
||||
<DependentUpon>IJSValueWriter.idl</DependentUpon>
|
||||
</ClCompile>
|
||||
<ClCompile Include="JSI\ChakraJsiRuntime_edgemode.cpp" />
|
||||
<ClCompile Include="Modules\AccessibilityInfoModule.cpp" />
|
||||
<ClCompile Include="Modules\AlertModule.cpp" />
|
||||
<ClCompile Include="Modules\Animated\AdditionAnimatedNode.cpp" />
|
||||
|
@ -643,9 +644,6 @@
|
|||
<ProjectReference Include="..\Folly\Folly.vcxproj">
|
||||
<Project>{a990658c-ce31-4bcc-976f-0fc6b1af693d}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\JSI\Universal\JSI.Universal.vcxproj">
|
||||
<Project>{a62d504a-16b8-41d2-9f19-e2e86019e5e4}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ReactCommon\ReactCommon.vcxproj">
|
||||
<Project>{a9d95a91-4db7-4f72-beb6-fe8a5c89bfbd}</Project>
|
||||
</ProjectReference>
|
||||
|
|
|
@ -309,6 +309,10 @@
|
|||
<ClCompile Include="Modules\PaperUIManagerModule.cpp" />
|
||||
<ClCompile Include="Views\PaperShadowNode.cpp" />
|
||||
<ClCompile Include="Views\ShadowNodeRegistry.cpp" />
|
||||
<ClCompile Include="ReactHost\JSCallInvokerScheduler.cpp" />
|
||||
<ClCompile Include="JSI\ChakraJsiRuntime_edgemode.cpp">
|
||||
<Filter>JSI</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="ABICxxModule.h" />
|
||||
|
@ -742,6 +746,9 @@
|
|||
<Filter Include="Views\Impl">
|
||||
<UniqueIdentifier>{b0b76275-4a16-4939-87ee-f777cb189114}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="JSI">
|
||||
<UniqueIdentifier>{24290499-e864-407e-89c0-473f2b8dbb6e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="Version.rc" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include <JSI/Shared/ScriptStore.h>
|
||||
#include <JSI/ScriptStore.h>
|
||||
#include <cxxreact/JSBigString.h>
|
||||
#include <jsi/jsi.h>
|
||||
#include <winrt/Windows.Foundation.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include <JSI/Shared/ScriptStore.h>
|
||||
#include <JSI/ScriptStore.h>
|
||||
#include <future>
|
||||
|
||||
namespace react::uwp {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "JsiRuntimeUnitTests.h"
|
||||
|
||||
#include "JSI/Shared/ChakraRuntimeArgs.h"
|
||||
#include "JSI/Shared/ChakraRuntimeFactory.h"
|
||||
#include <JSI/ChakraRuntimeArgs.h>
|
||||
#include <JSI/ChakraRuntimeFactory.h>
|
||||
#include <jsi/jsi/test/testlib.h>
|
||||
#include "MemoryTracker.h"
|
||||
#if defined(USE_V8)
|
||||
#include <V8JsiRuntime.h>
|
||||
|
@ -11,12 +10,9 @@
|
|||
// there.
|
||||
#include <Threading/MessageQueueThreadFactory.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
// Standard Library
|
||||
#include <vector>
|
||||
|
||||
using facebook::jsi::JsiRuntimeUnitTests;
|
||||
using facebook::jsi::JsiRuntimeUnitTests_Chakra;
|
||||
using facebook::jsi::Runtime;
|
||||
using facebook::jsi::RuntimeFactory;
|
||||
using facebook::react::CreateMemoryTracker;
|
||||
|
@ -27,8 +23,15 @@ using react::uwp::MakeJSQueueThread;
|
|||
|
||||
// TODO: #2729 We need to add tests for ChakraCoreRuntime specific
|
||||
// behaviors such as ScriptStore. This may require us to bring back JSITestBase.
|
||||
|
||||
namespace facebook::jsi {
|
||||
std::vector<RuntimeFactory> runtimeGenerators() {
|
||||
#if defined(USE_V8)
|
||||
return {[]() -> std::unique_ptr<Runtime> {
|
||||
v8runtime::V8RuntimeArgs args;
|
||||
|
||||
return v8runtime::makeV8Runtime(std::move(args));
|
||||
}};
|
||||
#else
|
||||
return {[]() -> std::unique_ptr<Runtime> {
|
||||
ChakraRuntimeArgs args{};
|
||||
|
||||
|
@ -40,20 +43,7 @@ std::vector<RuntimeFactory> runtimeGenerators() {
|
|||
|
||||
return makeChakraRuntime(std::move(args));
|
||||
}};
|
||||
#endif // defined(USE_V8)
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(ChakraRuntimeTest_Base, JsiRuntimeUnitTests, ::testing::ValuesIn(runtimeGenerators()));
|
||||
INSTANTIATE_TEST_CASE_P(ChakraRuntimeTest, JsiRuntimeUnitTests_Chakra, ::testing::ValuesIn(runtimeGenerators()));
|
||||
|
||||
#if defined(USE_V8)
|
||||
|
||||
RuntimeFactory getV8Runtime() {
|
||||
return []() -> std::unique_ptr<Runtime> {
|
||||
v8runtime::V8RuntimeArgs args;
|
||||
|
||||
return v8runtime::makeV8Runtime(std::move(args));
|
||||
};
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(V8RuntimeTest, JsiRuntimeUnitTests, ::testing::Values(getV8Runtime()));
|
||||
#endif
|
||||
} // namespace facebook::jsi
|
|
@ -0,0 +1,192 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<!-- #2702: We need to figure out how we want to consume the Google Test'
|
||||
NuGet for Win32. For now, we do not build this project for Win32. -->
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{b0941079-7441-4a69-868c-fe5ec62c2e9e}</ProjectGuid>
|
||||
<UseV8>true</UseV8>
|
||||
<V8AppPlatform>win32</V8AppPlatform>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\React.Cpp.props" />
|
||||
<Import Project="$(ReactNativeWindowsDir)PropertySheets\ReactCommunity.Cpp.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings" />
|
||||
<ImportGroup Label="Shared" />
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(ReactNativeWindowsDir);$(ReactNativeDir)\ReactCommon;$(ReactNativeDir)\ReactCommon\jsi;$(ReactNativeWindowsDir)Shared;$(MSBuildProjectDirectory);$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.h" />
|
||||
<ClInclude Include="pch.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\tests\RecoverableErrorTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\tests\ImageTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\view\tests\ViewTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\AttributedStringTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\ParagraphAttributesTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\TextAttributesTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\root\tests\RootShadowNodeTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\scrollview\tests\ScrollViewTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\slider\tests\SliderTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\text\tests\ParagraphLocalDataTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\text\tests\TextTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\view\tests\LayoutTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ComponentDescriptorTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ConcreteShadowNodeTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\FindNodeAtPointTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\LayoutableShadowNodeTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\PrimitivesTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\RawPropsTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ShadowNodeFamilyTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ShadowNodeTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\traitCastTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\tests\DebugStringConvertibleTest.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)' != 'Debug'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\element\tests\ElementTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\tests\GraphicsTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\tests\TransformTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\imagemanager\tests\ImageManagerTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mapbuffer\tests\MapBufferTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\MountingTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\ShadowTreeLifeCycleTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\StateReconciliationTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\TransactionTelemetryTest.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\templateprocessor\tests\UITemplateProcessorTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\textlayoutmanager\tests\TextLayoutManagerTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\uimanager\tests\FabricUIManagerTest.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="JsiRuntimeGenerators.cpp" />
|
||||
<ClCompile Include="pch.cpp">
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemDefinitionGroup />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Desktop\React.Windows.Desktop.vcxproj">
|
||||
<Project>{95048601-C3DC-475F-ADF8-7C0C764C10D5}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
<ForcedIncludeFiles>pch.h</ForcedIncludeFiles>
|
||||
<PreprocessorDefinitions>
|
||||
_CONSOLE;
|
||||
%(PreprocessorDefinitions)
|
||||
</PreprocessorDefinitions>
|
||||
<!-- JSI Unit tests are copied from Facebook and rely on dynamic_pointer_cast -->
|
||||
<RunTimeTypeInfo>true</RunTimeTypeInfo>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>
|
||||
delayimp.lib;
|
||||
%(AdditionalDependencies)
|
||||
</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets" Condition="Exists('$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets" Condition="Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" />
|
||||
<Import Project="$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets" Condition="Exists('$(SolutionDir)packages\Microsoft.ChakraCore.vc140.1.11.20\build\native\Microsoft.ChakraCore.vc140.targets')" />
|
||||
<Import Project="$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets" Condition="Exists('$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets') AND '$(UseV8)' == 'true'" />
|
||||
</ImportGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Warning Condition="'$(UseV8)' != 'true'" Text="Building desktop project without UseV8 (value is '$(UseV8)')" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ReactWindows.OpenSSL.StdCall.Static.1.0.2-p.5\build\native\ReactWindows.OpenSSL.StdCall.Static.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\boost.1.72.0.0\build\boost.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\ChakraCore.Debugger.0.0.0.44\build\native\ChakraCore.Debugger.targets'))" />
|
||||
<Error Condition="!Exists('$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.1\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets'))" />
|
||||
<Error Condition="!Exists('$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets') AND '$(UseV8)' == 'true'" Text="$([System.String]::Format('$(ErrorText)', '$(V8Package)\build\native\ReactNative.V8JSI.Windows.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -0,0 +1,246 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<ClCompile Include="pch.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\tests\RecoverableErrorTest.cpp">
|
||||
<Filter>cxxreact\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\AttributedStringTest.cpp">
|
||||
<Filter>react\renderer\attributedstring\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\ParagraphAttributesTest.cpp">
|
||||
<Filter>react\renderer\attributedstring\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\tests\TextAttributesTest.cpp">
|
||||
<Filter>react\renderer\attributedstring\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\root\tests\RootShadowNodeTest.cpp">
|
||||
<Filter>react\renderer\components\root\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\scrollview\tests\ScrollViewTest.cpp">
|
||||
<Filter>react\renderer\components\scrollview\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\slider\tests\SliderTest.cpp">
|
||||
<Filter>react\renderer\components\slider</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\tests\ImageTest.cpp">
|
||||
<Filter>react\renderer\components\image\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\view\tests\ViewTest.cpp">
|
||||
<Filter>react\renderer\components\view\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\text\tests\ParagraphLocalDataTest.cpp">
|
||||
<Filter>react\renderer\components\text\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\text\tests\TextTest.cpp">
|
||||
<Filter>react\renderer\components\text\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\view\tests\LayoutTest.cpp">
|
||||
<Filter>react\renderer\components\view\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ComponentDescriptorTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ConcreteShadowNodeTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\FindNodeAtPointTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\LayoutableShadowNodeTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\PrimitivesTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\RawPropsTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ShadowNodeFamilyTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\ShadowNodeTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\tests\traitCastTest.cpp">
|
||||
<Filter>react\renderer\core\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\tests\DebugStringConvertibleTest.cpp">
|
||||
<Filter>react\renderer\debug\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\element\tests\ElementTest.cpp">
|
||||
<Filter>react\renderer\element\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\tests\GraphicsTest.cpp">
|
||||
<Filter>react\renderer\graphics\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\tests\TransformTest.cpp">
|
||||
<Filter>react\renderer\graphics\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\imagemanager\tests\ImageManagerTest.cpp">
|
||||
<Filter>react\renderer\imagemanager\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mapbuffer\tests\MapBufferTest.cpp">
|
||||
<Filter>react\renderer\mapbuffer\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\MountingTest.cpp">
|
||||
<Filter>react\renderer\mounting\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\ShadowTreeLifeCycleTest.cpp">
|
||||
<Filter>react\renderer\mounting\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\StateReconciliationTest.cpp">
|
||||
<Filter>react\renderer\mounting\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\tests\TransactionTelemetryTest.cpp">
|
||||
<Filter>react\renderer\mounting\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\templateprocessor\tests\UITemplateProcessorTest.cpp">
|
||||
<Filter>react\renderer\templateprocessor\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\textlayoutmanager\tests\TextLayoutManagerTest.cpp">
|
||||
<Filter>react\renderer\textlayoutmanager\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\uimanager\tests\FabricUIManagerTest.cpp">
|
||||
<Filter>react\renderer\uimanager\tests</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.cpp">
|
||||
<Filter>jsi\jsi\test</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="JsiRuntimeGenerators.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="pch.h" />
|
||||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\test\testlib.h">
|
||||
<Filter>jsi\jsi\test</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="jsi">
|
||||
<UniqueIdentifier>{cb6089d5-c5db-4090-93b4-2454ca9411bc}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="jsi\jsi">
|
||||
<UniqueIdentifier>{e7404bfd-2078-4f21-81dd-6740d2f30e4f}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="jsi\jsi\test">
|
||||
<UniqueIdentifier>{1b90a59e-0d8e-43e4-92d7-a4f846a5716c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react">
|
||||
<UniqueIdentifier>{3f10f518-fa16-4c4f-9d88-1abfdd912f69}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="cxxreact">
|
||||
<UniqueIdentifier>{0397df34-c101-48a4-9b45-305d02ca42f1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="cxxreact\tests">
|
||||
<UniqueIdentifier>{9e50844b-fab6-4413-8430-7b996c2c9aec}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer">
|
||||
<UniqueIdentifier>{f500d53c-7528-40cb-9768-6af72549e91a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components">
|
||||
<UniqueIdentifier>{31736348-c0d2-45b3-a772-43da6c48d3c3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\view">
|
||||
<UniqueIdentifier>{3e52b062-a70f-4046-8f51-6009f51402b0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\view\tests">
|
||||
<UniqueIdentifier>{3affad7d-2956-461f-93cf-bc4066681f12}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\image">
|
||||
<UniqueIdentifier>{f4c16e06-4016-43c7-a73e-0bc325d7ec3c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\image\tests">
|
||||
<UniqueIdentifier>{7c7f43d9-9977-4d60-818a-de8a19c2baa1}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\attributedstring">
|
||||
<UniqueIdentifier>{34fd2ce3-42c8-4b5a-9480-c49310333e11}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\attributedstring\tests">
|
||||
<UniqueIdentifier>{50ef2307-ed02-4547-a84a-e92ae34e49f3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\root">
|
||||
<UniqueIdentifier>{f4b80efe-26ee-451e-b521-c4864a7d413b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\root\tests">
|
||||
<UniqueIdentifier>{19fc2846-444f-4ea3-980d-28f31e6fbcae}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\scrollview">
|
||||
<UniqueIdentifier>{0944e953-4134-4d4c-904d-a6b2ac0ce382}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\scrollview\tests">
|
||||
<UniqueIdentifier>{22c1c33f-8ed6-4ce7-8975-77b223121724}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\slider">
|
||||
<UniqueIdentifier>{b484cd0c-6734-4d82-a1c2-5eaf993d07d4}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\text">
|
||||
<UniqueIdentifier>{65fd0ce2-cadd-42d0-8ffd-528d1303d3ed}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\components\text\tests">
|
||||
<UniqueIdentifier>{69163ea3-feaf-426c-a23a-cc7776bd386c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\core">
|
||||
<UniqueIdentifier>{e0d4ebe8-ea7c-4728-a72c-a2e56e932794}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\core\tests">
|
||||
<UniqueIdentifier>{6a309d17-02d9-4cf0-8049-96a22a195d81}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\debug">
|
||||
<UniqueIdentifier>{235b3028-2ffc-46f4-bd1b-bbadf6a06b53}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\debug\tests">
|
||||
<UniqueIdentifier>{62d6189e-cfeb-4e09-9997-0cf21037c280}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\element">
|
||||
<UniqueIdentifier>{4f5689a3-b6e7-4120-8246-e03c0d5f6584}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\element\tests">
|
||||
<UniqueIdentifier>{182f1177-ce90-4a32-9391-3f07708e2fad}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\graphics">
|
||||
<UniqueIdentifier>{85187514-bd1a-4029-9a6b-79ceafc1ebc6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\graphics\tests">
|
||||
<UniqueIdentifier>{c89e3f26-bb05-478b-bfd8-ed38e613de2d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\imagemanager">
|
||||
<UniqueIdentifier>{d4a60114-ec7b-4ac9-a093-9e27887b7bf2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\imagemanager\tests">
|
||||
<UniqueIdentifier>{490b1d1b-a623-4cf0-a732-661b6ac424c2}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\mapbuffer">
|
||||
<UniqueIdentifier>{96dff07a-fe25-4794-9d47-7b79782be969}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\mapbuffer\tests">
|
||||
<UniqueIdentifier>{2b3daa6d-f671-4a4e-b22a-ca9b355c694e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\mounting">
|
||||
<UniqueIdentifier>{17bb4a67-5fbc-462b-9c88-1a23e8fb75ae}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\mounting\tests">
|
||||
<UniqueIdentifier>{36faa031-3b12-4898-a669-15c09cc00519}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\templateprocessor">
|
||||
<UniqueIdentifier>{6e92cefe-b1a8-4be4-bc93-67f874bb8fb0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\templateprocessor\tests">
|
||||
<UniqueIdentifier>{4015be32-823a-4150-96a7-a4ff9836f6ef}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\textlayoutmanager">
|
||||
<UniqueIdentifier>{64ab615b-830b-4ae4-b57e-8c769a12a7c7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\textlayoutmanager\tests">
|
||||
<UniqueIdentifier>{fadc78b2-c556-4d91-b30c-1904d1ecb05e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\uimanager">
|
||||
<UniqueIdentifier>{c364d837-1e34-43a1-a869-4e92a618500c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\uimanager\tests">
|
||||
<UniqueIdentifier>{9ba8f034-2040-4bc0-abcf-f3086f2a55e3}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -3,8 +3,6 @@
|
|||
<package id="boost" version="1.72.0.0" targetFramework="native" />
|
||||
<package id="ChakraCore.Debugger" version="0.0.0.44" targetFramework="native" />
|
||||
<package id="Microsoft.ChakraCore.vc140" version="1.11.20" targetFramework="native" developmentDependency="true" />
|
||||
<package id="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" version="1.8.1" targetFramework="native" />
|
||||
<package id="Microsoft.Windows.CppWinRT" version="2.0.200615.7" targetFramework="native" />
|
||||
<package id="ReactWindows.ChakraCore.ARM64" version="1.11.20" targetFramework="native" developmentDependency="true" />
|
||||
<package id="ReactWindows.OpenSSL.StdCall.Static" version="1.0.2-p.5" targetFramework="native" />
|
||||
<package id="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" version="1.8.1.3" targetFramework="native" />
|
||||
<package id="ReactNative.V8Jsi.Windows" version="0.64.7" targetFramework="native" />
|
||||
</packages>
|
|
@ -0,0 +1,4 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include "pch.h"
|
|
@ -0,0 +1,6 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "gtest/gtest.h"
|
|
@ -154,6 +154,10 @@
|
|||
<ClCompile Include="$(YogaDir)\yoga\YGNodePrint.cpp" DisableSpecificWarnings="4244;%(DisableSpecificWarnings)" />
|
||||
<ClCompile Include="$(YogaDir)\yoga\YGStyle.cpp" DisableSpecificWarnings="4244;%(DisableSpecificWarnings)" />
|
||||
<ClCompile Include="$(YogaDir)\yoga\YGValue.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\Sealable.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertible.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertibleItem.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\TransactionTelemetry.cpp" />
|
||||
<!--
|
||||
Using Strict FloatingPointModel on x64 to workaround a compiler issue, See https://github.com/microsoft/react-native-windows/issues/4122
|
||||
Using a patched copy of Yoga due to https://github.com/microsoft/react-native-windows/issues/3994
|
||||
|
|
|
@ -43,6 +43,21 @@
|
|||
<Filter Include="yoga\event">
|
||||
<UniqueIdentifier>{b81cc660-374c-4232-823b-6c76b48564b4}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react">
|
||||
<UniqueIdentifier>{2d49b4f6-fe41-45da-9942-81217accd474}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer">
|
||||
<UniqueIdentifier>{61211521-40da-4211-b23d-bced1fefc5d8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\core">
|
||||
<UniqueIdentifier>{fa6d6abd-769f-4c36-b881-173f3f218abe}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\debug">
|
||||
<UniqueIdentifier>{cc363422-d654-4288-b8b8-ea8f38aa7604}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="react\renderer\mounting">
|
||||
<UniqueIdentifier>{836654a8-cee1-4d6d-ae20-bd2fb86710f7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\CxxNativeModule.cpp">
|
||||
|
@ -99,9 +114,6 @@
|
|||
<ClCompile Include="$(YogaDir)\yoga\YGStyle.cpp">
|
||||
<Filter>yoga</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(YogaDir)\yoga\Yoga.cpp">
|
||||
<Filter>yoga</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsi\jsi\jsi.cpp">
|
||||
<Filter>jsi\jsi</Filter>
|
||||
</ClCompile>
|
||||
|
@ -138,6 +150,22 @@
|
|||
<ClCompile Include="$(YogaDir)\yoga\event\event.cpp">
|
||||
<Filter>yoga\event</Filter>
|
||||
</ClCompile>
|
||||
<CLCompile Include="$(ReactNativeDir)\ReactCommon\reactperflogger\reactperflogger\BridgeNativeModulePerfLogger.cpp" />
|
||||
<ClCompile Include=".\Yoga.cpp" />
|
||||
<CLCompile Include="$(ReactNativeDir)\ReactCommon\react\nativemodule\samples\ReactCommon\NativeSampleTurboCxxModuleSpecJSI.cpp" />
|
||||
<CLCompile Include="$(ReactNativeDir)\ReactCommon\react\nativemodule\samples\ReactCommon\SampleTurboCxxModule.cpp" />
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\core\Sealable.cpp">
|
||||
<Filter>react\renderer\core</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertibleItem.cpp">
|
||||
<Filter>react\renderer\debug</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\debug\DebugStringConvertible.cpp">
|
||||
<Filter>react\renderer\debug</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\mounting\TransactionTelemetry.cpp">
|
||||
<Filter>react\renderer\mounting</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\stubs\sys\mman.h">
|
||||
|
@ -260,9 +288,7 @@
|
|||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.h">
|
||||
<Filter>turbomodule\core</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\jscallinvoker\ReactCommon\JSCallInvoker.h">
|
||||
<Filter>jscallinvoker\ReactCommon</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(ReactNativeDir)\ReactCommon\callinvoker\ReactCommon\CallInvoker.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
|
|
|
@ -85,18 +85,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Folly", "Folly", "{41F31595
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "React.Windows.Desktop.ABITests", "Desktop.ABITests\React.Windows.Desktop.ABITests.vcxproj", "{44DCED9B-9C4C-48FE-8545-0930192BBC16}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Desktop.UnitTests", "JSI.Desktop.UnitTests\JSI.Desktop.UnitTests.vcxproj", "{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "React.Windows.Test", "Test\React.Windows.Test.vcxproj", "{CD0415C6-D908-4212-9481-49BE41F58D27}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "React.Windows.Desktop.Test.DLL", "Desktop.Test.DLL\React.Windows.Desktop.Test.DLL.vcxproj", "{473FE8E8-26DA-4B46-A7B3-7B4A758075D0}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Include", "include\Include.vcxitems", "{EF074BA1-2D54-4D49-A28E-5E040B47CD2E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Desktop", "JSI\Desktop\JSI.Desktop.vcxproj", "{17DD1B17-3094-40DD-9373-AC2497932ECA}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mso.UnitTests", "Mso.UnitTests\Mso.UnitTests.vcxproj", "{1958CEAA-FBE0-44E3-8A99-90AD85531FFE}"
|
||||
|
@ -107,10 +101,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Mso", "Mso\Mso.vcxitems", "
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactCommon.UnitTests", "ReactCommon.UnitTests\ReactCommon.UnitTests.vcxproj", "{B0941079-7441-4A69-868C-FE5EC62C2E9E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
JSI\Shared\JSI.Shared.vcxitems*{17dd1b17-3094-40dd-9373-ac2497932eca}*SharedItemsImports = 4
|
||||
Mso\Mso.vcxitems*{1958ceaa-fbe0-44e3-8a99-90ad85531ffe}*SharedItemsImports = 4
|
||||
Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{44dced9b-9c4c-48fe-8545-0930192bbc16}*SharedItemsImports = 4
|
||||
|
@ -235,14 +229,6 @@ Global
|
|||
{44DCED9B-9C4C-48FE-8545-0930192BBC16}.Release|x64.Build.0 = Release|x64
|
||||
{44DCED9B-9C4C-48FE-8545-0930192BBC16}.Release|x86.ActiveCfg = Release|Win32
|
||||
{44DCED9B-9C4C-48FE-8545-0930192BBC16}.Release|x86.Build.0 = Release|Win32
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Debug|x64.Build.0 = Debug|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Debug|x86.ActiveCfg = Debug|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Release|ARM64.ActiveCfg = Release|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Release|x64.ActiveCfg = Release|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Release|x64.Build.0 = Release|x64
|
||||
{6F354505-FE3A-4BD2-A9A6-D12BBF37A85C}.Release|x86.ActiveCfg = Release|x64
|
||||
{CD0415C6-D908-4212-9481-49BE41F58D27}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{CD0415C6-D908-4212-9481-49BE41F58D27}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{CD0415C6-D908-4212-9481-49BE41F58D27}.Debug|x64.ActiveCfg = Debug|x64
|
||||
|
@ -265,18 +251,6 @@ Global
|
|||
{473FE8E8-26DA-4B46-A7B3-7B4A758075D0}.Release|x64.Build.0 = Release|x64
|
||||
{473FE8E8-26DA-4B46-A7B3-7B4A758075D0}.Release|x86.ActiveCfg = Release|Win32
|
||||
{473FE8E8-26DA-4B46-A7B3-7B4A758075D0}.Release|x86.Build.0 = Release|Win32
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|x64.Build.0 = Debug|x64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Debug|x86.Build.0 = Debug|Win32
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|x64.ActiveCfg = Release|x64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|x64.Build.0 = Release|x64
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|x86.ActiveCfg = Release|Win32
|
||||
{17DD1B17-3094-40DD-9373-AC2497932ECA}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.ActiveCfg = Debug|x64
|
||||
|
@ -299,6 +273,14 @@ Global
|
|||
{1958CEAA-FBE0-44E3-8A99-90AD85531FFE}.Release|x64.Build.0 = Release|x64
|
||||
{1958CEAA-FBE0-44E3-8A99-90AD85531FFE}.Release|x86.ActiveCfg = Release|Win32
|
||||
{1958CEAA-FBE0-44E3-8A99-90AD85531FFE}.Release|x86.Build.0 = Release|Win32
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Debug|ARM64.ActiveCfg = Debug|Win32
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Debug|x64.Build.0 = Debug|x64
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Release|ARM64.ActiveCfg = Release|Win32
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Release|x64.ActiveCfg = Release|x64
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Release|x64.Build.0 = Release|x64
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E}.Release|x86.ActiveCfg = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -315,6 +297,7 @@ Global
|
|||
{1958CEAA-FBE0-44E3-8A99-90AD85531FFE} = {4DE630AE-EC50-4F21-942E-7B811A1C5FA3}
|
||||
{4DE630AE-EC50-4F21-942E-7B811A1C5FA3} = {978A75A5-B8D2-4306-9AEF-D00793F33F5F}
|
||||
{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E} = {4DE630AE-EC50-4F21-942E-7B811A1C5FA3}
|
||||
{B0941079-7441-4A69-868C-FE5EC62C2E9E} = {F90FDFD1-2C76-4DCD-B248-F6FB2BB15BDF}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C1055EEE-3785-4C0E-8934-FBAA21BFF90C}
|
||||
|
|
|
@ -17,10 +17,10 @@ param (
|
|||
[System.IO.FileInfo[]] $Assemblies =
|
||||
(
|
||||
("$(Split-Path $PSScriptRoot)\target\$Platform\$Configuration\" +
|
||||
"React.Windows.Desktop.UnitTests\React.Windows.Desktop.UnitTests.dll"),
|
||||
"React.Windows.Desktop.UnitTests\React.Windows.Desktop.UnitTests.dll"),
|
||||
|
||||
("$(Split-Path $PSScriptRoot)\target\$Platform\$Configuration\" +
|
||||
"JSI.Desktop.UnitTests\JSI.Desktop.UnitTests.exe")
|
||||
"ReactCommon.UnitTests\ReactCommon.UnitTests.exe")
|
||||
),
|
||||
|
||||
[System.IO.FileInfo] $VsTest = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <JSI/Shared/ScriptStore.h>
|
||||
#include <JSI/ScriptStore.h>
|
||||
#include <jsi/jsi.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "ChakraRuntimeHolder.h"
|
||||
|
||||
#include <JSI/Shared/ChakraRuntimeFactory.h>
|
||||
#include <JSI/ChakraRuntimeFactory.h>
|
||||
|
||||
namespace Microsoft::JSI {
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include <DevSettings.h>
|
||||
|
||||
#include <JSI/Shared/ChakraRuntimeArgs.h>
|
||||
#include <JSI/Shared/RuntimeHolder.h>
|
||||
#include <JSI/ChakraRuntimeArgs.h>
|
||||
#include <JSI/RuntimeHolder.h>
|
||||
|
||||
#include <Logging.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
#pragma once
|
||||
#include <JSI/Shared/ScriptStore.h>
|
||||
#include <JSI/ScriptStore.h>
|
||||
#include <jsi/jsi.h>
|
||||
|
||||
namespace facebook::react {
|
|
@ -18,7 +18,7 @@
|
|||
#include "Chakra/ChakraExecutor.h"
|
||||
#include "Chakra/ChakraHelpers.h"
|
||||
#include "Chakra/ChakraUtils.h"
|
||||
#include "JSI/Shared/RuntimeHolder.h"
|
||||
#include "JSI/RuntimeHolder.h"
|
||||
|
||||
#include <cxxreact/MessageQueueThread.h>
|
||||
#include <cxxreact/ModuleRegistry.h>
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
</ClCompile>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)InstanceManager.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)JSBigAbiString.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)JSI\ChakraApi.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntime.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)LayoutAnimation.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)Logging.cpp" />
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)MemoryMappedBuffer.cpp" />
|
||||
|
@ -65,6 +67,13 @@
|
|||
<ClInclude Include="$(MSBuildThisFileDirectory)AsyncStorage\AsyncStorageManager.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)AsyncStorage\FollyDynamicConverter.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)AsyncStorage\KeyValueStorage.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ByteArrayBuffer.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraApi.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntime.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntimeArgs.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntimeFactory.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\RuntimeHolder.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ScriptStore.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)Modules\NetworkingModule.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)RuntimeOptions.h" />
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)Modules\AsyncStorageModuleWin32.h" />
|
||||
|
|
|
@ -112,6 +112,12 @@
|
|||
<ClCompile Include="$(MSBuildThisFileDirectory)Modules\WebSocketModule.cpp">
|
||||
<Filter>Source Files\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)JSI\ChakraApi.cpp">
|
||||
<Filter>Source Files\JSI</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntime.cpp">
|
||||
<Filter>Source Files\JSI</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
|
@ -162,6 +168,12 @@
|
|||
<Filter Include="Header Files\Utils">
|
||||
<UniqueIdentifier>{2ad4b85f-faa4-4e14-905c-6c48c8ae1a20}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files\JSI">
|
||||
<UniqueIdentifier>{07874914-e3b0-4d02-ad53-3518c2cb8cd8}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files\JSI">
|
||||
<UniqueIdentifier>{1a3ad55f-1297-41b3-ba2a-0f819e69270c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)AsyncStorage\StorageFileIO.h">
|
||||
|
@ -329,6 +341,27 @@
|
|||
<ClInclude Include="$(MSBuildThisFileDirectory)Utils\CppWinrtLessExceptions.h">
|
||||
<Filter>Header Files\Utils</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ByteArrayBuffer.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraApi.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntime.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntimeArgs.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ChakraRuntimeFactory.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\RuntimeHolder.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="$(MSBuildThisFileDirectory)JSI\ScriptStore.h">
|
||||
<Filter>Header Files\JSI</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="$(MSBuildThisFileDirectory)etw\build.bat">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <Shared/BatchingMessageQueueThread.h>
|
||||
#include <BatchingMessageQueueThread.h>
|
||||
#include <cxxreact/MessageQueueThread.h>
|
||||
|
||||
namespace react::uwp {
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include <DevSettings.h>
|
||||
|
||||
#include <JSI/Shared/RuntimeHolder.h>
|
||||
#include <JSI/Shared/ScriptStore.h>
|
||||
#include <JSI/RuntimeHolder.h>
|
||||
#include <JSI/ScriptStore.h>
|
||||
|
||||
#include <Logging.h>
|
||||
|
||||
|
|
|
@ -22,10 +22,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\node_modules\r
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\node_modules\react-native-windows\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\node_modules\react-native-windows\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -42,10 +38,8 @@ EndProject
|
|||
Global
|
||||
{{^useExperimentalNuget}}
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -139,22 +133,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -182,8 +160,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -22,10 +22,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\node_modules\r
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\node_modules\react-native-windows\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\node_modules\react-native-windows\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -42,10 +38,8 @@ EndProject
|
|||
Global
|
||||
{{^useExperimentalNuget}}
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -139,22 +133,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -182,8 +160,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -17,10 +17,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\node_modules\r
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\node_modules\react-native-windows\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\node_modules\react-native-windows\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -41,10 +37,8 @@ EndProject
|
|||
Global
|
||||
{{^useExperimentalNuget}}
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -138,22 +132,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -213,8 +191,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
|
@ -17,10 +17,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Chakra", "..\node_modules\r
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative", "..\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj", "{F7D32BD0-2749-483E-9A0D-1635EF7E3136}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Shared", "..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems", "{0CC28589-39E4-4288-B162-97B959F8B843}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JSI.Universal", "..\node_modules\react-native-windows\JSI\Universal\JSI.Universal.vcxproj", "{A62D504A-16B8-41D2-9F19-E2E86019E5E4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.ReactNative.Cxx", "..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems", "{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\node_modules\react-native-windows\Common\Common.vcxproj", "{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}"
|
||||
|
@ -41,10 +37,8 @@ EndProject
|
|||
Global
|
||||
{{^useExperimentalNuget}}
|
||||
GlobalSection(SharedMSBuildProjectFiles) = preSolution
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{0cc28589-39e4-4288-b162-97b959f8b843}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\JSI\Shared\JSI.Shared.vcxitems*{a62d504a-16b8-41d2-9f19-e2e86019e5e4}*SharedItemsImports = 4
|
||||
..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
|
||||
..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
|
||||
|
@ -138,22 +132,6 @@ Global
|
|||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.Build.0 = Release|x64
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.Build.0 = Debug|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.Build.0 = Release|x64
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
|
@ -213,8 +191,6 @@ Global
|
|||
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{0CC28589-39E4-4288-B162-97B959F8B843} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{A62D504A-16B8-41D2-9F19-E2E86019E5E4} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{DA8B35B3-DA00-4B02-BDE6-6A397B3FD46B} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
|
||||
|
|
Загрузка…
Ссылка в новой задаче