ENABLE_PEPPER_CDMS indicates that we use PPAPI to host a cdm.h based CDM library. With mojo CDM, we will not use PPAPI, and instead, Chromium will host the CDM directly. So we need a new buildflag to indicate "supports a cdm.h based CDM".
In theory, the new buildflag will be a superset of the current ENABLE_PEPPER_CDMS buildflag, since we could support loading a cdm.h based CDM on platforms where PPAPI plugin is not supported. However, in reality, the new buildflag will only be enabled on platforms where ENABLE_PEPPER_CDMS is currently enabled.
The new build flag will be a pure media buildflag, removing the weird dependency that media/ depends on ppapi/ today.
For the name of the new buildflag, I propose ENABLE_LIBRARY_CDMS. "Library" is a bit ambiguous, but this is the best I can get.
Thoughts?
Comment 1 by bugdroid1@chromium.org
, May 24 2017