2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04: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/.
|
|
|
|
|
2014-08-27 21:12:11 +04:00
|
|
|
DIRS += ['interfaces']
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'CellBroadcast.h',
|
2014-08-15 09:13:05 +04:00
|
|
|
'CellBroadcastMessage.h',
|
2014-08-27 21:12:11 +04:00
|
|
|
]
|
|
|
|
|
2014-10-22 16:28:26 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2014-08-27 21:12:11 +04:00
|
|
|
'CellBroadcast.cpp',
|
2014-08-15 09:13:05 +04:00
|
|
|
'CellBroadcastMessage.cpp',
|
2014-08-18 13:06:11 +04:00
|
|
|
'ipc/CellBroadcastIPCService.cpp',
|
|
|
|
'ipc/CellBroadcastParent.cpp',
|
2014-08-27 21:12:11 +04:00
|
|
|
]
|
|
|
|
|
2015-02-27 00:51:20 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL'] and not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
|
2014-08-13 06:35:23 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/CellBroadcastService.js',
|
|
|
|
'gonk/CellBroadcastService.manifest',
|
|
|
|
]
|
|
|
|
|
2014-08-18 13:06:11 +04:00
|
|
|
EXPORTS.mozilla.dom.cellbroadcast += [
|
|
|
|
'ipc/CellBroadcastIPCService.h',
|
|
|
|
'ipc/CellBroadcastParent.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PCellBroadcast.ipdl',
|
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-08-27 21:12:11 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2015-09-23 07:39:03 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wshadow']
|