CI for Android fixed

Summary:
Fix for android github CI.

Github CI doesn't work without this change.

CI passes.

[INTERNAL] Android CI fix.
Closes https://github.com/facebook/react-native/pull/17551

Differential Revision: D6707477

Pulled By: hramos

fbshipit-source-id: f98515234da3b90ee3233523bcd7cc67ed82c1b4
This commit is contained in:
Sergei Dryganets 2018-01-12 07:49:15 -08:00 committed by Facebook Github Bot
parent e16d67340e
commit c8e98bbaf5
3 changed files with 8 additions and 7 deletions

View File

@ -115,7 +115,7 @@ prebuilt_jar(
export_file( export_file(
name = "robolectric-android-all-binary-jar", name = "robolectric-android-all-binary-jar",
src = ":robolectric-android-all-binary-remote-jar", src = ":robolectric-android-all-binary-remote-jar",
out = "android-all-4.1.2_r1-robolectric-0.jar", # name defines filename used by robolectric in runtime out = "../android-all-4.1.2_r1-robolectric-0.jar", # name defines filename used by robolectric in runtime
) )
remote_file( remote_file(
@ -133,7 +133,7 @@ prebuilt_jar(
export_file( export_file(
name = "json-jar", name = "json-jar",
src = ":json-remote-jar", src = ":json-remote-jar",
out = "json-20080701.jar", # name defines filename used by robolectric in runtime out = "../json-20080701.jar", # name defines filename used by robolectric in runtime
) )
remote_file( remote_file(
@ -151,7 +151,7 @@ prebuilt_jar(
export_file( export_file(
name = "tagsoup-jar", name = "tagsoup-jar",
src = ":tagsoup-remote-jar", src = ":tagsoup-remote-jar",
out = "tagsoup-1.2.jar", # name defines filename used by robolectric in runtime out = "../tagsoup-1.2.jar", # name defines filename used by robolectric in runtime
) )
remote_file( remote_file(
@ -169,7 +169,7 @@ prebuilt_jar(
export_file( export_file(
name = "robolectric-shadows-binary-jar", name = "robolectric-shadows-binary-jar",
src = ":robolectric-shadows-binary-remote-jar", src = ":robolectric-shadows-binary-remote-jar",
out = "shadows-core-3.0-16.jar", # name defines filename used by robolectric in runtime out = "../shadows-core-3.0-16.jar", # name defines filename used by robolectric in runtime
) )
remote_file( remote_file(

View File

@ -2,8 +2,7 @@
# Building is not supported in OSS right now # Building is not supported in OSS right now
def rn_xplat_cxx_library(name, **kwargs): def rn_xplat_cxx_library(name, **kwargs):
cxx_library(name = name) cxx_library(name, **kwargs)
# Helper for referring to an Android RN target # Helper for referring to an Android RN target
def react_native_target(path): def react_native_target(path):
return '//ReactAndroid/src/main/' + path return '//ReactAndroid/src/main/' + path

View File

@ -1,4 +1,6 @@
fb_xplat_cxx_library( include_defs("//ReactCommon/DEFS")
rn_xplat_cxx_library(
name = "yoga", name = "yoga",
srcs = glob(["yoga/*.cpp"]), srcs = glob(["yoga/*.cpp"]),
header_namespace = "", header_namespace = "",