diff options
Diffstat (limited to 'devtools/client/shared/vendor/moz.build')
-rw-r--r-- | devtools/client/shared/vendor/moz.build | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/devtools/client/shared/vendor/moz.build b/devtools/client/shared/vendor/moz.build new file mode 100644 index 0000000000..98261dac00 --- /dev/null +++ b/devtools/client/shared/vendor/moz.build @@ -0,0 +1,43 @@ +# -*- 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 += [ + "micromatch", + "source-map", +] + +DevToolsModules( + 'fluent-react.js', + 'immutable.js', + 'jszip.js', + 'md5.js', + 'react-dom-factories.js', + 'react-redux.js', + 'react-router-dom.js', + 'react-test-renderer-shallow.js', + 'react-test-renderer.js', + 'redux.js', + 'reselect.js', + 'WasmDis.js', + 'WasmParser.js', + 'whatwg-url.js', +) + +# react dev versions are used if enable-debug-js-modules is set in .mozconfig. +if CONFIG['DEBUG_JS_MODULES']: + RenamedDevToolsModules('react-dom-dev.js', 'react-dom.js') + RenamedDevToolsModules('react-dom-server-dev.js', 'react-dom-server.js') + RenamedDevToolsModules('react-dom-test-utils-dev.js', 'react-dom-test-utils.js') + RenamedDevToolsModules('react-prop-types-dev.js', 'react-prop-types.js') + RenamedDevToolsModules('react-dev.js', 'react.js') +else: + DevToolsModules( + 'react-dom-server.js', + 'react-dom-test-utils.js', + 'react-dom.js', + 'react-prop-types.js', + 'react.js' + ) |