Add "enable_desktop_capturer" build flag (#13133)
* Make it possible to disable a module for a renderer * Put DesktopCapturer API under a build flag The name is "enable_desktop_capturer". Enabled by default.
This commit is contained in:
parent
6ff111a141
commit
dee9aef975
11 changed files with 77 additions and 16 deletions
|
@ -23,6 +23,11 @@
|
|||
'<(source_root)/external_binaries',
|
||||
],
|
||||
}],
|
||||
['enable_desktop_capturer==1', {
|
||||
'defines': [
|
||||
'ENABLE_DESKTOP_CAPTURER',
|
||||
],
|
||||
}], # enable_desktop_capturer==1
|
||||
['enable_osr==1', {
|
||||
'defines': [
|
||||
'ENABLE_OSR',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue