mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Build nsJSInspector regardless of devtools
This commit is contained in:
parent
470aebd09b
commit
393dd101d4
7 changed files with 23 additions and 14 deletions
|
|
@ -13,11 +13,14 @@ if CONFIG['MOZ_DEVTOOLS_SERVER']:
|
|||
'shared',
|
||||
]
|
||||
else:
|
||||
DIRS += ['shared/heapsnapshot/']
|
||||
DIRS += [
|
||||
'shared/heapsnapshot',
|
||||
'shared/jsinspector',
|
||||
]
|
||||
|
||||
# /browser uses DIST_SUBDIR. We opt-in to this treatment when building
|
||||
# DevTools for the browser to keep the root omni.ja slim for use by external XUL
|
||||
# apps. Mulet also uses this since it includes /browser.
|
||||
if CONFIG['MOZ_BUILD_APP'] == 'b2g/dev' or CONFIG['MOZ_PHOENIX']:
|
||||
if CONFIG['MOZ_PHOENIX']:
|
||||
DIST_SUBDIR = 'browser'
|
||||
export('DIST_SUBDIR')
|
||||
|
|
|
|||
|
|
@ -16,18 +16,6 @@ BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|
|||
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
|
||||
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
||||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIJSInspector.idl',
|
||||
]
|
||||
|
||||
XPIDL_MODULE = 'jsinspector'
|
||||
|
||||
SOURCES += [
|
||||
'nsJSInspector.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
DevToolsModules(
|
||||
'child.js',
|
||||
'content-globals.js',
|
||||
|
|
|
|||
17
devtools/shared/jsinspector/moz.build
Normal file
17
devtools/shared/jsinspector/moz.build
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# -*- 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/.
|
||||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIJSInspector.idl',
|
||||
]
|
||||
|
||||
XPIDL_MODULE = 'jsinspector'
|
||||
|
||||
SOURCES += [
|
||||
'nsJSInspector.cpp',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
|
@ -17,6 +17,7 @@ DIRS += [
|
|||
'heapsnapshot',
|
||||
'inspector',
|
||||
'jsbeautify',
|
||||
'jsinspector',
|
||||
'layout',
|
||||
'locales',
|
||||
'node-properties',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue