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

Issue 2027373002: media: Mark Widevine CDM and manifest as data_deps of the adapter (Closed)

Created:
4 years, 6 months ago by xhwang
Modified:
4 years, 6 months ago
Reviewers:
Dirk Pranke, Nico, ddorwin
CC:
chromium-reviews, eme-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Mark Widevine CDM and manifest as data_deps of the adapter The CDM is needed by the adapter at link time and at run time. The manifest.json file is only required at run time. To make it always available at run time (e.g. for isolated tests), we should mark them as data_deps. Note that shared libraries are automatically treated as runtime_deps. Therefore, we don't need to do this for clearkeycdm. There are two cases that's worth noting but I am not treating them separately for the sake of simplicity: 1. In theory, we don't need this for the stub CDM because it's also a shared library. 2. On Windows, this will list widevinecdm.dll.lib as runtime_deps which isn't necessary. BUG=614745 TEST=This should fix isolated browser_tests on official GN bots. Committed: https://crrev.com/0f82503faa7ebe8efa43903908fda396ea8f40b9 Cr-Commit-Position: refs/heads/master@{#397324}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M third_party/widevine/cdm/BUILD.gn View 1 chunk +4 lines, -1 line 3 comments Download

Messages

Total messages: 17 (4 generated)
xhwang
With this CL gn desc out/GN //chrome/test:browser_tests runtime_deps shows On Windows: ClearKeyCdm/_platform_specific/win_x64/clearkeycdmadapter.dll ClearKeyCdm/_platform_specific/win_x64/clearkeycdm.dll WidevineCdm/_platform_specific/win_x64/widevinecdmadapter.dll WidevineCdm/manifest.json ...
4 years, 6 months ago (2016-06-01 19:39:18 UTC) #1
xhwang
PTAL
4 years, 6 months ago (2016-06-01 19:40:30 UTC) #3
Nico
Looks good to me, but I'm always confused by data_deps, so +dpranke :-) I assume ...
4 years, 6 months ago (2016-06-01 19:43:34 UTC) #5
xhwang
On 2016/06/01 19:43:34, Nico wrote: > Looks good to me, but I'm always confused by ...
4 years, 6 months ago (2016-06-01 19:48:35 UTC) #6
xhwang
On 2016/06/01 19:48:35, xhwang wrote: > On 2016/06/01 19:43:34, Nico wrote: > > Looks good ...
4 years, 6 months ago (2016-06-01 19:53:37 UTC) #7
ddorwin
rs LGMT https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn File third_party/widevine/cdm/BUILD.gn (right): https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn#newcode151 third_party/widevine/cdm/BUILD.gn:151: ":widevinecdm", deps doesn't imply data_deps?
4 years, 6 months ago (2016-06-01 20:16:43 UTC) #8
ddorwin
rs LGTM
4 years, 6 months ago (2016-06-01 20:17:44 UTC) #9
xhwang
https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn File third_party/widevine/cdm/BUILD.gn (right): https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn#newcode151 third_party/widevine/cdm/BUILD.gn:151: ":widevinecdm", On 2016/06/01 20:16:43, ddorwin wrote: > deps doesn't ...
4 years, 6 months ago (2016-06-01 20:24:12 UTC) #10
Dirk Pranke
lgtm. https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn File third_party/widevine/cdm/BUILD.gn (right): https://chromiumcodereview.appspot.com/2027373002/diff/1/third_party/widevine/cdm/BUILD.gn#newcode151 third_party/widevine/cdm/BUILD.gn:151: ":widevinecdm", On 2016/06/01 20:24:12, xhwang wrote: > On ...
4 years, 6 months ago (2016-06-01 21:33:16 UTC) #11
xhwang
okay, I confirmed that the isotated test fails on Windows GN build without this CL, ...
4 years, 6 months ago (2016-06-02 05:44:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2027373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2027373002/1
4 years, 6 months ago (2016-06-02 05:45:56 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-02 07:02:32 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 07:04:10 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0f82503faa7ebe8efa43903908fda396ea8f40b9
Cr-Commit-Position: refs/heads/master@{#397324}

Powered by Google App Engine
This is Rietveld 408576698