DescriptionFix 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 #
Dependent Patchsets: Messages
Total messages: 14 (3 generated)
|