browser/components/moz.build
author Mark Banner <standard8@mozilla.com>
Fri, 27 Nov 2015 18:57:40 +0000
changeset 274513 d6754894897cbf3eafe0f15fb2f4389024a814dd
parent 274350 3320ed6efa63f5f900fca00aee43acc40e3f835a
child 274528 c95f8e8955b0ee3a807d1d8f7887e6286580a0fa
permissions -rw-r--r--
Bug 1223573 - Part 4. Build system changes for Loop as a system add-on. r=mikedeboer,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/.

DIRS += [
    'about',
    'customizableui',
    'dirprovider',
    'downloads',
    'extensions',
    'feeds',
    'migration',
    'newtab',
    'places',
    'pocket',
    'preferences',
    'privatebrowsing',
    'search',
    'sessionstore',
    'shell',
    'selfsupport',
    'tabview',
    'uitour',
    'translation',
]

DIRS += ['build']

XPIDL_SOURCES += [
    'nsIAboutNewTabService.idl',
    'nsIBrowserGlue.idl',
    'nsIBrowserHandler.idl',
]

XPIDL_MODULE = 'browsercompsbase'

EXTRA_PP_COMPONENTS += [
    'BrowserComponents.manifest',
    'nsBrowserGlue.js',
]

EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
]

EXTRA_JS_MODULES += [
    'distribution.js',
]

BROWSER_CHROME_MANIFESTS += [
    'test/browser.ini'
]

if CONFIG['MOZ_SAFE_BROWSING']:
    BROWSER_CHROME_MANIFESTS += ['safebrowsing/content/test/browser.ini']

with Files('safebrowsing/*'):
    BUG_COMPONENT = ('Toolkit', 'Phishing Protection')

with Files('controlcenter/**'):
    BUG_COMPONENT = ('Firefox', 'General')

if CONFIG['MOZ_REQUIRE_SIGNING']:
    DEFINES['MOZ_REQUIRE_SIGNING'] = 1