|
|
Created:
6 years, 3 months ago by Jamie Madill Modified:
6 years, 3 months ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Project:
chromium Visibility:
Public. |
DescriptionFix gpu_unittests.isolate dependencies.
The gpu_unittests don't use any ANGLE or native graphics API
logic. Thus the isolate shouldn't include any dependency on things
it doesn't use or build. This should clear up runtime errors on the
bots involving gpu_unittests_run and libGLESv2.dll.
BUG=415981
Committed: https://crrev.com/0a2788afa23b82c428cd2bf00b06d5b510436fef
Cr-Commit-Position: refs/heads/master@{#296233}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 16 (5 generated)
jmadill@chromium.org changed reviewers: + csharp@chromium.org, kbr@chromium.org
PTAL
kbr@chromium.org changed reviewers: + bajones@chromium.org, zmo@chromium.org
https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate File chrome/gpu_unittests.isolate (right): https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate... chrome/gpu_unittests.isolate:6: '../base/base.isolate', The gpu_unittests target in src/gpu/gpu.gyp currently depends on '<(angle_path)/src/build_angle.gyp:translator'. Is this dependency unnecessary? If so, let's remove it now.
On 2014/09/23 15:58:18, Ken Russell wrote: > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate > File chrome/gpu_unittests.isolate (right): > > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate... > chrome/gpu_unittests.isolate:6: '../base/base.isolate', > The gpu_unittests target in src/gpu/gpu.gyp currently depends on > '<(angle_path)/src/build_angle.gyp:translator'. Is this dependency unnecessary? > If so, let's remove it now. Hm... I don't think it's unnecessary. And possibly in the component build we'd need to package the translator DLL (I had only tested with Release/non component). Let me check with the component build.. I have a feeling you found a bug in my CL here.
On 2014/09/23 16:02:28, Jamie Madill wrote: > On 2014/09/23 15:58:18, Ken Russell wrote: > > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate > > File chrome/gpu_unittests.isolate (right): > > > > > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate... > > chrome/gpu_unittests.isolate:6: '../base/base.isolate', > > The gpu_unittests target in src/gpu/gpu.gyp currently depends on > > '<(angle_path)/src/build_angle.gyp:translator'. Is this dependency > unnecessary? > > If so, let's remove it now. > > Hm... I don't think it's unnecessary. And possibly in the component build we'd > need to package the translator DLL (I had only tested with Release/non > component). Let me check with the component build.. I have a feeling you found a > bug in my CL here. I think when using isolates with the component build, the isolate driver implicitly picks up the references by scanning through the Ninja files. I note that we don't explicitly include the translator in any of the isolates -- probably because of this reason. Your CL may well be 100% correct. I'd personally like to understand whether the translator is actually used by gpu_unittests. Regardless, this LGTM if it works.
On 2014/09/23 16:08:07, Ken Russell wrote: > On 2014/09/23 16:02:28, Jamie Madill wrote: > > On 2014/09/23 15:58:18, Ken Russell wrote: > > > > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate > > > File chrome/gpu_unittests.isolate (right): > > > > > > > > > https://codereview.chromium.org/594203003/diff/1/chrome/gpu_unittests.isolate... > > > chrome/gpu_unittests.isolate:6: '../base/base.isolate', > > > The gpu_unittests target in src/gpu/gpu.gyp currently depends on > > > '<(angle_path)/src/build_angle.gyp:translator'. Is this dependency > > unnecessary? > > > If so, let's remove it now. > > > > Hm... I don't think it's unnecessary. And possibly in the component build we'd > > need to package the translator DLL (I had only tested with Release/non > > component). Let me check with the component build.. I have a feeling you found > a > > bug in my CL here. > > I think when using isolates with the component build, the isolate driver > implicitly picks up the references by scanning through the Ninja files. I note > that we don't explicitly include the translator in any of the isolates -- > probably because of this reason. > > Your CL may well be 100% correct. I'd personally like to understand whether the > translator is actually used by gpu_unittests. Regardless, this LGTM if it works. Yes, IIRC we broke gpu_unittests once in ANGLE ToT because of a shader translator change. The translator doesn't call through to any OS graphics API calls and there is a test in the gpu_unittests which tests the shader translator. I checked and you were right, the translator.dll was packaged automatically. Seems to work.
OK. Please CQ when ready, and let's re-enable this test on the GPU bots.
On 2014/09/23 16:51:09, Ken Russell wrote: > OK. Please CQ when ready, and let's re-enable this test on the GPU bots. Just need LGTM from csharp.. I think he's an owner of this particular file.
The CQ bit was checked by csharp@chromium.org
lgtm
The CQ bit was unchecked by jmadill@chromium.org
The CQ bit was checked by jmadill@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594203003/1
Message was sent while issue was closed.
Committed patchset #1 (id:1) as bf6ca4ff4a85dd025040d92dbf1cc4a0716720f3
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/0a2788afa23b82c428cd2bf00b06d5b510436fef Cr-Commit-Position: refs/heads/master@{#296233} |