Bug 1267007 - fix profiler and search conditional Services.jsm declarations, r=billm a=ritu
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 25 Apr 2016 16:32:11 +0100
changeset 332649 7999c04a50fe531031c4c44dce3145bfc5857b2d
parent 332648 db6cfb052942ec4ff204abb64914cea9fe8a7d39
child 332650 53e0546bb6d60fe33281ebc0216137c83657834e
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm, ritu
bugs1267007
milestone48.0a2
Bug 1267007 - fix profiler and search conditional Services.jsm declarations, r=billm a=ritu MozReview-Commit-ID: 6IgEPTkdLMA
toolkit/modules/AppConstants.jsm
--- a/toolkit/modules/AppConstants.jsm
+++ b/toolkit/modules/AppConstants.jsm
@@ -264,16 +264,30 @@ this.AppConstants = Object.freeze({
 
   MOZ_ANDROID_HISTORY:
 #ifdef MOZ_ANDROID_HISTORY
   true,
 #else
   false,
 #endif
 
+  MOZ_TOOLKIT_SEARCH:
+#ifdef MOZ_TOOLKIT_SEARCH
+  true,
+#else
+  false,
+#endif
+
+  MOZ_ENABLE_PROFILER_SPS:
+#ifdef MOZ_ENABLE_PROFILER_SPS
+  true,
+#else
+  false,
+#endif
+
   DLL_PREFIX: "@DLL_PREFIX@",
   DLL_SUFFIX: "@DLL_SUFFIX@",
 
   MOZ_APP_NAME: "@MOZ_APP_NAME@",
   MOZ_APP_VERSION: "@MOZ_APP_VERSION@",
   MOZ_APP_VERSION_DISPLAY: "@MOZ_APP_VERSION_DISPLAY@",
   MOZ_BUILD_APP: "@MOZ_BUILD_APP@",
   MOZ_MACBUNDLE_NAME: "@MOZ_MACBUNDLE_NAME@",