Skip to content

Commit a6690bf

Browse files
Share between mobile and desktop (#36852)
Summary: Pull Request resolved: #36852 Changelog: [Internal] Reviewed By: shwanton Differential Revision: D44796009 fbshipit-source-id: 614dd3c2bb002b068b0cd51f546d30d010768bda
1 parent 95dabeb commit a6690bf

File tree

1 file changed

+5
-1
lines changed
  • packages/react-native/ReactCommon/butter

1 file changed

+5
-1
lines changed

packages/react-native/ReactCommon/butter/BUCK

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ load(
33
"ANDROID",
44
"APPLE",
55
"CXX",
6+
"IOS",
7+
"MACOSX",
8+
"WINDOWS",
69
"get_apple_compiler_flags",
710
"get_apple_inspector_flags",
811
"get_preprocessor_flags_for_build_mode",
@@ -21,6 +24,7 @@ rn_xplat_cxx_library(
2124
],
2225
prefix = "butter",
2326
),
27+
apple_sdks = (IOS, MACOSX),
2428
compiler_flags_pedantic = True,
2529
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
2630
fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode() + get_apple_inspector_flags(),
@@ -29,7 +33,7 @@ rn_xplat_cxx_library(
2933
"pfh:ReactNative_CommonInfrastructurePlaceholder",
3034
],
3135
macosx_tests_override = [],
32-
platforms = (ANDROID, APPLE, CXX),
36+
platforms = (ANDROID, APPLE, CXX, WINDOWS),
3337
preprocessor_flags = [
3438
"-DLOG_TAG=\"ReactNative\"",
3539
"-DWITH_FBSYSTRACE=1",

0 commit comments

Comments
 (0)