Files
react-native/packages/react-native/ReactAndroid/cmake-utils/folly-flags.cmake
T
Nick Gerleman a931867286 Fix formatting in folly_flags.cmake and template pbxproj (#39465)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39465

Separate a definition onto a separate line.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D49309462

fbshipit-source-id: 98726dfb3d2c79faca0fac758164186eb4c651b5
2023-09-15 03:43:04 -07:00

24 lines
810 B
CMake

# 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.
cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)
# This CMake file exposes the Folly Flags that all the libraries should use when
# compiling/linking against a dependency which requires folly.
SET(folly_FLAGS
-DFOLLY_NO_CONFIG=1
-DFOLLY_HAVE_CLOCK_GETTIME=1
-DFOLLY_USE_LIBCPP=1
-DFOLLY_CFG_NO_COROUTINES=1
-DFOLLY_MOBILE=1
-DFOLLY_HAVE_RECVMMSG=1
-DFOLLY_HAVE_PTHREAD=1
# Once we target android-23 above, we can comment
# the following line. NDK uses GNU style stderror_r() after API 23.
-DFOLLY_HAVE_XSI_STRERROR_R=1
)