Bug 1491419 - move --enable-tasktracer to moz.configure; r=nalexander
authorNathan Froyd <froydnj@mozilla.com>
Mon, 01 Oct 2018 14:51:27 -0400
changeset 494748 b257f734506bb147b64e7a443fd54609bbf343a3
parent 494747 2806d89b9234e71375db86c4387d8af67fbf5588
child 494749 c6e9cfc12ec521a0ce9d29fe70c422534ff27145
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1491419
milestone64.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 1491419 - move --enable-tasktracer to moz.configure; r=nalexander
build/moz.configure/old.configure
old-configure.in
toolkit/moz.configure
--- a/build/moz.configure/old.configure
+++ b/build/moz.configure/old.configure
@@ -206,17 +206,16 @@ def old_configure_options(*options):
     '--enable-startup-notification',
     '--enable-startupcache',
     '--enable-strip',
     '--enable-synth-pico',
     '--enable-system-cairo',
     '--enable-system-extension-dirs',
     '--enable-system-pixman',
     '--enable-system-sqlite',
-    '--enable-tasktracer',
     '--enable-thread-sanitizer',
     '--enable-signed-overflow-sanitizer',
     '--enable-universalchardet',
     '--enable-unsigned-overflow-sanitizer',
     '--enable-updater',
     '--enable-xul',
     '--enable-zipwriter',
     '--includedir',
--- a/old-configure.in
+++ b/old-configure.in
@@ -3516,28 +3516,16 @@ AC_SUBST(DEBUG_JS_MODULES)
 dnl ========================================================
 dnl =
 dnl = Profiling and Instrumenting
 dnl =
 dnl ========================================================
 MOZ_ARG_HEADER(Profiling and Instrumenting)
 
 dnl ========================================================
-dnl = Enable TaskTracer
-dnl ========================================================
-MOZ_ARG_ENABLE_BOOL(tasktracer,
-[  --enable-tasktracer       Set compile flags necessary for using TaskTracer],
-    MOZ_TASK_TRACER=1,
-    MOZ_TASK_TRACER= )
-if test -n "$MOZ_TASK_TRACER"; then
-    AC_DEFINE(MOZ_TASK_TRACER)
-    AC_SUBST(MOZ_TASK_TRACER)
-fi
-
-dnl ========================================================
 dnl Turn on reflow counting
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(reflow-perf,
 [  --enable-reflow-perf    Enable reflow performance tracing],
     MOZ_REFLOW_PERF=1,
     MOZ_REFLOW_PERF= )
 if test -n "$MOZ_REFLOW_PERF"; then
     AC_DEFINE(MOZ_REFLOW_PERF)
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -1148,8 +1148,16 @@ set_define('MOZ_BUNDLED_FONTS',
 # ==============================================================
 
 option('--enable-verify-mar', help='Enable verifying MAR signatures')
 
 set_define('MOZ_VERIFY_MAR_SIGNATURE',
            depends_if('--enable-verify-mar')(lambda _: True))
 set_config('MOZ_VERIFY_MAR_SIGNATURE',
            depends_if('--enable-verify-mar')(lambda _: True))
+
+# TaskTracer
+# ==============================================================
+
+option('--enable-tasktracer', help='Enable TaskTracer')
+
+set_define('MOZ_TASK_TRACER', depends_if('--enable-tasktracer')(lambda _: True))
+set_config('MOZ_TASK_TRACER', depends_if('--enable-tasktracer')(lambda _: True))