electron/features.gypi
Alexey Kuzmin dee9aef975 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.
2018-06-13 11:15:34 -05:00

17 lines
548 B
Python

{
# If it looks stupid but it works it ain't stupid.
'variables': {
'variables': {
'enable_desktop_capturer%': 1,
'enable_osr%': 1, # FIXME(alexeykuzmin)
'enable_pdf_viewer%': 0, # FIXME(deepak1556)
'enable_run_as_node%': 1,
'enable_view_api%': 0,
},
'enable_desktop_capturer%': '<(enable_desktop_capturer)',
'enable_osr%': '<(enable_osr)',
'enable_pdf_viewer%': '<(enable_pdf_viewer)',
'enable_run_as_node%': '<(enable_run_as_node)',
'enable_view_api%': '<(enable_view_api)',
},
}