Make SystemJSC on macosx actually use the system JSC framework

Reviewed By: mzlee

Differential Revision: D10475231

fbshipit-source-id: 67f6859cf93aa4fb91c174ee222694271c0d72ed
This commit is contained in:
Marc Horowitz 2018-10-26 17:04:56 -07:00 committed by Facebook Github Bot
parent 2a44054e99
commit 5d38264f9e

View File

@ -69,9 +69,23 @@ rn_xplat_cxx_library(
exported_headers = [
"JSCRuntime.h",
],
cxx_deps = [
cxx_exported_platform_linker_flags = [
(
"macosx-x86_64",
[
"-framework",
"JavaScriptCore",
],
),
],
cxx_platform_deps = [
(
"^(linux|gcc|platform)",
[
"xplat//jsc:jsc",
],
),
],
fbandroid_compiler_flags = [
"-fexceptions",
"-frtti",