Fix OSS Android test failure
Reviewed By: fkgozali, hramos Differential Revision: D7358801 fbshipit-source-id: 6f7979489fd7f5c9f7d9e1d7461121b7ff9f3ab0
This commit is contained in:
parent
6ae38feb65
commit
96daf677b7
|
@ -35,10 +35,16 @@ with allow_unsafe_import():
|
|||
|
||||
# Building is not supported in OSS right now
|
||||
def rn_xplat_cxx_library(name, **kwargs):
|
||||
_ignore = kwargs
|
||||
new_kwargs = {
|
||||
k: v
|
||||
for k, v in kwargs.items()
|
||||
if k.startswith("exported_")
|
||||
}
|
||||
|
||||
native.cxx_library(
|
||||
name=name,
|
||||
visibility=kwargs.get("visibility", [])
|
||||
visibility=kwargs.get("visibility", []),
|
||||
**new_kwargs
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue