mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium
This commit is contained in:
parent
5880a2d573
commit
741e1ab301
@ -5,20 +5,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir) \
|
||||
-I.. \
|
||||
-I$(srcdir)/../glue \
|
||||
-I$(srcdir)/../base \
|
||||
-I$(srcdir)/../ds \
|
||||
-I$(srcdir)/../io \
|
||||
-I$(srcdir)/../components \
|
||||
-I$(srcdir)/../threads \
|
||||
-I$(srcdir)/../reflect/xptinfo/src \
|
||||
-I$(topsrcdir)/chrome/src \
|
||||
-I$(srcdir)/../../docshell/base \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
|
@ -78,3 +78,16 @@ if CONFIG['TARGET_XPCOM_ABI']:
|
||||
|
||||
if CONFIG['MOZ_OPTIMIZE']:
|
||||
DEFINES['MOZ_OPTIMIZE'] = True
|
||||
|
||||
GENERATED_INCLUDES += ['..']
|
||||
LOCAL_INCLUDES += [
|
||||
'../base',
|
||||
'../components',
|
||||
'../ds',
|
||||
'../glue',
|
||||
'../io',
|
||||
'../reflect/xptinfo/src',
|
||||
'../threads',
|
||||
'/chrome/src',
|
||||
'/docshell/base',
|
||||
]
|
||||
|
@ -3,16 +3,6 @@
|
||||
# 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/.
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../reflect/xptinfo/src \
|
||||
-I$(srcdir)/../base \
|
||||
-I$(srcdir)/../ds \
|
||||
-I$(srcdir)/../build \
|
||||
-I.. \
|
||||
-I$(topsrcdir)/chrome/src \
|
||||
-I$(topsrcdir)/modules/libjar \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifdef MOZ_WIDGET_GTK
|
||||
|
@ -43,3 +43,13 @@ FAIL_ON_WARNINGS = True
|
||||
MSVC_ENABLE_PGO = True
|
||||
|
||||
FINAL_LIBRARY = 'xpcom_core'
|
||||
|
||||
GENERATED_INCLUDES += ['..']
|
||||
LOCAL_INCLUDES += [
|
||||
'../base',
|
||||
'../build',
|
||||
'../ds',
|
||||
'../reflect/xptinfo/src',
|
||||
'/chrome/src',
|
||||
'/modules/libjar',
|
||||
]
|
||||
|
@ -1,7 +0,0 @@
|
||||
# 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/.
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
LOCAL_INCLUDES += -I..
|
@ -125,3 +125,5 @@ FINAL_LIBRARY = 'xpcom_core'
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Linux' and 'lib64' in CONFIG['libdir']:
|
||||
DEFINES['HAVE_USR_LIB64_DIR'] = True
|
||||
|
||||
GENERATED_INCLUDES += ['..']
|
||||
|
@ -10,9 +10,3 @@ include $(topsrcdir)/config/rules.mk
|
||||
ifdef _MSC_VER
|
||||
OS_COMPILE_CFLAGS += -Zl
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES += \
|
||||
-I../../../ \
|
||||
-I../../../base \
|
||||
-I$(topsrcdir)/xpcom/base \
|
||||
$(NULL)
|
||||
|
@ -13,3 +13,6 @@ UNIFIED_SOURCES += [
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xpcom_core'
|
||||
|
||||
GENERATED_INCLUDES += ['/xpcom/base']
|
||||
LOCAL_INCLUDES += ['/xpcom/base']
|
||||
|
@ -25,7 +25,6 @@ RCFLAGS += -DMOZ_XULRUNNER -I$(srcdir)
|
||||
else
|
||||
RCFLAGS += -DMOZ_XULRUNNER --include-dir $(srcdir)
|
||||
endif
|
||||
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre
|
||||
endif
|
||||
|
||||
ifndef MOZ_WINCONSOLE
|
||||
|
@ -27,3 +27,6 @@ LOCAL_INCLUDES += [
|
||||
|
||||
# Statically link against the RTL on windows
|
||||
USE_STATIC_LIBS = True
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
LOCAL_INCLUDES += ['/toolkit/xre']
|
||||
|
Loading…
Reference in New Issue
Block a user