-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI for Android fixed #17551
CI for Android fixed #17551
Conversation
@facebook-github-bot label Needs more information Generated by 🚫 dangerJS |
ee59a51
to
0c10ee5
Compare
I rolled back to the commit where iOS tv worked to make all unit tests pass. |
Thanks for fixing this. It was reverted internally due to a misunderstanding because usually Yoga wouldn't need these DEFS. Let's land this for now as it fixes OSS CI until a better long term fix can be implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
2487aa7
to
30934d6
Compare
fb_xplat_cxx_library( | ||
include_defs("//ReactCommon/DEFS") | ||
|
||
rn_xplat_cxx_library( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why rn_
and not fb_
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fb is not defined in common. By some reason, all modules in common use this function instead.
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this change for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**kwargs have a visibility property.
In previous implementation we used to strip it, so modules which are using yoga can't find it as it is private.
30934d6
to
5b98d9e
Compare
There is one more android fail: File does not exist: buck-out/gen/ReactAndroid/src/main/third-party/java/robolectric3/robolectric/android-all-4.1.2_r1-robolectric-0.jar |
All robolectric dependencies by some reason are spread across set of binary-jar directories. I guess it is a result of the BUCK tool update. |
f5a8c8d
to
04fe203
Compare
@hramos this time it should build for Android. |
yey! |
This is a commit which broke tvTests: |
I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This PR is related and could be closed now: |
Fix for android github CI.
Motivation
Github CI doesn't work without this change.
Test Plan
CI passes.
Release Notes
[INTERNAL] Android CI fix.