Fabric: A bunch of #ifdef ANDROID

Summary: Nothing really changed; the change is only to better express an original intent.

Reviewed By: JoshuaGross

Differential Revision: D13962464

fbshipit-source-id: f385db8ba8662f2150181e47fc6a2a981f809e96
This commit is contained in:
Valentin Shergin
2019-02-06 16:34:46 -08:00
committed by Facebook Github Bot
parent 94925d5eb7
commit 2332cb6fe2
9 changed files with 34 additions and 0 deletions
@@ -17,6 +17,8 @@
namespace facebook {
namespace react {
#ifdef ANDROID
TEST(TextAttributesTest, testToDynamic) {
auto text = TextAttributes();
text.foregroundColor = {
@@ -33,5 +35,7 @@ TEST(TextAttributesTest, testToDynamic) {
assert(result["fontWeight"] == toString(*text.fontWeight));
}
#endif
} // namespace react
} // namespace facebook