Bug 1196047 - Move system.js to devtools/shared. r=jsantell

This commit is contained in:
J. Ryan Stinnett 2015-10-07 15:18:14 -05:00
parent 7e6649d127
commit b288f6f396
10 changed files with 8 additions and 8 deletions

View File

@ -59,7 +59,7 @@ loader.lazyRequireGetter(this, "showDoorhanger",
loader.lazyRequireGetter(this, "createPerformanceFront",
"devtools/server/actors/performance", true);
loader.lazyRequireGetter(this, "system",
"devtools/shared/shared/system");
"devtools/shared/system");
loader.lazyGetter(this, "osString", () => {
return Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS;
});

View File

@ -24,7 +24,7 @@ loader.lazyRequireGetter(this, "EventEmitter",
loader.lazyRequireGetter(this, "DevToolsUtils",
"devtools/shared/DevToolsUtils");
loader.lazyRequireGetter(this, "system",
"devtools/shared/shared/system");
"devtools/shared/system");
// Logic modules

View File

@ -9,7 +9,7 @@ var appConstants;
// available in xpcshell tests. This is ok, we can easily polyfill the
// values that we need.
try {
const system = devtools.require("devtools/shared/shared/system");
const system = devtools.require("devtools/shared/system");
appConstants = system.constants;
}
catch(e) {

View File

@ -9,7 +9,7 @@ const {method, RetVal} = protocol;
const promise = require("promise");
const {LongStringActor} = require("devtools/server/actors/string");
const {DebuggerServer} = require("devtools/server/main");
const {getSystemInfo, getSetting} = require("devtools/shared/shared/system");
const {getSystemInfo, getSetting} = require("devtools/shared/system");
Cu.import("resource://gre/modules/PermissionsTable.jsm")

View File

@ -23,7 +23,7 @@ loader.lazyRequireGetter(this, "normalizePerformanceFeatures",
loader.lazyRequireGetter(this, "LegacyPerformanceFront",
"devtools/shared/performance/legacy/front", true);
loader.lazyRequireGetter(this, "getSystemInfo",
"devtools/shared/shared/system", true);
"devtools/shared/system", true);
const PIPE_TO_FRONT_EVENTS = new Set([
"recording-started", "recording-stopping", "recording-stopped",

View File

@ -44,5 +44,6 @@ DevToolsModules(
'Loader.jsm',
'output-parser.js',
'path.js',
'system.js',
'worker-loader.js',
)

View File

@ -24,7 +24,7 @@ loader.lazyRequireGetter(this, "DevToolsUtils",
loader.lazyRequireGetter(this, "getDeviceFront",
"devtools/server/actors/device", true);
loader.lazyRequireGetter(this, "getSystemInfo",
"devtools/shared/shared/system", true);
"devtools/shared/system", true);
loader.lazyRequireGetter(this, "events",
"sdk/event/core");
loader.lazyRequireGetter(this, "EventTarget",

View File

@ -32,7 +32,7 @@ loader.lazyRequireGetter(this, "mapRecordingOptions",
loader.lazyRequireGetter(this, "DevToolsUtils",
"devtools/shared/DevToolsUtils");
loader.lazyRequireGetter(this, "getSystemInfo",
"devtools/shared/shared/system", true);
"devtools/shared/system", true);
const PROFILER_EVENTS = [
"console-api-profiler",

View File

@ -13,7 +13,6 @@ DevToolsModules(
'indentation.js',
'memory.js',
'profiler.js',
'system.js',
'timeline.js',
'worker-helper.js',
'worker.js'