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

Issue 2737513004: Fix media_mojo builds (Closed)

Created:
3 years, 9 months ago by jrummell
Modified:
3 years, 5 months ago
Reviewers:
xhwang
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, alokp+watch_chromium.org, darin (slow to review), Aaron Boodman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix media_mojo builds Previously media/mojo/sevices:lib was done as a source_set due to issue 670094. Now that that issue is fixed, the intermediate "lib" target is no longer needed. Removing the suppression of duplicate symbols revealed that some of the CdmPromiseTemplate methods end up in multiple modules when doing a component build. So fix CdmPromiseTemplate<>::GetResolveParameterType() implementation to avoid this. This also enables //media/mojo/services/media_service_unittests on Windows (which was disabled due to linking issues that are now fixed). BUG=676418, 676055, 656706 TEST=media_mojo tests compile and run Review-Url: https://codereview.chromium.org/2737513004 Cr-Commit-Position: refs/heads/master@{#486472} Committed: https://chromium.googlesource.com/chromium/src/+/6e462aab03239f5ddfcec2adc598e5d775fb70e2

Patch Set 1 #

Total comments: 3

Patch Set 2 : another attempt #

Total comments: 4

Patch Set 3 : rebase for KeyStatus promise #

Patch Set 4 : compile errors (not Windows) #

Patch Set 5 : rebase++ #

Total comments: 2

Patch Set 6 : add export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -85 lines) Patch
M media/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M media/base/cdm_callback_promise.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/cdm_promise.h View 1 2 3 4 5 5 chunks +31 lines, -18 lines 0 comments Download
M media/base/cdm_promise.cc View 1 2 3 1 chunk +33 lines, -2 lines 0 comments Download
M media/cdm/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/BUILD.gn View 1 2 3 4 2 chunks +1 line, -9 lines 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 3 4 3 chunks +25 lines, -45 lines 0 comments Download
M media/remoting/proto_utils.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (28 generated)
jrummell
PTAL. The problem is that //media/mojo/services:lib is a source_set, and so everybody needs to use ...
3 years, 9 months ago (2017-03-07 21:26:58 UTC) #6
xhwang
Thanks! Just a few comments. https://codereview.chromium.org/2737513004/diff/1/media/base/cdm_promise.cc File media/base/cdm_promise.cc (right): https://codereview.chromium.org/2737513004/diff/1/media/base/cdm_promise.cc#newcode20 media/base/cdm_promise.cc:20: CdmPromise::STRING_TYPE; Does this also ...
3 years, 9 months ago (2017-03-08 00:35:18 UTC) #7
xhwang
Kindly ping on this CL, which we still need to fix the bug. Thanks!
3 years, 8 months ago (2017-04-19 06:26:19 UTC) #8
xhwang
Please make sure you test with component build on windows with is_clang being true AND ...
3 years, 5 months ago (2017-07-11 21:16:38 UTC) #11
jrummell
Looks like this finally fixes all the link errors. PTAL. https://codereview.chromium.org/2737513004/diff/20001/media/base/cdm_promise.h File media/base/cdm_promise.h (right): https://codereview.chromium.org/2737513004/diff/20001/media/base/cdm_promise.h#newcode15 ...
3 years, 5 months ago (2017-07-12 20:57:10 UTC) #27
xhwang
lgtm https://codereview.chromium.org/2737513004/diff/80001/media/base/cdm_promise.h File media/base/cdm_promise.h (right): https://codereview.chromium.org/2737513004/diff/80001/media/base/cdm_promise.h#newcode93 media/base/cdm_promise.h:93: struct CdmPromiseTraits<CdmKeyInformation::KeyStatus> { export?
3 years, 5 months ago (2017-07-12 22:21:07 UTC) #28
jrummell
Thanks for the reviews. https://codereview.chromium.org/2737513004/diff/80001/media/base/cdm_promise.h File media/base/cdm_promise.h (right): https://codereview.chromium.org/2737513004/diff/80001/media/base/cdm_promise.h#newcode93 media/base/cdm_promise.h:93: struct CdmPromiseTraits<CdmKeyInformation::KeyStatus> { On 2017/07/12 ...
3 years, 5 months ago (2017-07-13 00:06:39 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/2737513004/100001
3 years, 5 months ago (2017-07-13 00:07:08 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/487959)
3 years, 5 months ago (2017-07-13 04:31:51 UTC) #34
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/2737513004/100001
3 years, 5 months ago (2017-07-13 20:41:29 UTC) #36
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 20:50:08 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/6e462aab03239f5ddfcec2adc598...

Powered by Google App Engine
This is Rietveld 408576698