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

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)

Created:
4 years, 2 months ago by brettw
Modified:
4 years, 2 months ago
Reviewers:
jrummell, jschuh, ddorwin
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, msramek+watch_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, droger+watchlist_chromium.org, eme-reviews_chromium.org, posciak+watch_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, jam, raymes+watch_chromium.org, Dirk Pranke, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, agrieve+watch_chromium.org, tfarina, markusheintz_, android-webview-reviews_chromium.org, miu+watch_chromium.org, ddorwin, xhwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ENABLE_PEPPER_CDMS to a buildflag header. Removes the global build flag and #define and converts to a buildflag header in ppapi/features. A new target "//third_party/widevine/cdm:headers" was added since widevine_cdm_version.h was unreferenced in the build. Given that this file now requires //ppapi/features we really need "gn check" to work on it. I made the existing users of ":version_h" reference this new target which encompasses the public headers of the widevine CDM. TBR=jschuh (render_messages.h) Committed: https://crrev.com/e23a62a0c4b56618da615698717ed53983854f8d Cr-Commit-Position: refs/heads/master@{#424477}

Patch Set 1 #

Patch Set 2 : Missing .h #

Patch Set 3 : fix #

Total comments: 5

Patch Set 4 : CrOS fix #

Patch Set 5 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -142 lines) Patch
M android_webview/renderer/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M build/config/BUILD.gn View 1 chunk +0 lines, -4 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_browsertest.cc View 1 2 3 4 8 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/load_library_perf_test.cc View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 9 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/media/encrypted_media_supported_types_browsertest.cc View 1 2 3 4 12 chunks +16 lines, -14 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 1 2 3 4 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M chrome/renderer/pepper/pepper_uma_host.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma_unittest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 4 chunks +5 lines, -2 lines 0 comments Download
M chromecast/media/base/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chromecast/renderer/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/cdm/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/cdm/renderer/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/cdm/renderer/external_clear_key_key_system_properties.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M components/cdm/renderer/external_clear_key_key_system_properties.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M components/cdm/renderer/widevine_key_system_properties.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M components/cdm/renderer/widevine_key_system_properties.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M content/public/renderer/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -1 line 0 comments Download
M content/renderer/media/cdm/pepper_cdm_wrapper.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/cdm/pepper_cdm_wrapper_impl.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/renderer/media/cdm/pepper_cdm_wrapper_impl.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/media/cdm/render_cdm_factory.h View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/media/cdm/render_cdm_factory.cc View 1 2 3 4 3 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M extensions/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/BUILD.gn View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M media/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/base/BUILD.gn View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M media/base/android/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/key_system_properties.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M media/base/key_systems.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M media/base/key_systems.cc View 1 2 3 4 5 chunks +5 lines, -4 lines 0 comments Download
M media/base/key_systems_unittest.cc View 1 2 3 4 4 chunks +5 lines, -4 lines 0 comments Download
M media/blink/BUILD.gn View 1 2 3 4 2 chunks +18 lines, -17 lines 0 comments Download
M media/blink/webcontentdecryptionmodule_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
A ppapi/features/BUILD.gn View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A ppapi/features/features.gni View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
A third_party/widevine/cdm/DEPS View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm_common.h View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M tools/gn/docs/cookbook.md View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 49 (30 generated)
brettw
Missing .h
4 years, 2 months ago (2016-10-10 20:47:30 UTC) #1
brettw
4 years, 2 months ago (2016-10-10 20:48:05 UTC) #6
ddorwin
Thanks! => jrummell for review
4 years, 2 months ago (2016-10-10 20:50:53 UTC) #9
brettw
fix
4 years, 2 months ago (2016-10-10 20:54:25 UTC) #12
jrummell
Couple of nits plus a question on why the flag is in third_party/widevine/cdm below. https://codereview.chromium.org/2411433002/diff/40001/chrome/browser/media/encrypted_media_supported_types_browsertest.cc ...
4 years, 2 months ago (2016-10-10 22:45:58 UTC) #17
brettw
CrOS fix
4 years, 2 months ago (2016-10-10 22:55:27 UTC) #18
brettw
New snap up. https://codereview.chromium.org/2411433002/diff/40001/chrome/browser/media/encrypted_media_supported_types_browsertest.cc File chrome/browser/media/encrypted_media_supported_types_browsertest.cc (right): https://codereview.chromium.org/2411433002/diff/40001/chrome/browser/media/encrypted_media_supported_types_browsertest.cc#newcode713 chrome/browser/media/encrypted_media_supported_types_browsertest.cc:713: #if !BUILDFLAG(WIDEVINE_CDM_AVAILABLE) Fixed, trybots also noticed ...
4 years, 2 months ago (2016-10-10 23:43:42 UTC) #25
jrummell
Thanks for doing this. LGTM.
4 years, 2 months ago (2016-10-10 23:55:52 UTC) #27
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/2411433002/80001
4 years, 2 months ago (2016-10-11 03:16:15 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/278003)
4 years, 2 months ago (2016-10-11 03:26:49 UTC) #33
brettw
David: need your owners stamp for widevine.
4 years, 2 months ago (2016-10-11 05:02:37 UTC) #34
ddorwin
widevine lgtm
4 years, 2 months ago (2016-10-11 05:09:18 UTC) #35
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/2411433002/80001
4 years, 2 months ago (2016-10-11 05:30:53 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/278049)
4 years, 2 months ago (2016-10-11 05:40:56 UTC) #39
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/2411433002/80001
4 years, 2 months ago (2016-10-11 17:36:00 UTC) #41
brettw
TBR=jschuh (render_messages.h)
4 years, 2 months ago (2016-10-11 17:37:15 UTC) #44
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-11 17:44:41 UTC) #46
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e23a62a0c4b56618da615698717ed53983854f8d Cr-Commit-Position: refs/heads/master@{#424477}
4 years, 2 months ago (2016-10-11 17:46:18 UTC) #48
alph
4 years, 2 months ago (2016-10-11 19:12:26 UTC) #49
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2412493003/ by alph@chromium.org.

The reason for reverting is: Broke build
https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/b....

Powered by Google App Engine
This is Rietveld 408576698