gecko/ipc/chromium/chromium-config.mk
Nicholas Nethercote 0293b60b78 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00

121 lines
1.9 KiB
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/.
ifndef INCLUDED_CONFIG_MK
$(error Must include config.mk before this file.)
endif
ifdef CHROMIUM_CONFIG_INCLUDED
$(error Must not include chromium-config.mk twice.)
endif
CHROMIUM_CONFIG_INCLUDED = 1
EXTRA_DEPS += $(topsrcdir)/ipc/chromium/chromium-config.mk
DEFINES += \
-DEXCLUDE_SKIA_DEPENDENCIES \
$(NULL)
LOCAL_INCLUDES += \
-I$(topsrcdir)/ipc/chromium/src \
-I$(topsrcdir)/ipc/glue \
-I$(DEPTH)/ipc/ipdl/_ipdlheaders \
$(NULL)
ifeq ($(OS_ARCH),WINNT) # {
OS_LIBS += $(call EXPAND_LIBNAME,psapi shell32 dbghelp)
OS_WIN = 1
DEFINES += \
-DUNICODE \
-D_UNICODE \
-DNOMINMAX \
-D_CRT_RAND_S \
-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS \
-D_SECURE_ATL \
-DCHROMIUM_BUILD \
-DU_STATIC_IMPLEMENTATION \
-DOS_WIN=1 \
-DWIN32 \
-D_WIN32 \
-D_WINDOWS \
-DWIN32_LEAN_AND_MEAN \
$(NULL)
ifdef _MSC_VER
DEFINES += -DCOMPILER_MSVC
endif
else # } {
OS_POSIX = 1
DEFINES += -DOS_POSIX=1
ifeq ($(OS_ARCH),Darwin) # {
OS_MACOSX = 1
DEFINES += \
-DOS_MACOSX=1 \
$(NULL)
else # } {
ifeq ($(OS_ARCH),DragonFly) # {
OS_DRAGONFLY = 1
OS_BSD = 1
OS_LIBS += $(call EXPAND_LIBNAME,kvm)
DEFINES += \
-DOS_DRAGONFLY=1 \
-DOS_BSD=1 \
$(NULL)
else # } {
ifeq ($(OS_ARCH),FreeBSD) # {
OS_FREEBSD = 1
OS_BSD = 1
OS_LIBS += $(call EXPAND_LIBNAME,kvm)
DEFINES += \
-DOS_FREEBSD=1 \
-DOS_BSD=1 \
$(NULL)
else # } {
ifeq ($(OS_ARCH),NetBSD) # {
OS_NETBSD = 1
OS_BSD = 1
OS_LIBS += $(call EXPAND_LIBNAME,kvm)
DEFINES += \
-DOS_NETBSD=1 \
-DOS_BSD=1 \
$(NULL)
else # } {
ifeq ($(OS_ARCH),OpenBSD) # {
OS_OPENBSD = 1
OS_BSD = 1
OS_LIBS += $(call EXPAND_LIBNAME,kvm)
DEFINES += \
-DOS_OPENBSD=1 \
-DOS_BSD=1 \
$(NULL)
else # } {
OS_LINUX = 1
DEFINES += \
-DOS_LINUX=1 \
$(NULL)
endif # }
endif # }
endif # }
endif # }
endif # }
endif # }