intl/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 24 Jul 2014 13:43:56 +0900
changeset 195822 34235900c3a0e300afb1911489fa6e0c8d67df76
parent 126871 5f4f68f0041964124afe3ee7012de446c946c2df
child 196456 22850cacf0f9527a7408375aa9270ebe835175a4
permissions -rw-r--r--
Bug 1036286 - Make sure libraries loaded by faulty.lib use its own sigaction. r=nfroyd Android L added a libsigchain library it LD_PRELOADs. That library exposes a different sigaction than libc's. It's used for ART. faulty.lib gets its sigaction from libsigchain, but after bug 874708, the libraries it loads simply use libc's sigaction, assuming it would be the hooked one. In turn, this means libraries loaded by faulty.lib may override faulty.lib's handler, which is definitely not the intent. This essentially restores some of the code that bug 874708 removed. An alternative fix would be to add support for LD_PRELOAD, but that has more implications and feels more risky. This could be done, if necessary, as a followup.

# -*- Mode: python; c-basic-offset: 4; 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/.

PARALLEL_DIRS += [
    'hyphenation',
    'locale',
    'locales',
    'lwbrk',
    'strres',
    'unicharutil',
]

DIRS += [
    'uconv',
    'build',
]