ipc/testshell/moz.build
author Chris Peterson <cpeterson@mozilla.com>
Wed, 11 May 2016 00:00:01 -0700
changeset 338483 2572c0758dd4377a832c1e8ed16522dc829634ad
parent 294396 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 348206 3ec6380fca8207fa199693206a3ca24975bf9833
permissions -rw-r--r--
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium

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

EXPORTS.mozilla.ipc += [
    'TestShellChild.h',
    'TestShellParent.h',
    'XPCShellEnvironment.h',
]

XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

SOURCES += [
    'TestShellChild.cpp',
    'TestShellParent.cpp',
    'XPCShellEnvironment.cpp',
]

IPDL_SOURCES = [
    'PTestShell.ipdl',
    'PTestShellCommand.ipdl',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

# For xpcshell error messages and nsAutoJSString
LOCAL_INCLUDES += [
    '/dom/base',
    '/js/xpconnect/src',
]

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']