Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Issue 2168143003: Adding SwiftShader to the DEPS file (Closed)

Created:
4 years, 5 months ago by sugoi1
Modified:
4 years, 4 months ago
CC:
chromium-reviews, Shannon Woods
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding SwiftShader to the DEPS file The SwiftShader library has recently been made open source and can now be pulled with the Chromium checkout. The size of the SwiftShader library is roughly 162 Mb, currently. Note that this will eventually allow us to remove MESA, which takes approximately 66 Mb, so the net gain should be under 100Mb in total. Pulling SwiftShader along with Chromium will allow bots to build SwiftShader, perform tests with the SwiftShader library and have quick turnaround time when issues are found. This will not change the state of SwiftShader as a component in Chrome and it will not be shipped with Chrome, only downloaded as a component on demand. Also note that this cl does not enable building SwiftShader, it only allows the SwiftShader library to be pulled, to make sure that everyone agrees with this first step. BUG=630728 Committed: https://crrev.com/7d27602ad344f04dcb94ce5ead7950a0cfc1cd02 Cr-Commit-Position: refs/heads/master@{#410359}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added license check exception for swiftshader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M DEPS View 3 chunks +8 lines, -0 lines 0 comments Download
M tools/checklicenses/checklicenses.py View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (24 generated)
sugoi1
@kbr: Please add anyone who should be approving this cl. I'm not certain who approves ...
4 years, 5 months ago (2016-07-22 17:18:15 UTC) #3
Ken Russell (switch to Gerrit)
A few things: - Please file a bug and reference it, and include the background ...
4 years, 5 months ago (2016-07-22 18:37:43 UTC) #5
jam
I just fetched this. More than half the size is for llvm and powervr sdk. ...
4 years, 5 months ago (2016-07-22 20:47:59 UTC) #8
sugoi1
I think llvm accounts for about 90Mb of the 162Mb, and PowerVR SDK is about ...
4 years, 5 months ago (2016-07-22 21:13:30 UTC) #9
Ken Russell (switch to Gerrit)
On 2016/07/22 21:13:30, sugoi1 wrote: > On 2016/07/22 20:47:59, jam wrote: > > I just ...
4 years, 5 months ago (2016-07-22 22:51:20 UTC) #10
jam
ok, i defer to you guys. rubberstamp lgtm
4 years, 5 months ago (2016-07-23 00:04:34 UTC) #11
tandrii(chromium)
https://codereview.chromium.org/2168143003/diff/1/DEPS File DEPS (right): https://codereview.chromium.org/2168143003/diff/1/DEPS#newcode109 DEPS:109: 'swiftshader.googlesource.com', Infrastructure needs to deploy credentials for this host. ...
4 years, 4 months ago (2016-07-26 11:20:18 UTC) #12
sugoi
Adding phajdan for the small checklicenses.py change.
4 years, 4 months ago (2016-08-06 03:02:46 UTC) #28
Paweł Hajdan Jr.
LGTM
4 years, 4 months ago (2016-08-08 08:01:58 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168143003/20001
4 years, 4 months ago (2016-08-08 14:10:27 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-08 15:13:04 UTC) #34
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7d27602ad344f04dcb94ce5ead7950a0cfc1cd02 Cr-Commit-Position: refs/heads/master@{#410359}
4 years, 4 months ago (2016-08-08 15:15:07 UTC) #36
stevenjb
On 2016/08/08 15:15:07, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 4 months ago (2016-08-08 19:18:05 UTC) #37
sadrul
On 2016/08/08 15:15:07, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 4 months ago (2016-08-08 19:26:17 UTC) #38
stevenjb
On 2016/08/08 19:18:05, stevenjb wrote: > On 2016/08/08 15:15:07, commit-bot: I haz the power wrote: ...
4 years, 4 months ago (2016-08-08 19:35:52 UTC) #39
stevenjb
On 2016/08/08 19:35:52, stevenjb wrote: > On 2016/08/08 19:18:05, stevenjb wrote: > > On 2016/08/08 ...
4 years, 4 months ago (2016-08-08 19:36:27 UTC) #40
stevenjb
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2224093002/ by stevenjb@chromium.org. ...
4 years, 4 months ago (2016-08-08 19:37:51 UTC) #41
capn
4 years, 4 months ago (2016-08-08 20:19:54 UTC) #42
Message was sent while issue was closed.
On 2016/08/08 19:37:51, stevenjb wrote:
> A revert of this CL (patchset #2 id:20001) has been created in
> https://codereview.chromium.org/2224093002/ by mailto:stevenjb@chromium.org.
> 
> The reason for reverting is: Failures on chrome os and elsewhere. Example
Chrome
> OS failure:
> 
>
https://uberchromegw.corp.google.com/i/chromeos.chrome/builders/veyron_minnie...
> 
> Linux failure:
>
https://build.chromium.org/p/chromium.linux/builders/Blimp%20Linux%20%28dbg%2...
> .

Thanks for catching that and quickly resolving it.

This CL was just adding new source files (no new targets yet), which nothing was
supposed to depend on.
Fixing the ozone build seems like the wrong action since it shouldn't be using
those headers in the first place.
Instead I think the root of the failures is this:
https://cs.chromium.org/chromium/src/ui/gl/init/BUILD.gn?rcl=0&l=21
That include directory didn't exist any longer, but gets added again with our
DEPS change.

I'll have that line from the BUILD file removed, then try landing this again.

Powered by Google App Engine
This is Rietveld 408576698