From 8d67d51bdc3d1b7fa54fb4664bd414ec3650e0a2 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Thu, 9 Jan 2025 08:43:22 -0800 Subject: [PATCH] remove use of folly::init (#48573) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48573 changelog: [internal] remove main.cpp for cxxreact/tests. It is not needed for tests to work and it breaks build for C++ only tests. Reviewed By: javache Differential Revision: D67975182 fbshipit-source-id: b9cbc5b5b6a87aafc69448e99877e664ed2d5af2 --- .../ReactCommon/cxxreact/tests/main.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 packages/react-native/ReactCommon/cxxreact/tests/main.cpp diff --git a/packages/react-native/ReactCommon/cxxreact/tests/main.cpp b/packages/react-native/ReactCommon/cxxreact/tests/main.cpp deleted file mode 100644 index 7e5762fc7fe..00000000000 --- a/packages/react-native/ReactCommon/cxxreact/tests/main.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -#include -#include - -int main(int argc, char** argv) { - ::testing::InitGoogleTest(&argc, argv); - folly::init(&argc, &argv); - return RUN_ALL_TESTS(); -}