Skip to content

Commit

Permalink
Share between mobile and desktop (#36852)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #36852

Changelog:
[Internal]

Reviewed By: shwanton

Differential Revision: D44796009

fbshipit-source-id: 614dd3c2bb002b068b0cd51f546d30d010768bda
  • Loading branch information
christophpurrer authored and facebook-github-bot committed Apr 7, 2023
1 parent 95dabeb commit a6690bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react-native/ReactCommon/butter/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ load(
"ANDROID",
"APPLE",
"CXX",
"IOS",
"MACOSX",
"WINDOWS",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
"get_preprocessor_flags_for_build_mode",
Expand All @@ -21,6 +24,7 @@ rn_xplat_cxx_library(
],
prefix = "butter",
),
apple_sdks = (IOS, MACOSX),
compiler_flags_pedantic = True,
fbobjc_compiler_flags = APPLE_COMPILER_FLAGS,
fbobjc_preprocessor_flags = get_preprocessor_flags_for_build_mode() + get_apple_inspector_flags(),
Expand All @@ -29,7 +33,7 @@ rn_xplat_cxx_library(
"pfh:ReactNative_CommonInfrastructurePlaceholder",
],
macosx_tests_override = [],
platforms = (ANDROID, APPLE, CXX),
platforms = (ANDROID, APPLE, CXX, WINDOWS),
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
Expand Down

0 comments on commit a6690bf

Please sign in to comment.