Fixes Android tests build error (#44160)

Summary:
Fixes build_android failure.

```
' file not found
  #include <react/renderer/mounting/stubs.h>
```

bypass-github-export-checks

## Changelog:

[INTERNAL] [FIXED] - Fixes Android tests build error

Pull Request resolved: https://github.com/facebook/react-native/pull/44160

Test Plan: ci green.

Reviewed By: javache

Differential Revision: D56350360

Pulled By: cipolleschi

fbshipit-source-id: 03c0fe524b0725696cde16e693df2a612361e8e8
This commit is contained in:
zhongwuzw
2024-04-19 07:07:00 -07:00
committed by Facebook GitHub Bot
parent 23709f7c61
commit c0ea79d49b
9 changed files with 11 additions and 9 deletions
@@ -21,7 +21,7 @@
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
#include <react/test_utils/Entropy.h>
#include <react/test_utils/MockClock.h>
#include <react/test_utils/shadowTreeGeneration.h>
@@ -14,7 +14,9 @@ add_compile_options(
-Wpedantic
-DLOG_TAG=\"Fabric\")
file(GLOB react_render_mounting_SRC CONFIGURE_DEPENDS *.cpp)
file(GLOB react_render_mounting_SRC CONFIGURE_DEPENDS
*.cpp
stubs/*.cpp)
add_library(react_render_mounting STATIC ${react_render_mounting_SRC})
target_include_directories(react_render_mounting PRIVATE .)
@@ -20,7 +20,7 @@
#include "ShadowTreeRevision.h"
#ifdef RN_SHADOW_TREE_INTROSPECTION
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
#endif
namespace facebook::react {
@@ -11,7 +11,7 @@
#include <unordered_map>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <react/renderer/mounting/StubView.h>
#include <react/renderer/mounting/stubs/StubView.h>
namespace facebook::react {
@@ -11,7 +11,7 @@
#include <react/renderer/components/view/ViewComponentDescriptor.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
#include <react/test_utils/shadowTreeGeneration.h>
@@ -19,7 +19,7 @@
#include <react/renderer/element/testUtils.h>
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
namespace facebook::react {
@@ -17,7 +17,7 @@
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
#include <react/test_utils/Entropy.h>
#include <react/test_utils/shadowTreeGeneration.h>
@@ -19,7 +19,7 @@
#include <react/renderer/element/testUtils.h>
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/ShadowViewMutation.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
namespace facebook::react {
@@ -17,7 +17,7 @@
#include <react/config/ReactNativeConfig.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/mounting/Differentiator.h>
#include <react/renderer/mounting/stubs.h>
#include <react/renderer/mounting/stubs/stubs.h>
#include <react/renderer/components/root/RootComponentDescriptor.h>
#include <react/renderer/components/view/ViewComponentDescriptor.h>