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

Issue 2117343005: Fix build of Widevine CDM stub on Mac (Closed)

Created:
4 years, 5 months ago by wdzierzanowski
Modified:
4 years, 5 months ago
Reviewers:
xhwang, 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

Fix build of Widevine CDM stub on Mac The combination of 'branding=Chromium' and 'enable_widevine=1' causes 'widevinecdm' to be a 'shared_library' build of the CDM stub. Additionally combined with 'mac_strip_release=1', this triggers 'strip_save_dsym', which fails, because it doesn't support 'product_dir'. This fix does to 'widevinecdm' what has already been done to 'clearkeycdm': Split the target into 'widevinecdm_binary' which builds and strips the stub binary, and 'widevinecdm' which just copies the binary. BUG=622282 TEST='build/gyp_chromium -Gconfig=Release -Dbranding=Chromium -Denable_widevine=1 -Dmac_strip_release=1 && ninja -C out/Release widevinecdm' is successful Committed: https://crrev.com/4b974c6063233f9e9874d5bde97883b8a57af638 Cr-Commit-Position: refs/heads/master@{#405371}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Include the bug reference #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -22 lines) Patch
M third_party/widevine/cdm/widevine_cdm.gyp View 1 2 chunks +43 lines, -22 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (3 generated)
wdzierzanowski
ddorwin: Could you take a look? This is what xhwang was suggesting, but it seems ...
4 years, 5 months ago (2016-07-06 19:13:20 UTC) #2
ddorwin
LGTM with comment. https://codereview.chromium.org/2117343005/diff/1/third_party/widevine/cdm/widevine_cdm.gyp File third_party/widevine/cdm/widevine_cdm.gyp (right): https://codereview.chromium.org/2117343005/diff/1/third_party/widevine/cdm/widevine_cdm.gyp#newcode200 third_party/widevine/cdm/widevine_cdm.gyp:200: 'product_dir': '<(PRODUCT_DIR)/<(widevine_cdm_path)', Also include the bug ...
4 years, 5 months ago (2016-07-08 16:16:44 UTC) #3
wdzierzanowski
Thanks! Added the bug reference. https://codereview.chromium.org/2117343005/diff/1/third_party/widevine/cdm/widevine_cdm.gyp File third_party/widevine/cdm/widevine_cdm.gyp (right): https://codereview.chromium.org/2117343005/diff/1/third_party/widevine/cdm/widevine_cdm.gyp#newcode200 third_party/widevine/cdm/widevine_cdm.gyp:200: 'product_dir': '<(PRODUCT_DIR)/<(widevine_cdm_path)', On 2016/07/08 ...
4 years, 5 months ago (2016-07-08 21:30:47 UTC) #4
wdzierzanowski
> On 2016/07/08 16:16:44, ddorwin wrote: > > Also include the bug reference? > > ...
4 years, 5 months ago (2016-07-12 07:28:41 UTC) #5
ddorwin
lgtm Thanks for checking. Yes, it was fine to commit after addressing the comment. I'll ...
4 years, 5 months ago (2016-07-14 00:02:46 UTC) #7
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/2117343005/20001
4 years, 5 months ago (2016-07-14 00:03:59 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-14 00:48:26 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 00:48:37 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/4b974c6063233f9e9874d5bde97883b8a57af638 Cr-Commit-Position: refs/heads/master@{#405371}
4 years, 5 months ago (2016-07-14 00:50:15 UTC) #12
yosin_UTC9
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2150853002/ by yosin@chromium.org. ...
4 years, 5 months ago (2016-07-14 05:36:02 UTC) #13
wdzierzanowski
4 years, 5 months ago (2016-07-14 20:33:56 UTC) #14
Message was sent while issue was closed.
Reland CL created: https://codereview.chromium.org/2150043003/

Powered by Google App Engine
This is Rietveld 408576698