-
Notifications
You must be signed in to change notification settings - Fork 164
Upgrade to Chromium 59 #313
Conversation
| // We might have been waiting for both beforeunload and unload ACK. | ||
| // Check if tab is to be unloaded first. | ||
| if (rfhi->IsWaitingForUnloadACK()) { | ||
| +#if 0 |
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.
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.
We cannot keep this patch as it is, it's not longer applicable.
The code around have been significantly changed by the Chromium team, see https://crbug.com/418266 and the related CLs.
I would appreciate some help with fixing this patch. @kevinsawicki, maybe you can take a look?
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.
It seems that the patch has stopped working long time ago: electron/electron#6146, I think we can leave it be now and look into it in future.
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.
Ok, cool.
|
There is a problem with Windows build. To be more precise with the gclient.
@kevinsawicki, since you are the person who added gclient in #309, |
Taking a look now |
|
@alexeykuzmin Windows builds should be compiling now, there was an issue with the I also updated the |
|
@kevinsawicki, I see "Permission denied" errors at the very end of win builds now: http://208.52.191.140:8080/job/libcc-win-ia32/155/console |
Weird, I've seen this once before but it seemed to pass the next time the build ran, don't see anything very helpful in the google results for it. |
| struct LatencyComponent { | ||
| // Nondecreasing number that can be used to determine what events happened | ||
| diff --git a/ui/latency/ui_latency_export.h b/ui/latency/ui_latency_export.h | ||
| new file mode 100644 |
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.
The problem with this approach is that the patch will be successfully applied only for the first time. If you run ./script/update once more, ui_latency_export.h will already be present from the first run and git apply will fail.
|
The only problem left in static_library build on Windows is: The latest changes in Chromium related to |
|
@alexeykuzmin Have you tried changing |
ec6f131 to
469242c
Compare
@zcbenz It looks like it helped. Thanks! |
|
Links to all the builds lead to 404 error pages. Is it ok? |
|
@alexeykuzmin I'm not sure what happened, those links work fine on my side, the CI is failing for failing to apply patches: I'll reset the workspace and restart the build. |
|
And there are lots of warnings because of lines like this, which has a trailing space after |
I'm pretty sure it's caused by line-endings in a patch file being converted to "CRLF" on checkout. Do we set |
I have also seen those warnings on my Windows machine, but they seem to be harmless. @kevinsawicki, trailing space should be there, right? For example you have added some here: 6a905a1. |
For example libcc-win-ia32 leads to http://208.52.191.140:8080/job/libcc-win-ia32/166/ and the response is: |
Yeah, these are just |
@kevinsawicki @zcbenz |
|
libchromiumcontent-osx build:
It looks like the workspace was not cleared before the build and "ui/latency/ui_latency_export.h" was left in the Chromium tree from the previous build. Maybe it would make sense to remove all untracked files before applying patches? |
d3c6dcb to
d6dd947
Compare
|
@kevinsawicki It seems that we have to upgrade our CI machine to newer Linux distributions now. Currently cross compilation is broken because the clang binary now links the targets with libstdc++ that is newer than the one installed on our CI machines, so indeterminate executables (like mksnapshot) are no longer able to run on the CI machines, resulting in build failures. I have tried to revert to an old version of clang that works, but the build can not pass even with some hacks (9296aa9, 043faa2, d6dd947), some build configurations are assuming the version of clang. Another choice is to build with gcc instead of clang, but I don't think we should do it. |
deed77b to
67ba62e
Compare
|
@alexeykuzmin I pushed a few commits trying to fix the patching, I don't know whether it works though because the Windows CI is down for now. |
763d8a8 to
349396d
Compare
|
@alexeykuzmin builds are on their way |
This pr is created as a replacement for the #311.
/cc @tonyganch @kevinsawicki @zcbenz