summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 16:08:20 +0000
committerycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 16:08:20 +0000
commit8b4efe95a07d17eb46c86c9a55b0878b6838f01f (patch)
tree7e0603ea1c5805f2e05bad7c00b3eac878362c5f /build
parent578d5dae5655184ce0abed013a103e6d9e9875d2 (diff)
downloadchromium_src-8b4efe95a07d17eb46c86c9a55b0878b6838f01f.zip
chromium_src-8b4efe95a07d17eb46c86c9a55b0878b6838f01f.tar.gz
chromium_src-8b4efe95a07d17eb46c86c9a55b0878b6838f01f.tar.bz2
Enable the embedded L1/EME support in WebView.
- Add ExternalVideoSurfaceContainer which handles the external surface for the hole punching in WebView. - Refactor the callbacks of ContentViewClient on the hole-punching to make them have the single purpose per each function. BUG=329447 Review URL: https://codereview.chromium.org/132233042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 72e0e73..594b9a2 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1278,6 +1278,9 @@
# Force disable libstdc++ debug mode.
'disable_glibcxx_debug%': 0,
+ # Set to 1 to compile with the hole punching for the protected video.
+ 'video_hole%': 0,
+
'conditions': [
# The version of GCC in use, set later in platforms that use GCC and have
# not explicitly chosen to build with clang. Currently, this means all
@@ -2514,6 +2517,9 @@
'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects',
],
}],
+ ['video_hole==1', {
+ 'defines': ['VIDEO_HOLE=1'],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['enable_wexit_time_destructors==1', {