# # 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/. VPATH = \ $(srcdir) \ $(srcdir)/basic \ $(srcdir)/client \ $(srcdir)/composite \ $(srcdir)/opengl \ $(srcdir)/d3d9 \ $(srcdir)/d3d10 \ $(srcdir)/d3d11 \ $(srcdir)/ipc \ $(NULL) ifdef MOZ_DEBUG DEFINES += -DD3D_DEBUG_INFO endif ifdef MOZ_ENABLE_D3D10_LAYER DEFINES += -DMOZ_ENABLE_D3D10_LAYER endif include $(topsrcdir)/config/rules.mk LOCAL_INCLUDES += \ -I$(topsrcdir)/content/events/src \ -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright \ -I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \ -I$(ANDROID_SOURCE)/frameworks/av/include/media/stagefright \ -I$(ANDROID_SOURCE)/frameworks/native/include/media/openmax \ $(NULL) CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS) ifdef _MSC_VER ifeq ($(CPU_ARCH),x86_64) # Workaround compiler bug (Bug 795594) NO_PROFILE_GUIDED_OPTIMIZE := \ LayerTreeInvalidation.cpp \ Layers.cpp \ $(NULL) endif endif