Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 72e0e73d0ee979576f3162e95b420849c7cfe11a..594b9a21e6aeef80ccc4be111195fa9d5409f0d8 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', { |