Exclude ios dependencies from Android build in fabric C++
Summary: This diff updates the buck dependencies from fabric to allow cross platform usage Reviewed By: shergin Differential Revision: D8755155 fbshipit-source-id: 8501463bb22e5b86e6ad8b6c9f621251c6b6d55a
This commit is contained in:
parent
a87b9db3dc
commit
46164324cd
|
@ -56,11 +56,6 @@ rn_xplat_cxx_library(
|
|||
":tests",
|
||||
],
|
||||
force_static = True,
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_deps = [
|
||||
"xplat//js:RCTImage",
|
||||
"xplat//js/react-native-github:RCTCxxBridge",
|
||||
|
@ -71,6 +66,11 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
prefix = "fabric/graphics",
|
||||
),
|
||||
ios_frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_srcs = glob(
|
||||
[
|
||||
"platform/ios/**/*.cpp",
|
||||
|
|
|
@ -52,11 +52,6 @@ rn_xplat_cxx_library(
|
|||
":tests",
|
||||
],
|
||||
force_static = True,
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_deps = [
|
||||
"xplat//js:RCTImage",
|
||||
"xplat//js/react-native-github:RCTCxxBridge",
|
||||
|
@ -68,6 +63,11 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
prefix = "fabric/imagemanager",
|
||||
),
|
||||
ios_frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_headers = subdir_glob(
|
||||
[
|
||||
("", "*.h"),
|
||||
|
|
|
@ -63,11 +63,6 @@ rn_xplat_cxx_library(
|
|||
":tests",
|
||||
],
|
||||
force_static = True,
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_deps = [
|
||||
],
|
||||
ios_exported_headers = subdir_glob(
|
||||
|
@ -76,6 +71,11 @@ rn_xplat_cxx_library(
|
|||
],
|
||||
prefix = "fabric/textlayoutmanager",
|
||||
),
|
||||
ios_frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
ios_headers = subdir_glob(
|
||||
[
|
||||
("platform/ios", "**/*.h"),
|
||||
|
|
Loading…
Reference in New Issue