mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove unneeded folly deps (#51807)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51807 Remove unneeded deps from the build graph. Especially `//xplat/folly:logging_logging` ends up adding 418KB in development which is unused here. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D71316272 fbshipit-source-id: 39a73e26728cee23d4ffbdd5e4760de2029e671b
This commit is contained in:
1 parent
f2b19608cc
commit
2ec21b4679
4 files changed
+8
-4
No files matched your search
@@ -9,12 +9,12 @@
|
||||
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include <folly/Memory.h>
|
||||
#include <folly/portability/Fcntl.h>
|
||||
#include <folly/portability/SysMman.h>
|
||||
#include <folly/portability/SysStat.h>
|
||||
#include <folly/portability/Unistd.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <folly/Exception.h>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#ifndef RN_EXPORT
|
||||
#ifdef _MSC_VER
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
|
||||
#include "JSIndexedRAMBundle.h"
|
||||
|
||||
#include <glog/logging.h>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
|
||||
#include <folly/lang/Bits.h>
|
||||
#include <glog/logging.h>
|
||||
|
||||
namespace facebook::react {
|
||||
|
||||
std::function<std::unique_ptr<JSModulesUnbundle>(std::string)>
|
||||
|
||||
@@ -7,8 +7,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <istream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <cxxreact/JSBigString.h>
|
||||
#include <cxxreact/JSModulesUnbundle.h>
|
||||
|
||||
Reference in new issue
Block a user