Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
6 ACDEFINES += -UWIN32_LEAN_AND_MEAN
7 endif
9 include $(topsrcdir)/config/rules.mk
11 DEFINES := $(filter-out -DUNICODE,$(DEFINES))
13 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
14 CFLAGS += $(MOZ_CAIRO_CFLAGS) $(TK_CFLAGS)
16 ifeq ($(MOZ_WIDGET_TOOLKIT),android)
17 CXXFLAGS += $(CAIRO_FT_CFLAGS)
18 endif
20 ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
21 CXXFLAGS += $(CAIRO_FT_CFLAGS)
22 endif
24 ifdef MOZ_WIDGET_GTK
25 CXXFLAGS += $(MOZ_PANGO_CFLAGS)
26 endif
28 ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
29 CXXFLAGS += $(CAIRO_FT_CFLAGS) $(MOZ_PANGO_CFLAGS)
30 endif
32 DeprecatedPremultiplyTables.h: $(srcdir)/genTables.py
33 $(PYTHON) $(srcdir)/genTables.py