2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -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-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIParentalControlsService.idl',
|
|
|
|
]
|
|
|
|
|
2013-11-18 18:47:43 -08:00
|
|
|
XPIDL_MODULE = 'parentalcontrols'
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2014-05-05 11:24:25 -07:00
|
|
|
if not CONFIG['MOZ_DISABLE_PARENTAL_CONTROLS']:
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
SOURCES += [
|
|
|
|
'nsParentalControlsServiceWin.cpp',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsParentalControlsServiceCocoa.mm',
|
|
|
|
]
|
2014-08-20 06:10:06 -07:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsParentalControlsServiceAndroid.cpp',
|
|
|
|
]
|
2014-05-05 11:24:25 -07:00
|
|
|
else:
|
|
|
|
SOURCES += [
|
|
|
|
'nsParentalControlsServiceDefault.cpp',
|
|
|
|
]
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|