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 1002073002: Split cc/base into separate GN source_set and clean deps (Closed)

Created:
5 years, 9 months ago by jamesr
Modified:
5 years, 9 months ago
Reviewers:
danakj, no sievers
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, Ian Vollick, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, jdduke+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split cc/base into separate GN source_set and clean deps //cc/base is intended to be a set of low level utilities used by the rest of cc (and consumers of cc) and as such shouldn't contain dependencies on other parts of //cc. This splits the //cc/base files into a separate GN source_set so 'gn check' can examine dependencies and moves a few types that have dependencies on other types out: swap_promise is conceptually about swapping frames, so it goes into cc/output *swap_promise_monitor is dealing with swaps on trees, so it goes in cc/trees R=danakj@chromium.org Committed: https://crrev.com/f313a215a789688cff2d56cef89c60e2de416220 Cr-Commit-Position: refs/heads/master@{#320796}

Patch Set 1 #

Total comments: 1

Patch Set 2 : move GN definition of //cc/base files into /cc/base/BUILD.gn #

Total comments: 1

Patch Set 3 : DEPS #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -456 lines) Patch
M cc/BUILD.gn View 1 2 3 6 chunks +8 lines, -33 lines 0 comments Download
A cc/base/BUILD.gn View 1 1 chunk +51 lines, -0 lines 0 comments Download
A cc/base/DEPS View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
D cc/base/latency_info_swap_promise.h View 1 chunk +0 lines, -30 lines 0 comments Download
D cc/base/latency_info_swap_promise.cc View 1 chunk +0 lines, -52 lines 0 comments Download
D cc/base/latency_info_swap_promise_monitor.h View 1 chunk +0 lines, -37 lines 0 comments Download
D cc/base/latency_info_swap_promise_monitor.cc View 1 chunk +0 lines, -99 lines 0 comments Download
D cc/base/swap_promise.h View 1 chunk +0 lines, -53 lines 0 comments Download
D cc/base/swap_promise_monitor.h View 1 chunk +0 lines, -45 lines 0 comments Download
D cc/base/swap_promise_monitor.cc View 1 chunk +0 lines, -31 lines 0 comments Download
M cc/cc.gyp View 1 2 3 6 chunks +7 lines, -7 lines 0 comments Download
M cc/input/input_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/surface_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
A + cc/output/latency_info_swap_promise.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + cc/output/latency_info_swap_promise.cc View 2 chunks +16 lines, -16 lines 0 comments Download
A + cc/output/swap_promise.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + cc/trees/latency_info_swap_promise_monitor.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + cc/trees/latency_info_swap_promise_monitor.cc View 6 chunks +13 lines, -15 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/scoped_abort_remaining_swap_promises.h View 1 chunk +1 line, -1 line 0 comments Download
A + cc/trees/swap_promise_monitor.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + cc/trees/swap_promise_monitor.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/thread_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/gpu/frame_swap_message_queue.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/queue_message_swap_promise.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/queue_message_swap_promise_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_proxy_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (6 generated)
jamesr
https://codereview.chromium.org/1002073002/diff/1/cc/trees/swap_promise_monitor.h File cc/trees/swap_promise_monitor.h (right): https://codereview.chromium.org/1002073002/diff/1/cc/trees/swap_promise_monitor.h#newcode30 cc/trees/swap_promise_monitor.h:30: SwapPromiseMonitor(LayerTreeHost* layer_tree_host, Dana - you mentioned in IRC that ...
5 years, 9 months ago (2015-03-12 22:41:23 UTC) #1
jamesr
sievers@ - once Dana's happy with this patch could you approve for content/ owners? It's ...
5 years, 9 months ago (2015-03-12 22:47:37 UTC) #3
no sievers
content lgtm
5 years, 9 months ago (2015-03-13 00:41:55 UTC) #4
danakj
I think this makes good sense. LGTM except.. https://codereview.chromium.org/1002073002/diff/20001/cc/cc.gyp File cc/cc.gyp (right): https://codereview.chromium.org/1002073002/diff/20001/cc/cc.gyp#newcode67 cc/cc.gyp:67: 'base/completion_event.h', ...
5 years, 9 months ago (2015-03-13 17:30:50 UTC) #5
jamesr
It's not possible to split a component into chunks in GYP since GYP doesn't have ...
5 years, 9 months ago (2015-03-13 18:02:21 UTC) #6
danakj
On Fri, Mar 13, 2015 at 11:02 AM, <jamesr@chromium.org> wrote: > It's not possible to ...
5 years, 9 months ago (2015-03-13 20:00:47 UTC) #7
jamesr
On 2015/03/13 20:00:47, danakj wrote: > Hmm.. can we use DEPS to keep people who ...
5 years, 9 months ago (2015-03-16 18:11:25 UTC) #8
jamesr
PTAL
5 years, 9 months ago (2015-03-16 18:26:04 UTC) #9
danakj
LGTM
5 years, 9 months ago (2015-03-16 18:27:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002073002/40001
5 years, 9 months ago (2015-03-16 19:31:18 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/49991)
5 years, 9 months ago (2015-03-16 19:53:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002073002/60001
5 years, 9 months ago (2015-03-16 20:11:16 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-16 21:28:05 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-16 21:28:44 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f313a215a789688cff2d56cef89c60e2de416220
Cr-Commit-Position: refs/heads/master@{#320796}

Powered by Google App Engine
This is Rietveld 408576698