1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +ifeq ($(MOZ_WIDGET_TOOLKIT),$(findstring $(MOZ_WIDGET_TOOLKIT),android gonk)) 1.10 +OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(CAIRO_FT_CFLAGS) 1.11 +endif 1.12 + 1.13 +ifdef MOZ_WIDGET_GTK 1.14 +OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PANGO_CFLAGS) $(CAIRO_FT_CFLAGS) 1.15 +endif 1.16 + 1.17 +ifeq (qt,$(MOZ_WIDGET_TOOLKIT)) 1.18 +OS_CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PANGO_CFLAGS) $(CAIRO_FT_CFLAGS) 1.19 +endif 1.20 + 1.21 +include $(topsrcdir)/config/rules.mk 1.22 + 1.23 +ifeq ($(CPU_ARCH)_$(GNU_CC),arm_1) 1.24 +# The assembly uses the frame pointer register (r7 in Thumb/r11 in 1.25 +# ARM), the compiler doesn't like that. 1.26 +CXXFLAGS := $(filter-out -fno-omit-frame-pointer,$(CXXFLAGS)) -fomit-frame-pointer 1.27 +CFLAGS := $(filter-out -fno-omit-frame-pointer,$(CFLAGS)) -fomit-frame-pointer 1.28 +endif