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:
David Vacca 2018-07-17 01:35:01 -07:00 committed by Facebook Github Bot
parent a87b9db3dc
commit 46164324cd
3 changed files with 15 additions and 15 deletions

View File

@ -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",

View File

@ -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"),

View File

@ -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"),