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

Issue 1968833002: media: Make media mojo services a component (Closed)

Created:
4 years, 7 months ago by xhwang
Modified:
4 years, 7 months ago
Reviewers:
watk, brettw, jam, ddorwin
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, Aaron Boodman, Peter Beverloo, lcwu+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, halliwell+watch_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, ben+mojo_chromium.org, darin (slow to review), jochen+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Make media mojo services a component Previously media mojo services are in multiple small source_sets. This was okay when they are only depended by one target (i.e. content). But now we have multiple targets depending on them. For example, content and media/gpu both depend on cdm_services. This causes duplicate definition of some global veriables, e.g. g_cdm_manager in mojo_cdm_service.cc. TBR=jam@chromium.org BUG=610904 TEST=EME playback works. Committed: https://crrev.com/d3b5d3f46840aba12d0788a14f14be9739712284 Cr-Commit-Position: refs/heads/master@{#394323}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : gn tweak #

Total comments: 1

Patch Set 4 : fix gn style #

Total comments: 36

Patch Set 5 : comments addressed #

Patch Set 6 : rebase only #

Patch Set 7 : fix windows error #

Patch Set 8 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -112 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chromecast/browser/media/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/BUILD.gn View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M content/gpu/gpu_process_control_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/shell/BUILD.gn View 1 2 5 2 chunks +1 line, -2 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/utility/BUILD.gn View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M content/utility/utility_process_control_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/gpu/BUILD.gn View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M media/mojo/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 3 4 3 chunks +30 lines, -88 lines 0 comments Download
A media/mojo/services/media_mojo_export.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_cdm_allocator.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_cdm_service.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_media_application.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M media/mojo/services/mojo_media_application_factory.h View 1 chunk +3 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_media_client.h View 2 chunks +2 lines, -1 line 0 comments Download
M media/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968833002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968833002/60001
4 years, 7 months ago (2016-05-11 07:11:50 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 08:18:08 UTC) #5
xhwang
ddorwin/jam: PTAL
4 years, 7 months ago (2016-05-11 16:20:44 UTC) #7
watk
https://chromiumcodereview.appspot.com/1968833002/diff/60001/media/mojo/services/BUILD.gn File media/mojo/services/BUILD.gn (right): https://chromiumcodereview.appspot.com/1968833002/diff/60001/media/mojo/services/BUILD.gn#newcode51 media/mojo/services/BUILD.gn:51: deps = [ Drive by :) gn style guide ...
4 years, 7 months ago (2016-05-11 17:28:18 UTC) #9
jam
which files do you want me to review?
4 years, 7 months ago (2016-05-11 20:36:26 UTC) #10
xhwang
On 2016/05/11 20:36:26, jam wrote: > which files do you want me to review? I ...
4 years, 7 months ago (2016-05-11 20:46:01 UTC) #11
ddorwin
I can't speak to whether this is a good idea, but I reviewed the changes. ...
4 years, 7 months ago (2016-05-11 23:02:28 UTC) #12
xhwang
s/jam/brettw since this change is mainly about gn refactoring. brettw: Could you review this CL ...
4 years, 7 months ago (2016-05-12 06:32:25 UTC) #14
xhwang
brettw: kindly ping :)
4 years, 7 months ago (2016-05-13 18:02:21 UTC) #15
brettw
"gn check" isn't yet enabled in chrome/browser which is why it was working before. From ...
4 years, 7 months ago (2016-05-13 21:12:42 UTC) #16
xhwang
comments addressed
4 years, 7 months ago (2016-05-16 05:39:52 UTC) #17
xhwang
Addressed two trivial comments. Mostly replies for discussion. PTAL again. https://chromiumcodereview.appspot.com/1968833002/diff/80001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/1968833002/diff/80001/chrome/browser/chrome_content_browser_client.cc#newcode313 ...
4 years, 7 months ago (2016-05-16 05:41:21 UTC) #18
ddorwin
lgtm Thanks.
4 years, 7 months ago (2016-05-16 21:23:38 UTC) #19
xhwang
rebase only
4 years, 7 months ago (2016-05-17 04:58:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968833002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968833002/120001
4 years, 7 months ago (2016-05-17 05:02:11 UTC) #23
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/184277)
4 years, 7 months ago (2016-05-17 05:08:40 UTC) #25
xhwang
TBRing jam@ for trivial changes in content/. jam@: Feel free to review the changes. Otherwise ...
4 years, 7 months ago (2016-05-17 16:09:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968833002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968833002/140001
4 years, 7 months ago (2016-05-17 18:41:01 UTC) #31
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/184643)
4 years, 7 months ago (2016-05-17 18:50:02 UTC) #33
xhwang
rebase only
4 years, 7 months ago (2016-05-17 19:15:53 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968833002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968833002/160001
4 years, 7 months ago (2016-05-18 00:32:54 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 7 months ago (2016-05-18 03:38:13 UTC) #39
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 03:39:21 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d3b5d3f46840aba12d0788a14f14be9739712284
Cr-Commit-Position: refs/heads/master@{#394323}

Powered by Google App Engine
This is Rietveld 408576698