summaryrefslogtreecommitdiffstats
path: root/browser/moz.configure
diff options
context:
space:
mode:
Diffstat (limited to 'browser/moz.configure')
-rw-r--r--browser/moz.configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/browser/moz.configure b/browser/moz.configure
new file mode 100644
index 0000000000..dbb5eb2650
--- /dev/null
+++ b/browser/moz.configure
@@ -0,0 +1,19 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+imply_option("MOZ_PLACES", True)
+imply_option("MOZ_SERVICES_HEALTHREPORT", True)
+imply_option("MOZ_SERVICES_SYNC", True)
+imply_option("MOZ_DEDICATED_PROFILES", True)
+imply_option("MOZ_BLOCK_PROFILE_DOWNGRADE", True)
+imply_option("MOZ_NORMANDY", True)
+
+with only_when(target_has_linux_kernel & compile_environment):
+ option(env="MOZ_NO_PIE_COMPAT", help="Enable non-PIE wrapper")
+
+ set_config("MOZ_NO_PIE_COMPAT", depends_if("MOZ_NO_PIE_COMPAT")(lambda _: True))
+
+include("../toolkit/moz.configure")