/* 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/. */

"use strict";

Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "Services", "resource://gre/modules/Services.jsm");

this.EXPORTED_SYMBOLS = ["AppConstants"];

// Immutable for export.
this.AppConstants = Object.freeze({
  // See this wiki page for more details about channel specific build
  // defines: https://wiki.mozilla.org/Platform/Channel-specific_build_defines
  NIGHTLY_BUILD:
//@line 22 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 24 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  RELEASE_OR_BETA:
//@line 27 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 31 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  ACCESSIBILITY:
//@line 34 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 38 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  // Official corresponds, roughly, to whether this build is performed
  // on Mozilla's continuous integration infrastructure. You should
  // disable developer-only functionality when this flag is set.
  MOZILLA_OFFICIAL:
//@line 46 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 48 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_OFFICIAL_BRANDING:
//@line 53 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 55 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_DEV_EDITION:
//@line 60 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 62 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_SERVICES_HEALTHREPORT:
//@line 65 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 69 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_DATA_REPORTING:
//@line 72 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 76 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_SANDBOX:
//@line 81 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 83 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_CONTENT_SANDBOX:
//@line 88 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 90 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_TELEMETRY_REPORTING:
//@line 95 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 97 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_TELEMETRY_ON_BY_DEFAULT:
//@line 102 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 104 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_SERVICES_CLOUDSYNC:
//@line 107 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 111 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_UPDATER:
//@line 116 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 118 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_SWITCHBOARD:
//@line 123 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 125 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_WEBRTC:
//@line 130 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 132 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_WIDGET_GTK:
//@line 135 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 139 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

//@line 141 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  MOZ_B2G:
//@line 145 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 147 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  XP_UNIX:
//@line 150 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 154 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

//@line 157 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  platform:
//@line 159 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  "linux",
//@line 173 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  isPlatformAndVersionAtLeast(platform, version) {
    let platformVersion = Services.sysinfo.getProperty("version");
    return platform == this.platform &&
           Services.vc.compare(platformVersion, version) >= 0;
  },

  isPlatformAndVersionAtMost(platform, version) {
    let platformVersion = Services.sysinfo.getProperty("version");
    return platform == this.platform &&
           Services.vc.compare(platformVersion, version) <= 0;
  },

  MOZ_CRASHREPORTER:
//@line 190 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 192 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_VERIFY_MAR_SIGNATURE:
//@line 197 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 199 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_MAINTENANCE_SERVICE:
//@line 204 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 206 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  E10S_TESTING_ONLY:
//@line 211 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 213 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  DEBUG:
//@line 218 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 220 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  ASAN:
//@line 225 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 227 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_B2G_RIL:
//@line 232 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 234 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_GRAPHENE:
//@line 239 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 241 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_SYSTEM_NSS:
//@line 244 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 248 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_PLACES:
//@line 251 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 255 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_REQUIRE_SIGNING:
//@line 260 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 262 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MENUBAR_CAN_AUTOHIDE:
//@line 265 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 269 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  CAN_DRAW_IN_TITLEBAR:
//@line 274 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 276 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_ANDROID_HISTORY:
//@line 281 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 283 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_TOOLKIT_SEARCH:
//@line 286 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  true,
//@line 290 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_ENABLE_PROFILER_SPS:
//@line 295 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 297 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  MOZ_ANDROID_ACTIVITY_STREAM:
//@line 302 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  false,
//@line 304 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  DLL_PREFIX: "lib",
  DLL_SUFFIX: ".so",

  MOZ_APP_NAME: "firefox",
  MOZ_APP_VERSION: "52.9.0",
  MOZ_APP_VERSION_DISPLAY: "52.9.0",
  MOZ_BUILD_APP: "browser",
  MOZ_MACBUNDLE_NAME: "Nightly.app",
  MOZ_UPDATE_CHANNEL: "default",
  INSTALL_LOCALE: "en-US",
  MOZ_WIDGET_TOOLKIT: "gtk3",
  ANDROID_PACKAGE_NAME: "org.mozilla.firefox",
  MOZ_B2G_VERSION: "1.0.0",
  MOZ_B2G_OS_NAME: "",

  DEBUG_JS_MODULES: "",

  // URL to the hg revision this was built from (e.g.
  // "https://hg.mozilla.org/mozilla-central/rev/6256ec9113c1")
  // On unofficial builds, this is an empty string.
//@line 328 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
  SOURCE_REVISION_URL: "",

  HAVE_USR_LIB64_DIR:
//@line 334 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
    false,
//@line 336 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"

  HAVE_SHELL_SERVICE:
//@line 339 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
    true,
//@line 343 "/pbulk/work/www/firefox52/work/firefox-52.9.0esr/toolkit/modules/AppConstants.jsm"
});
