2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsBrowserCompsCID.h',
|
|
|
|
]
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsModule.cpp',
|
|
|
|
]
|
|
|
|
|
2014-08-23 17:11:05 -07:00
|
|
|
XPCOMBinaryComponent('browsercomps')
|
2013-09-19 14:29:32 -07:00
|
|
|
|
2014-02-10 10:41:02 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../about',
|
|
|
|
'../dirprovider',
|
2014-07-26 09:31:52 -07:00
|
|
|
'../feeds',
|
2014-07-26 09:31:57 -07:00
|
|
|
'../migration',
|
2014-07-26 09:32:14 -07:00
|
|
|
'../shell',
|
2014-02-10 10:41:02 -08:00
|
|
|
]
|
2014-07-22 21:30:52 -07:00
|
|
|
|
2014-08-05 15:25:33 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
OS_LIBS += [
|
|
|
|
'ole32',
|
|
|
|
'shell32',
|
|
|
|
'shlwapi',
|
|
|
|
'version',
|
|
|
|
]
|
|
|
|
|
|
|
|
# Mac: Need to link with CoreFoundation for Mac Migrators (PList reading code)
|
|
|
|
# GTK2: Need to link with glib for GNOME shell service
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'gtk2', 'gtk3'):
|
|
|
|
OS_LIBS += CONFIG['TK_LIBS']
|
2014-12-10 22:56:31 -08:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|