mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
28 lines
825 B
Makefile
28 lines
825 B
Makefile
# 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/.
|
|
|
|
EXPORT_LIBRARY = 1
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
|
ifdef MOZ_WEBGL
|
|
DEFINES += -DMOZ_D3DCOMPILER_DLL=$(MOZ_D3DCOMPILER_DLL)
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
|
|
LOCAL_INCLUDES = -I$(topsrcdir)/widget/gonk
|
|
LOCAL_INCLUDES += -I$(ANDROID_SOURCE)/hardware/libhardware/include
|
|
endif
|
|
|
|
ifdef MOZ_ANDROID_OMTC
|
|
DEFINES += -DMOZ_ANDROID_OMTC
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
DEFINES := $(filter-out -DUNICODE,$(DEFINES))
|
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
|
|
CFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
|