1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 * Configuration for the Memory Inspector Chrome App.
10 var MemoryInspectorConfig = {};
12 /** The port on which the Python server process will listen. */
13 MemoryInspectorConfig.PORT = 8089;
15 /** The path to the Python NMF file. */
16 MemoryInspectorConfig.NMF = '/sandbox/python.nmf';
18 /** The command-line arguments for the Python server process. */
19 MemoryInspectorConfig.ARGV = [
21 '/memory_inspector/start_web_ui',
22 '--port', MemoryInspectorConfig.PORT,
25 /** The environment variables for the Python server process. */
26 MemoryInspectorConfig.ENV = ['NACL_DATA_URL=/sandbox/'];
28 /** The current working directory of the Python server process. */
29 MemoryInspectorConfig.CWD = '/'; // Relative to the virtual filesystem.