Skip to content

Commit

Permalink
Fix prefab prefix for fabricjni (#35648)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #35648

The `fabricjni` prefab module was missing the `react/fabric` prefix.
I'm adding it here.
Ref: reactwg/react-native-releases#41 (reply in thread)

Changelog:
[Internal] [Changed] - Fix prefab prefix for fabricjni

Reviewed By: cipolleschi

Differential Revision: D42047434

fbshipit-source-id: 202db49cd1ada2462652dbd7e56bad6779c263ac
  • Loading branch information
cortinico authored and Riccardo Cipolleschi committed Dec 19, 2022
1 parent caa79b7 commit 621d901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
new PrefabPreprocessingEntry(
"fabricjni",
[
new Pair("src/main/jni/react/fabric", ""),
new Pair("src/main/jni/react/fabric", "react/fabric/"),
new Pair("src/main/jni/react/cxxcomponents", "react/cxxcomponents/")
]
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

#pragma once

#include <ComponentFactory.h>
#include <fbjni/fbjni.h>
#include <react/fabric/ComponentFactory.h>
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
#include <react/renderer/core/ConcreteComponentDescriptor.h>
Expand Down

0 comments on commit 621d901

Please sign in to comment.