1# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2# vim: set filetype=python: 3# This Source Code Form is subject to the terms of the Mozilla Public 4# License, v. 2.0. If a copy of the MPL was not distributed with this 5# file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7with Files("**"): 8 BUG_COMPONENT = ("Toolkit", "General") 9 10XPIDL_SOURCES += [ 11 "nsIParentalControlsService.idl", 12] 13 14XPIDL_MODULE = "parentalcontrols" 15 16if not CONFIG["MOZ_DISABLE_PARENTAL_CONTROLS"]: 17 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": 18 SOURCES += [ 19 "nsParentalControlsServiceWin.cpp", 20 ] 21 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": 22 UNIFIED_SOURCES += [ 23 "nsParentalControlsServiceCocoa.mm", 24 ] 25 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android": 26 UNIFIED_SOURCES += [ 27 "nsParentalControlsServiceAndroid.cpp", 28 ] 29 else: 30 SOURCES += [ 31 "nsParentalControlsServiceDefault.cpp", 32 ] 33 34FINAL_LIBRARY = "xul" 35