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

Issue 2155253002: Reland of "Fix build of Widevine CDM stub on Mac" (Closed)

Created:
4 years, 5 months ago by ddorwin
Modified:
4 years, 5 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2785
Target Ref:
refs/pending/branch-heads/2785
Project:
chromium
Visibility:
Public.

Description

Reland of "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. This CL relands https://codereview.chromium.org/2117343005/ with the following change: The new 'widevinecdm_binary' target is now defined conditionally for the case when it is really needed, to fix the ninja error "multiple rules generate WidevineCdm/_platform_specific/win_x86/widevinecdm.dll". BUG=622282 TEST='build/gyp_chromium -Gconfig=Release -Dbranding=Chromium -Denable_widevine=1 -Dmac_strip_release=1 && ninja -C out/Release widevinecdm' is successful Review-Url: https://codereview.chromium.org/2149233003 Cr-Commit-Position: refs/heads/master@{#405635} (cherry picked from commit 117144d7ad598ec731f258f5272142708274d635) Committed: https://chromium.googlesource.com/chromium/src/+/1f1182f3cbfccc487ffa7eae74adc61c3b48c8fa

Patch Set 1 #

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

Messages

Total messages: 2 (1 generated)
ddorwin
4 years, 5 months ago (2016-07-18 18:14:21 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1f1182f3cbfccc487ffa7eae74adc61c3b48c8fa.

Powered by Google App Engine
This is Rietveld 408576698