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

Issue 1978123002: Revert of media: Move widevine CDM targets to WidevineCdm folder (Closed)

Created:
4 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 7 months ago
CC:
chromium-reviews, eme-reviews_chromium.org, feature-media-reviews_chromium.org, grt+watch_chromium.org, markusheintz_, mcasas+watch+vc_chromium.org, Michael Moss, msramek+watch_chromium.org, oshima+watch_chromium.org, posciak+watch_chromium.org, raymes+watch_chromium.org, waffles, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of media: Move widevine CDM targets to WidevineCdm folder (patchset #9 id:220001 of https://codereview.chromium.org/1957643002/ ) Reason for revert: Multiple problems. Compile failures on Mac and browser_tests failures on Linux. Mac failure logs: [12124/32437] SOLINK ClearKeyCdm/libclearkeycdm.dylib, POSTBUILDS FAILED: ClearKeyCdm/libclearkeycdm.dylib ClearKeyCdm/libclearkeycdm.dylib.TOC if [ ! -e ClearKeyCdm/libclearkeycdm.dylib -o ! -e ClearKeyCdm/libclearkeycdm.dylib.TOC ] || otool -l ClearKeyCdm/libclearkeycdm.dylib | grep -q LC_REEXPORT_DYLIB ; then /b/build/slave/cache/cipd/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-search_paths_first -Wl,-dead_strip -mmacosx-version-min=10.7 -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -arch x86_64 -L. -install_name @rpath/libclearkeycdm.dylib -stdlib=libc++ -o ClearKeyCdm/libclearkeycdm.dylib @ClearKeyCdm/libclearkeycdm.dylib.rsp && (export BUILT_FRAMEWORKS_DIR=/b/build/slave/Mac/build/src/out/Release; export BUILT_PRODUCTS_DIR=/b/build/slave/Mac/build/src/out/Release; export CONFIGURATION=Release; export DYLIB_INSTALL_NAME_BASE=@rpath; export EXECUTABLE_NAME=libclearkeycdm.dylib; export EXECUTABLE_PATH=libclearkeycdm.dylib; export FULL_PRODUCT_NAME=libclearkeycdm.dylib; export LD_DYLIB_INSTALL_NAME=@rpath/libclearkeycdm.dylib; export MACH_O_TYPE=mh_dylib; export PRODUCT_NAME=clearkeycdm; export PRODUCT_TYPE=com.apple.product-type.library.dynamic; export SDKROOT=/Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; export SRCROOT=/b/build/slave/Mac/build/src/out/Release/../../media; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/b/build/slave/Mac/build/src/out/Release; export TEMP_DIR="${TMPDIR}"; export XCODE_VERSION_ACTUAL=0511; (cd ../../media && ../build/mac/strip_from_xcode); G=$?; ((exit $G) || rm -rf ClearKeyCdm/libclearkeycdm.dylib) && exit $G) && { otool -l ClearKeyCdm/libclearkeycdm.dylib | grep LC_ID_DYLIB -A 5; nm -gP ClearKeyCdm/libclearkeycdm.dylib | cut -f1-2 -d' ' | grep -v U$; true; } > ClearKeyCdm/libclearkeycdm.dylib.TOC; else /b/build/slave/cache/cipd/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-search_paths_first -Wl,-dead_strip -mmacosx-version-min=10.7 -isysroot /Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -arch x86_64 -L. -install_name @rpath/libclearkeycdm.dylib -stdlib=libc++ -o ClearKeyCdm/libclearkeycdm.dylib @ClearKeyCdm/libclearkeycdm.dylib.rsp && (export BUILT_FRAMEWORKS_DIR=/b/build/slave/Mac/build/src/out/Release; export BUILT_PRODUCTS_DIR=/b/build/slave/Mac/build/src/out/Release; export CONFIGURATION=Release; export DYLIB_INSTALL_NAME_BASE=@rpath; export EXECUTABLE_NAME=libclearkeycdm.dylib; export EXECUTABLE_PATH=libclearkeycdm.dylib; export FULL_PRODUCT_NAME=libclearkeycdm.dylib; export LD_DYLIB_INSTALL_NAME=@rpath/libclearkeycdm.dylib; export MACH_O_TYPE=mh_dylib; export PRODUCT_NAME=clearkeycdm; export PRODUCT_TYPE=com.apple.product-type.library.dynamic; export SDKROOT=/Applications/Xcode5.1.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; export SRCROOT=/b/build/slave/Mac/build/src/out/Release/../../media; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/b/build/slave/Mac/build/src/out/Release; export TEMP_DIR="${TMPDIR}"; export XCODE_VERSION_ACTUAL=0511; (cd ../../media && ../build/mac/strip_from_xcode); G=$?; ((exit $G) || rm -rf ClearKeyCdm/libclearkeycdm.dylib) && exit $G) && { otool -l ClearKeyCdm/libclearkeycdm.dylib | grep LC_ID_DYLIB -A 5; nm -gP ClearKeyCdm/libclearkeycdm.dylib | cut -f1-2 -d' ' | grep -v U$; true; } > ClearKeyCdm/libclearkeycdm.dylib.tmp && if ! cmp -s ClearKeyCdm/libclearkeycdm.dylib.tmp ClearKeyCdm/libclearkeycdm.dylib.TOC; then mv ClearKeyCdm/libclearkeycdm.dylib.tmp ClearKeyCdm/libclearkeycdm.dylib.TOC ; fi; fi Traceback (most recent call last): File "/b/build/slave/Mac/build/src/media/../build/mac/strip_save_dsym", line 335, in <module> sys.exit(main(sys.argv)) File "/b/build/slave/Mac/build/src/media/../build/mac/strip_save_dsym", line 329, in main if not strip_and_make_fake_dsym(macho): File "/b/build/slave/Mac/build/src/media/../build/mac/strip_save_dsym", line 263, in strip_and_make_fake_dsym macho_stat = os.stat(macho) OSError: [Errno 2] No such file or directory: '/b/build/slave/Mac/build/src/out/Release/libclearkeycdm.dylib' Failing Linux (dbg) tests: MSE_ExternalClearKey/EncryptedMediaTest.Playback_Multiple_VideoAudio_WebM/0 ECKEncryptedMediaTest.LoadUnknownSession SRC_ExternalClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VideoClearAudio_WebM/0 PepperContentSettingsSpecialCasesTest.Baseline SRC_ExternalClearKey/EncryptedMediaTest.Playback_Multiple_VideoAudio_WebM/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM_Opus/0 MSE_ExternalClearKey/EncryptedMediaTest.InvalidResponseKeyError/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VideoClearAudio_WebM_Opus/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VideoClearAudio_WebM_Opus/0 ECKEncryptedMediaTest.LoadLoadableSession MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.ConfigChangeVideo/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VideoClearAudio_WebM_Opus/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VideoOnly_WebM/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.FrameSizeChangeVideo/0 SRC_ExternalClearKey/EncryptedMediaTest.InvalidResponseKeyError/0 ECKEncryptedMediaTest.CDMCrashDuringDecode MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VideoAudio_WebM_Opus/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.InvalidResponseKeyError/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VideoClearAudio_WebM/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_AudioClearVideo_WebM/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_Multiple_VideoAudio_WebM/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_AudioClearVideo_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM_Opus/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VideoOnly_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_AudioClearVideo_WebM/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VideoAudio_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VideoClearAudio_WebM/0 ECKEncryptedMediaTest.CDMExpectedCrash ECKEncryptedMediaTest.FileIOTest MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_AudioOnly_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VP9Video_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.ConfigChangeVideo/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_VP9Video_WebM/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VideoOnly_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.FrameSizeChangeVideo/0 SRC_ExternalClearKey/EncryptedMediaTest.FrameSizeChangeVideo/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM_Opus/0 MSE_ExternalClearKeyDecryptOnly/EncryptedMediaTest.Playback_AudioOnly_WebM_Opus/0 SRC_ExternalClearKey/EncryptedMediaTest.Playback_VP9Video_WebM/0 MSE_ExternalClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM_Opus/0 Original issue's description: > media: Move widevine CDM targets to WidevineCdm folder > > Put Widevine CDM and adapter in WidevineCdm folder in the output > directory instead of in the output directory directly. This will make it > easier for us to ship manifest.json file alongside with the CDM. It will > also make it easier for use to bundle the CDM on Windows and Mac. > > BUG=582622 > TEST=Unit tests still pass. Manually tested on Linux. > > Committed: https://crrev.com/3569f3d0f45b847990522f1655fb324c55dca887 > Cr-Commit-Position: refs/heads/master@{#393672} TBR=ddorwin@chromium.org,mark@chromium.org,rsesek@chromium.org,stgao@chromium.org,thakis@chromium.org,thestig@chromium.org,xhwang@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=582622 Committed: https://crrev.com/cdea1d3a19ffa03173b2ad4f492047488e511ded Cr-Commit-Position: refs/heads/master@{#393762}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -184 lines) Patch
M chrome/BUILD.gn View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/content_settings_browsertest.cc View 2 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/load_library_perf_test.cc View 2 chunks +25 lines, -26 lines 0 comments Download
M chrome/browser/media/encrypted_media_browsertest.cc View 4 chunks +4 lines, -17 lines 0 comments Download
M chrome/browser/media/encrypted_media_supported_types_browsertest.cc View 7 chunks +22 lines, -29 lines 0 comments Download
M chrome/browser_tests.isolate View 6 chunks +12 lines, -12 lines 0 comments Download
M chrome/chrome_dll_bundle.gypi View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/chrome_installer.gypi View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/chrome_paths.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/installer/linux/BUILD.gn View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/installer/linux/common/installer.include View 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/installer/mini_installer/chrome.release View 1 chunk +1 line, -1 line 0 comments Download
M chrome/tools/build/chromeos/FILES.cfg View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/tools/build/linux/FILES.cfg View 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/tools/build/win/FILES.cfg View 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/external_clear_key_test_helper.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M media/cdm/ppapi/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
M media/media.gyp View 1 chunk +0 lines, -7 lines 0 comments Download
M media/media_cdm.gypi View 4 chunks +2 lines, -9 lines 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 4 chunks +7 lines, -9 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm.gyp View 4 chunks +7 lines, -8 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm_common.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Ken Rockot(use gerrit already)
Created Revert of media: Move widevine CDM targets to WidevineCdm folder
4 years, 7 months ago (2016-05-15 00:52:59 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978123002/1
4 years, 7 months ago (2016-05-15 00:53:11 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978123002/1
4 years, 7 months ago (2016-05-15 01:01:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978123002/1
4 years, 7 months ago (2016-05-15 01:31:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978123002/1
4 years, 7 months ago (2016-05-15 02:01:16 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-15 02:25:44 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-15 02:26:56 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/cdea1d3a19ffa03173b2ad4f492047488e511ded
Cr-Commit-Position: refs/heads/master@{#393762}

Powered by Google App Engine
This is Rietveld 408576698