b2g/locales/filter.py
author Chris Peterson <cpeterson@mozilla.com>
Mon, 14 Jul 2014 19:14:54 -0700
changeset 193973 f8f7b0e89bcfdef690759c38b266ab1fb1002595
parent 114612 b88467155adc05de38258af53d51e2ba381a1284
child 271147 a907d19137109d7bda15ebf09a67ec3e889fd466
permissions -rw-r--r--
Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff

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


def test(mod, path, entity = None):
  import re
  # ignore anything but b2g and specific overloads from dom and toolkit
  if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                 "mobile",
                 "b2g"):
    return "ignore"

  return "error"