summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-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', {