Permalink
Browse files

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 #17551

Differential Revision: D6707477

Pulled By: hramos

fbshipit-source-id: f98515234da3b90ee3233523bcd7cc67ed82c1b4
  • Loading branch information...
dryganets authored and facebook-github-bot committed Jan 12, 2018
1 parent e16d673 commit c8e98bbaf58b7a7f866e831982355b78dfa43b9d
@@ -115,7 +115,7 @@ prebuilt_jar(
export_file(
name = "robolectric-android-all-binary-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(
@@ -133,7 +133,7 @@ prebuilt_jar(
export_file(
name = "json-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(
@@ -151,7 +151,7 @@ prebuilt_jar(
export_file(
name = "tagsoup-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(
@@ -169,7 +169,7 @@ prebuilt_jar(
export_file(
name = "robolectric-shadows-binary-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(
@@ -2,8 +2,7 @@
# Building is not supported in OSS right now
def rn_xplat_cxx_library(name, **kwargs):
cxx_library(name = name)
cxx_library(name, **kwargs)
# Helper for referring to an Android RN target
def react_native_target(path):
return '//ReactAndroid/src/main/' + path
@@ -1,4 +1,6 @@
fb_xplat_cxx_library(
include_defs("//ReactCommon/DEFS")
rn_xplat_cxx_library(
name = "yoga",
srcs = glob(["yoga/*.cpp"]),
header_namespace = "",

0 comments on commit c8e98bb

Please sign in to comment.