Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 15 Mar 2018 19:20:32 -0500
changeset 409063 ad457a385c5bbaf3f7e3ca9305323795a25a5236
parent 409062 a831178ed112be4db3c867876b99e61d22bdbc7a
child 409064 1ecd436ad73ea60f8cefe51ac535db4f93faa08b
push id61416
push userjryans@gmail.com
push dateTue, 20 Mar 2018 21:02:29 +0000
treeherderautoland@36b4eaecc56d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1446222
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes MozReview-Commit-ID: 8Zv7cJFFG88
devtools/server/actors/canvas.js
devtools/server/actors/canvas/moz.build
devtools/server/actors/canvas/primitive.js
devtools/server/actors/moz.build
devtools/server/moz.build
devtools/server/primitive.js
--- a/devtools/server/actors/canvas.js
+++ b/devtools/server/actors/canvas.js
@@ -4,17 +4,17 @@
 "use strict";
 
 /* global XPCNativeWrapper */
 
 const defer = require("devtools/shared/defer");
 const protocol = require("devtools/shared/protocol");
 const {CallWatcherActor} = require("devtools/server/actors/call-watcher");
 const {CallWatcherFront} = require("devtools/shared/fronts/call-watcher");
-const {WebGLPrimitiveCounter} = require("devtools/server/primitive");
+const {WebGLPrimitiveCounter} = require("devtools/server/actors/canvas/primitive");
 const {
   frameSnapshotSpec,
   canvasSpec,
   CANVAS_CONTEXTS,
   ANIMATION_GENERATORS,
   LOOP_GENERATORS
 } = require("devtools/shared/specs/canvas");
 const {CanvasFront} = require("devtools/shared/fronts/canvas");
new file mode 100644
--- /dev/null
+++ b/devtools/server/actors/canvas/moz.build
@@ -0,0 +1,9 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+DevToolsModules(
+    'primitive.js',
+)
rename from devtools/server/primitive.js
rename to devtools/server/actors/canvas/primitive.js
--- a/devtools/server/actors/moz.build
+++ b/devtools/server/actors/moz.build
@@ -1,15 +1,16 @@
 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
+    'canvas',
     'emulation',
     'highlighters',
     'inspector',
     'utils',
     'webconsole',
 ]
 
 DevToolsModules(
--- a/devtools/server/moz.build
+++ b/devtools/server/moz.build
@@ -17,16 +17,15 @@ XPCSHELL_TESTS_MANIFESTS += ['tests/unit
 
 DevToolsModules(
     'child.js',
     'content-process-debugger-server.js',
     'content-server.jsm',
     'css-logic.js',
     'event-parsers.js',
     'main.js',
-    'primitive.js',
     'service-worker-child.js',
     'websocket-server.js',
     'worker.js'
 )
 
 with Files('**'):
     BUG_COMPONENT = ('Firefox', 'Developer Tools')