зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1850868 - Enable relrhack for android builds on automation. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D188411
This commit is contained in:
Родитель
ed72126fe9
Коммит
3c4fce5868
|
@ -1499,12 +1499,12 @@ with only_when("--enable-compile-environment"):
|
|||
if enable and enable != ("relr",):
|
||||
return enable
|
||||
|
||||
@depends("--enable-elf-hack", "MOZ_AUTOMATION", target, when=has_elfhack)
|
||||
def may_enable_relrhack(enable, automation, target):
|
||||
@depends("--enable-elf-hack", "MOZ_AUTOMATION", when=has_elfhack)
|
||||
def may_enable_relrhack(enable, automation):
|
||||
# For now, only enable relrhack when explicitly given with
|
||||
# --enable-elf-hack=relr. On automation, we automatically
|
||||
# enable it when possible.
|
||||
if automation and target.os != "Android" and enable and enable != ("legacy",):
|
||||
if automation and enable and enable != ("legacy",):
|
||||
return enable
|
||||
if enable == ("relr",):
|
||||
return enable
|
||||
|
|
Загрузка…
Ссылка в новой задаче