mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
parent
64602172c2
commit
8d1e73fc3c
25 changed files with 0 additions and 3212 deletions
|
|
@ -135,11 +135,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
|
|||
'mozgtk_stub',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_JPROF']:
|
||||
USE_LIBS += [
|
||||
'jprof',
|
||||
]
|
||||
|
||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT'] or \
|
||||
CONFIG['MOZ_TREE_FREETYPE']:
|
||||
USE_LIBS += [
|
||||
|
|
|
|||
|
|
@ -22,19 +22,6 @@ def systrace(value, target):
|
|||
|
||||
set_define('MOZ_USE_SYSTRACE', systrace)
|
||||
|
||||
|
||||
option('--enable-jprof', env='MOZ_JPROF',
|
||||
help='Enable jprof profiling tool (needs mozilla/tools/jprof)')
|
||||
|
||||
@depends('--enable-jprof')
|
||||
def jprof(value):
|
||||
if value:
|
||||
return True
|
||||
|
||||
set_config('MOZ_JPROF', jprof)
|
||||
set_define('MOZ_JPROF', jprof)
|
||||
imply_option('--enable-profiling', jprof)
|
||||
|
||||
@depends(target)
|
||||
def sps_profiler(target):
|
||||
if target.os == 'Android':
|
||||
|
|
|
|||
|
|
@ -103,10 +103,6 @@ else:
|
|||
|
||||
# toolkit
|
||||
|
||||
# This must precede xpfe.
|
||||
if CONFIG['MOZ_JPROF']:
|
||||
DIRS += ['/tools/jprof']
|
||||
|
||||
DIRS += [
|
||||
'/tools/power',
|
||||
'/tools/profiler',
|
||||
|
|
|
|||
|
|
@ -183,10 +183,6 @@
|
|||
#include "mozilla/Logging.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_JPROF
|
||||
#include "jprof.h"
|
||||
#endif
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "GTestRunner.h"
|
||||
|
||||
|
|
@ -1514,11 +1510,6 @@ static nsresult LaunchChild(nsINativeAppSupport* aNative,
|
|||
// Restart this process by exec'ing it into the current process
|
||||
// if supported by the platform. Otherwise, use NSPR.
|
||||
|
||||
#ifdef MOZ_JPROF
|
||||
// make sure JPROF doesn't think we're E10s
|
||||
unsetenv("JPROF_SLAVE");
|
||||
#endif
|
||||
|
||||
if (aBlankCommandLine) {
|
||||
gRestartArgc = 1;
|
||||
gRestartArgv[gRestartArgc] = nullptr;
|
||||
|
|
@ -3397,11 +3388,6 @@ XREMain::XRE_mainStartup(bool* aExitFlag)
|
|||
XRE_InstallX11ErrorHandler();
|
||||
#endif
|
||||
|
||||
// Call the code to install our handler
|
||||
#ifdef MOZ_JPROF
|
||||
setupProfilingStuff();
|
||||
#endif
|
||||
|
||||
rv = NS_CreateNativeAppSupport(getter_AddRefs(mNativeApp));
|
||||
if (NS_FAILED(rv))
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -81,10 +81,6 @@
|
|||
using mozilla::_ipdltest::IPDLUnitTestProcessChild;
|
||||
#endif // ifdef MOZ_IPDL_TESTS
|
||||
|
||||
#ifdef MOZ_JPROF
|
||||
#include "jprof.h"
|
||||
#endif
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
using mozilla::ipc::BrowserProcessSubThread;
|
||||
|
|
@ -270,11 +266,6 @@ XRE_InitChildProcess(int aArgc,
|
|||
NS_ENSURE_ARG_POINTER(aArgv[0]);
|
||||
MOZ_ASSERT(aChildData);
|
||||
|
||||
#ifdef MOZ_JPROF
|
||||
// Call the code to install our handler
|
||||
setupProfilingStuff();
|
||||
#endif
|
||||
|
||||
#if !defined(MOZ_WIDGET_ANDROID)
|
||||
// On non-Fennec Gecko, the GMPLoader code resides in plugin-container,
|
||||
// and we must forward it through to the GMP code here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue