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 326115 4076bba66266f1fa2ef1b9df049789cf73467bd6
parent 326114 22dbad80fbab7b6a1ec1525bcda3454f7b1c99f1
child 326116 2ad51ea9b02129d12d9bec95a701efa3ad95cb13
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm, ritu
bugs1267007
milestone47.0
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
@@ -278,16 +278,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@",