diff --git a/electron.gyp b/electron.gyp index 47bc67b98e69..6b3fe01d0933 100644 --- a/electron.gyp +++ b/electron.gyp @@ -436,11 +436,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)', + '