2012-07-20 13:10:44 +04:00
|
|
|
# Copyright 2012 Mozilla Foundation and Mozilla contributors
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2012-02-20 19:15:19 +04:00
|
|
|
|
2012-09-13 20:37:14 +04:00
|
|
|
ifneq (,$(MOZ_B2G_BT))
|
2012-02-20 19:15:19 +04:00
|
|
|
|
2012-07-18 07:41:54 +04:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
2013-11-18 10:29:45 +04:00
|
|
|
ifdef MOZ_B2G_BT_BLUEZ
|
2012-07-18 07:41:54 +04:00
|
|
|
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS)
|
2013-11-18 10:29:45 +04:00
|
|
|
endif #MOZ_B2G_BT_BLUEZ
|
2012-07-18 07:41:54 +04:00
|
|
|
else
|
2012-05-08 01:50:25 +04:00
|
|
|
ifdef MOZ_ENABLE_DBUS
|
2012-07-18 07:41:54 +04:00
|
|
|
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS)
|
2012-05-08 01:50:25 +04:00
|
|
|
CFLAGS += $(MOZ_DBUS_GLIB_CFLAGS)
|
2014-02-23 06:42:12 +04:00
|
|
|
CXXFLAGS += $(MOZ_DBUS_GLIB_CFLAGS)
|
2013-11-18 10:29:45 +04:00
|
|
|
endif #MOZ_ENABLE_DBUS
|
|
|
|
endif #MOZ_WIDGET_TOOLKIT
|
|
|
|
endif #MOZ_B2G_BT
|