diff --git a/electron.gyp b/electron.gyp index 85b3daf9ddf6..ab9810bfc020 100644 --- a/electron.gyp +++ b/electron.gyp @@ -437,11 +437,21 @@ # depend on this target to ensure the '<(js2c_input_dir)' is created 'atom_js2c_copy', ], + 'variables': { + 'sandbox_args': [ + './lib/sandboxed_renderer/init.js', + '-r', + './lib/sandboxed_renderer/api/exports/electron.js:electron' + ], + 'isolated_args': [ + 'lib/isolated_renderer/init.js', + ] + }, 'actions': [ { 'action_name': 'atom_browserify_sandbox', 'inputs': [ - '<@(browserify_entries)', + '