react-native-macos/ReactCommon/utils
Valentin Shergin 15302284cc Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets
Summary:
First of all, seems it's the right thing to do. Fabric C++ code is cross-platfrom and should run on *all* platforms including Windows, Linux, and Mac.
While we don't have a real *production* use cases where we need compilation for desktops, having CXX target is really handy for two reasons:
* It simplifies local test running process. Instead of going to `/fbandroid/` and executing something like `buck test fbsource//xplat/js/react-native-github/ReactCommon/fabric/core:coreAndroid` (note the suffix). We can just do `buck test fbsource//xplat/js/react-native-github/ReactCommon/fabric/core:core` everywhere and it works now out of the box. Running tests with "Apple" flavor never worked for me.
* It allows creating synthetic benchmark tests (using Google Benchmark) that can be used as a rough approximation of code micro-optimizations.

Reviewed By: JoshuaGross

Differential Revision: D15608678

fbshipit-source-id: d2449035685dbca6ab983480f5334ec4ac11cd35
2019-06-04 15:34:34 -07:00
..
BUCK Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
ContextContainer.h Fabric: Collect typenames instead of typehashes to ensure safety in ContextContainer 2019-05-14 10:05:54 -07:00
FloatComparison.h Fabric: Introducing SharedFunction 2019-02-14 20:09:16 -08:00
ManagedObjectWrapper.h Fabric: Moving RNWrapManagedObject to `react/utils` module 2019-04-29 21:21:11 -07:00
SharedFunction.h Fabric: Introducing SharedFunction 2019-02-14 20:09:16 -08:00
SimpleThreadSafeCache.h Fabric: Introducing SimpleThreadSafeCache 2019-03-03 12:07:12 -08:00
TimeUtils.h Fabric: MountingTelemetry and refinments in TimeUtils 2019-05-03 15:11:34 -07:00