gecko-dev/browser/moz.configure
Mike Hommey b772950f5b Bug 1802233 - target_is_linux_or_wasi was not meant to include Android. r=firefox-build-system-reviewers,ahochheiden
To avoid the confusion with target_is_linux meaning linux+android, we
rename target_is_linux to target_has_linux_kernel.

Naming is hard.

Differential Revision: https://phabricator.services.mozilla.com/D162913
2022-11-24 00:46:13 +00:00

20 lines
794 B
Python

# -*- 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")