react-native-macos/ReactCommon/fabric/graphics
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
..
platform Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
tests Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BUCK Fabric: Enable CXX (aka Default) platfrom fravour for all C++ Fabric targets 2019-06-04 15:34:34 -07:00
ColorComponents.h Fabric: Enabling clang-format for half of Fabric modules 2018-10-05 11:03:23 -07:00
Geometry.h Fabric: Fixing usage of Folly's `hash_combine` 2019-03-14 18:35:00 -07:00
React-graphics.podspec Fabric: working podspecs & works in RNTester (#23803) 2019-03-15 23:59:22 -07:00
Transform.cpp Fabric: Applying a transformation matrix to a point 2019-05-06 17:06:40 -07:00
Transform.h Fabric: Applying a transformation matrix to a point 2019-05-06 17:06:40 -07:00
conversions.h Fabric: properly convert prop value with object shape 2019-04-10 11:04:23 -07:00