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

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed)

Created:
6 years, 2 months ago by DaveMoore
Modified:
6 years, 2 months ago
Reviewers:
jamesr, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Prevent static mojo builds from pulling //ui/gl into mojo_shell BUG= Committed: https://crrev.com/608e1a19df52b2c50015ace4fccbea0a3a4173cd Cr-Commit-Position: refs/heads/master@{#297207}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Copy switches to break dependencies #

Patch Set 3 : No need to export #

Total comments: 7

Patch Set 4 : Only define kEnableHarfBuzzRenderText if used #

Patch Set 5 : Share kEnableGPUClientLogging #

Total comments: 6

Patch Set 6 : Forgot to remove an extra define in gn #

Total comments: 8

Patch Set 7 : Address James' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -7 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/BUILD.gn View 1 5 6 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A gpu/command_buffer/client/gpu_switches.h View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
A gpu/command_buffer/client/gpu_switches.cc View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M gpu/gpu_common.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/shell/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/desktop/mojo_main.cc View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M ui/gl/gl_switches.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_switches.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 27 (3 generated)
DaveMoore
6 years, 2 months ago (2014-09-25 19:46:50 UTC) #2
jamesr
Almost but not quite. https://codereview.chromium.org/603273003/diff/1/gpu/command_buffer/client/BUILD.gn File gpu/command_buffer/client/BUILD.gn (left): https://codereview.chromium.org/603273003/diff/1/gpu/command_buffer/client/BUILD.gn#oldcode126 gpu/command_buffer/client/BUILD.gn:126: "//ui/gl", this isn't quite correct ...
6 years, 2 months ago (2014-09-25 20:09:44 UTC) #3
jamesr
https://codereview.chromium.org/603273003/diff/1/mojo/shell/BUILD.gn File mojo/shell/BUILD.gn (right): https://codereview.chromium.org/603273003/diff/1/mojo/shell/BUILD.gn#newcode14 mojo/shell/BUILD.gn:14: "//ui/gfx:switches", for this since we just use the one ...
6 years, 2 months ago (2014-09-25 20:14:07 UTC) #4
DaveMoore
Copy switches to break dependencies
6 years, 2 months ago (2014-09-26 18:15:59 UTC) #5
DaveMoore
No need to export
6 years, 2 months ago (2014-09-26 18:28:53 UTC) #6
DaveMoore
https://codereview.chromium.org/603273003/diff/1/gpu/command_buffer/client/BUILD.gn File gpu/command_buffer/client/BUILD.gn (left): https://codereview.chromium.org/603273003/diff/1/gpu/command_buffer/client/BUILD.gn#oldcode126 gpu/command_buffer/client/BUILD.gn:126: "//ui/gl", I created a new kEnableGPUServiceLoggingGPU flag in the ...
6 years, 2 months ago (2014-09-26 18:29:23 UTC) #7
jamesr
https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc File gpu/command_buffer/client/gpu_switches.cc (right): https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc#newcode11 gpu/command_buffer/client/gpu_switches.cc:11: // gl_switches.cc. It's defined here again to avoid dependencies ...
6 years, 2 months ago (2014-09-26 19:14:26 UTC) #8
DaveMoore
https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc File gpu/command_buffer/client/gpu_switches.cc (right): https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc#newcode11 gpu/command_buffer/client/gpu_switches.cc:11: // gl_switches.cc. It's defined here again to avoid dependencies ...
6 years, 2 months ago (2014-09-26 20:10:16 UTC) #9
DaveMoore
Only define kEnableHarfBuzzRenderText if used
6 years, 2 months ago (2014-09-26 20:11:53 UTC) #10
jamesr
On 2014/09/26 20:10:16, DaveMoore wrote: > https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc > File gpu/command_buffer/client/gpu_switches.cc (right): > > https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc#newcode11 > ...
6 years, 2 months ago (2014-09-26 20:16:00 UTC) #11
DaveMoore
Share kEnableGPUClientLogging
6 years, 2 months ago (2014-09-26 22:29:54 UTC) #12
DaveMoore
https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc File gpu/command_buffer/client/gpu_switches.cc (right): https://codereview.chromium.org/603273003/diff/40001/gpu/command_buffer/client/gpu_switches.cc#newcode11 gpu/command_buffer/client/gpu_switches.cc:11: // gl_switches.cc. It's defined here again to avoid dependencies ...
6 years, 2 months ago (2014-09-26 22:31:08 UTC) #13
jamesr
https://codereview.chromium.org/603273003/diff/80001/gpu/command_buffer/client/BUILD.gn File gpu/command_buffer/client/BUILD.gn (right): https://codereview.chromium.org/603273003/diff/80001/gpu/command_buffer/client/BUILD.gn#newcode114 gpu/command_buffer/client/BUILD.gn:114: defines = ["GLES2_IMPL_IMPLEMENTATION", "GPU_IMPLEMENTATION" ] this is not GPU_IMPLEMENTATION, ...
6 years, 2 months ago (2014-09-26 22:46:19 UTC) #14
jamesr
I don't think the build stuff in gpu/.. is set up correctly. https://codereview.chromium.org/603273003/diff/80001/gpu/command_buffer/client/gpu_switches.h File gpu/command_buffer/client/gpu_switches.h ...
6 years, 2 months ago (2014-09-26 22:49:20 UTC) #15
DaveMoore
Forgot to remove an extra define in gn
6 years, 2 months ago (2014-09-26 22:51:18 UTC) #16
DaveMoore
https://codereview.chromium.org/603273003/diff/80001/gpu/command_buffer/client/BUILD.gn File gpu/command_buffer/client/BUILD.gn (right): https://codereview.chromium.org/603273003/diff/80001/gpu/command_buffer/client/BUILD.gn#newcode114 gpu/command_buffer/client/BUILD.gn:114: defines = ["GLES2_IMPL_IMPLEMENTATION", "GPU_IMPLEMENTATION" ] Urp. I realized that ...
6 years, 2 months ago (2014-09-26 22:52:07 UTC) #17
jamesr
still not lgtm. Could you let me know when you think you've addressed comments so ...
6 years, 2 months ago (2014-09-27 23:29:40 UTC) #18
DaveMoore
Address James' commentsa
6 years, 2 months ago (2014-09-28 02:45:11 UTC) #19
DaveMoore
I missed your second set of comments while fixing the first, and didn't notice that ...
6 years, 2 months ago (2014-09-28 05:05:29 UTC) #20
jamesr
thanks, lgtm +piman for ui/gl/ and gpu/ OWNERS
6 years, 2 months ago (2014-09-28 19:09:48 UTC) #22
piman
LGTM, thanks for the cleanup!
6 years, 2 months ago (2014-09-29 14:09:11 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/603273003/120001
6 years, 2 months ago (2014-09-29 15:47:54 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 2e37eab900670c1ca1a5300060fa93ae8f39bf18
6 years, 2 months ago (2014-09-29 18:13:38 UTC) #26
commit-bot: I haz the power
6 years, 2 months ago (2014-09-29 18:14:34 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/608e1a19df52b2c50015ace4fccbea0a3a4173cd
Cr-Commit-Position: refs/heads/master@{#297207}

Powered by Google App Engine
This is Rietveld 408576698