Merge m-c to b2g-inbound.
[gecko.git] / gfx / layers / Makefile.in
blobfebfc7cf8f53daf97512ee02e0b66bc3c895a515
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 VPATH = \
7 $(srcdir) \
8 $(srcdir)/basic \
9 $(srcdir)/client \
10 $(srcdir)/composite \
11 $(srcdir)/opengl \
12 $(srcdir)/d3d9 \
13 $(srcdir)/d3d10 \
14 $(srcdir)/d3d11 \
15 $(srcdir)/ipc \
16 $(NULL)
18 ifdef MOZ_DEBUG
19 DEFINES += -DD3D_DEBUG_INFO
20 endif
22 ifdef MOZ_ENABLE_D3D10_LAYER
23 DEFINES += -DMOZ_ENABLE_D3D10_LAYER
24 endif
26 include $(topsrcdir)/config/rules.mk
28 LOCAL_INCLUDES += \
29 -I$(topsrcdir)/content/events/src \
30 -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright \
31 -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
32 -I$(ANDROID_SOURCE)/frameworks/av/include/media/stagefright \
33 -I$(ANDROID_SOURCE)/frameworks/native/include/media/openmax \
34 $(NULL)
36 CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
38 ifdef _MSC_VER
39 ifeq ($(CPU_ARCH),x86_64)
40 # Workaround compiler bug (Bug 795594)
41 NO_PROFILE_GUIDED_OPTIMIZE := \
42 LayerTreeInvalidation.cpp \
43 Layers.cpp \
44 $(NULL)
45 endif
46 endif