Bug 937224 - Part e: Move LOCAL_INCLUDES to moz.build in layout/; r=mshal

This commit is contained in:
Ms2ger 2013-11-28 15:23:10 +01:00
Родитель 6020ff9031
Коммит a4892d2e12
28 изменённых файлов: 224 добавлений и 274 удалений

Просмотреть файл

@ -5,25 +5,4 @@
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \
-I$(srcdir) \
-I$(srcdir)/../style \
-I$(srcdir)/../generic \
-I$(srcdir)/../forms \
-I$(srcdir)/../tables \
-I$(srcdir)/../printing \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../xul/tree/ \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../content/events/src \
-I$(srcdir)/../../content/xbl/src \
-I$(srcdir)/../../view/src \
-I$(srcdir)/../../dom/base \
-I$(srcdir)/../../content/html/content/src \
-I$(srcdir)/../../content/svg/content/src \
-I$(topsrcdir)/xpcom/ds \
-I$(srcdir)/../svg \
-I$(srcdir)/../mathml \
$(NULL)
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)

Просмотреть файл

@ -114,6 +114,24 @@ MSVC_ENABLE_PGO = True
include('/ipc/chromium/chromium-config.mozbuild')
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/events/src',
'../../content/html/content/src',
'../../content/svg/content/src',
'../../content/xbl/src',
'../../dom/base',
'../../view/src',
'../forms',
'../generic',
'../mathml',
'../printing',
'../style',
'../svg',
'../tables',
'../xul/base/src',
'../xul/tree/',
'/docshell/base',
'/xpcom/ds',
]
FINAL_LIBRARY = 'gklayout'

Просмотреть файл

@ -8,112 +8,20 @@ ifeq ($(OS_ARCH),SunOS)
SHELL := ksh
endif
ifneq (,$(filter qt gtk2 gtk3,$(MOZ_WIDGET_TOOLKIT)))
LOCAL_INCLUDES += \
-I$(topsrcdir)/dom/system/unix \
$(NULL)
else ifneq (,$(filter windows,$(MOZ_WIDGET_TOOLKIT)))
LOCAL_INCLUDES += \
-I$(topsrcdir)/dom/system/windows \
$(NULL)
else ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
LOCAL_INCLUDES += \
-I$(topsrcdir)/dom/system/mac \
$(NULL)
else ifneq (,$(filter android,$(MOZ_WIDGET_TOOLKIT)))
LOCAL_INCLUDES += \
-I$(topsrcdir)/dom/system/android \
-I$(topsrcdir)/dom/system \
$(NULL)
endif
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
INCLUDES += \
-I$(srcdir)/../../base/src \
-I$(srcdir)/../../html/content/src \
-I$(ANDROID_SOURCE)/dalvik/libnativehelper/include/nativehelper \
-I$(ANDROID_SOURCE)/frameworks/base/include/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/binder/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/utils/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
-I$(ANDROID_SOURCE)/frameworks/base/media/libstagefright/include \
$(NULL)
endif
LOCAL_INCLUDES += \
-I$(srcdir)/../inspector/src \
$(NULL)
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += -I$(srcdir)/../base \
-I$(srcdir)/../generic \
-I$(srcdir)/../forms \
-I$(srcdir)/../tables \
-I$(srcdir)/../style \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../mathml \
-I$(topsrcdir)/content/base/src \
-I$(topsrcdir)/content/canvas/src \
-I$(topsrcdir)/content/html/content/src \
-I$(topsrcdir)/content/html/document/src \
-I$(topsrcdir)/content/xslt/src/base \
-I$(topsrcdir)/content/xslt/src/xml \
-I$(topsrcdir)/content/xslt/src/xpath \
-I$(topsrcdir)/content/xslt/src/xslt \
-I$(topsrcdir)/content/xul/content/src \
-I$(topsrcdir)/content/xul/document/src \
-I$(topsrcdir)/content/xul/templates/src \
-I$(topsrcdir)/content/events/src \
-I$(topsrcdir)/content/xbl/src \
-I$(topsrcdir)/view/src \
-I$(topsrcdir)/dom/base \
-I$(topsrcdir)/dom/file \
-I$(topsrcdir)/dom/src/json \
-I$(topsrcdir)/dom/src/jsurl \
-I$(topsrcdir)/dom/src/storage \
-I$(topsrcdir)/dom/src/offline \
-I$(topsrcdir)/dom/src/geolocation \
-I$(topsrcdir)/dom/audiochannel \
-I$(topsrcdir)/dom/telephony \
-I$(topsrcdir)/dom/media \
-I$(topsrcdir)/dom/speakermanager \
-I. \
-I$(topsrcdir)/editor/libeditor/base \
-I$(topsrcdir)/editor/libeditor/text \
-I$(topsrcdir)/editor/libeditor/html \
-I$(topsrcdir)/editor/txmgr/src \
-I$(topsrcdir)/editor/txtsvc/src \
-I$(topsrcdir)/editor/composer/src \
-I$(topsrcdir)/js/xpconnect/src \
-I$(topsrcdir)/js/xpconnect/loader \
-I$(topsrcdir)/caps/include \
-I$(topsrcdir)/netwerk/base/src \
-I$(topsrcdir)/content/svg/content/src \
-I$(topsrcdir)/extensions/cookie \
-I$(topsrcdir)/netwerk/cookie \
$(NULL)
ifdef MOZ_GSTREAMER
LOCAL_INCLUDES += $(GSTREAMER_CFLAGS)
CXXFLAGS += $(GSTREAMER_CFLAGS)
endif
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
LOCAL_INCLUDES += -I$(topsrcdir)/dom/system/gonk
LOCAL_INCLUDES += -I$(topsrcdir)/dom/speakermanager
endif #}
ifdef MOZ_B2G_FM #{
LOCAL_INCLUDES += -I$(topsrcdir)/dom/fmradio
endif #}
ifdef MOZ_B2G_BT #{
LOCAL_INCLUDES += -I$(topsrcdir)/dom/bluetooth
endif #}
ifdef MOZ_WEBSPEECH #{
LOCAL_INCLUDES += -I$(topsrcdir)/content/media/webspeech/synth
endif #}
LOCAL_INCLUDES += -I$(topsrcdir)/dom/camera
CXXFLAGS += \
-I$(ANDROID_SOURCE)/dalvik/libnativehelper/include/nativehelper \
-I$(ANDROID_SOURCE)/frameworks/base/include/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/binder/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/utils/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/ \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
-I$(ANDROID_SOURCE)/frameworks/base/media/libstagefright/include \
$(NULL)
endif

Просмотреть файл

@ -30,6 +30,91 @@ LIBRARY_NAME = 'gklayout'
include('/ipc/chromium/chromium-config.mozbuild')
LOCAL_INCLUDES += [
'../base',
'../forms',
'../generic',
'../inspector/src',
'../mathml',
'../style',
'../tables',
'../xul/base/src',
'/caps/include',
'/content/base/src',
'/content/canvas/src',
'/content/events/src',
'/content/html/content/src',
'/content/html/document/src',
'/content/svg/content/src',
'/content/xbl/src',
'/content/xslt/src/base',
'/content/xslt/src/xml',
'/content/xslt/src/xpath',
'/content/xslt/src/xslt',
'/content/xul/content/src',
'/content/xul/document/src',
'/content/xul/templates/src',
'/docshell/base',
'/dom/audiochannel',
'/dom/base',
'/dom/camera',
'/dom/file',
'/dom/media',
'/dom/speakermanager',
'/dom/src/geolocation',
'/dom/src/json',
'/dom/src/jsurl',
'/dom/src/offline',
'/dom/src/storage',
'/dom/telephony',
'/editor/composer/src',
'/editor/libeditor/base',
'/editor/libeditor/html',
'/editor/libeditor/text',
'/editor/txmgr/src',
'/editor/txtsvc/src',
'/extensions/cookie',
'/js/xpconnect/loader',
'/js/xpconnect/src',
'/netwerk/base/src',
'/netwerk/cookie',
'/view/src',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('qt', 'gtk2', 'gtk3'):
LOCAL_INCLUDES += [
'/dom/system/unix',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
LOCAL_INCLUDES += [
'/dom/system/windows',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
LOCAL_INCLUDES += [
'/dom/system/mac',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
LOCAL_INCLUDES += [
'/dom/system',
'/dom/system/android',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
LOCAL_INCLUDES += [
'/dom/system/gonk',
]
if CONFIG['MOZ_B2G_FM']:
LOCAL_INCLUDES += [
'/dom/fmradio',
]
if CONFIG['MOZ_B2G_BT']:
LOCAL_INCLUDES += [
'/dom/bluetooth',
]
if CONFIG['MOZ_WEBSPEECH']:
LOCAL_INCLUDES += [
'/content/media/webspeech/synth',
]
FINAL_LIBRARY = 'xul'

Просмотреть файл

@ -1,17 +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$(srcdir)/../base \
-I$(srcdir)/../generic \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../content/html/content/src \
-I$(srcdir)/../../editor/libeditor/base \
-I$(srcdir)/../../editor/libeditor/text \
-I$(srcdir)/../../editor/txmgr/src \
$(NULL)

Просмотреть файл

@ -41,3 +41,14 @@ FAIL_ON_WARNINGS = True
MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/html/content/src',
'../../editor/libeditor/base',
'../../editor/libeditor/text',
'../../editor/txmgr/src',
'../base',
'../generic',
'../xul/base/src',
]

Просмотреть файл

@ -8,19 +8,7 @@ RESOURCES_HTML = \
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \
-I$(srcdir) \
-I$(srcdir)/../base \
-I$(srcdir)/../forms \
-I$(srcdir)/../style \
-I$(srcdir)/../tables \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../../content/xul/content/src \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../content/html/content/src \
-I$(srcdir)/../../dom/base \
-I$(srcdir)/../../dom/plugins/base \
-I$(srcdir)/../svg \
CXXFLAGS += \
$(MOZ_CAIRO_CFLAGS) \
$(MOZ_PIXMAN_CFLAGS) \
$(NULL)

Просмотреть файл

@ -106,3 +106,17 @@ MSVC_ENABLE_PGO = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/html/content/src',
'../../content/xul/content/src',
'../../dom/base',
'../../dom/plugins/base',
'../base',
'../forms',
'../style',
'../svg',
'../tables',
'../xul/base/src',
]

Просмотреть файл

@ -1,10 +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/.
LOCAL_INCLUDES += \
-I$(srcdir)/../../style \
-I$(topsrcdir)/content/base/src \
-I$(topsrcdir)/content/xbl/src \
$(NULL)

Просмотреть файл

@ -28,3 +28,9 @@ if CONFIG['MOZ_XUL']:
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../style',
'/content/base/src',
'/content/xbl/src',
]

Просмотреть файл

@ -1,12 +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$(topsrcdir)/content/base/src \
-I$(topsrcdir)/layout/base \
-I$(topsrcdir)/layout/generic \
-I$(topsrcdir)/layout/xul/base/src \
$(NULL)

Просмотреть файл

@ -24,3 +24,10 @@ FAIL_ON_WARNINGS = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'/content/base/src',
'/layout/base',
'/layout/generic',
'/layout/xul/base/src',
]

Просмотреть файл

@ -4,16 +4,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)/../style \
-I$(srcdir)/../base \
-I$(srcdir)/../generic \
-I$(srcdir)/../tables \
-I$(topsrcdir)/content/base/src \
-I$(topsrcdir)/content/mathml/content/src \
-I$(srcdir)/../xul/base/src \
$(NULL)
include $(topsrcdir)/config/rules.mk
font_properties = \

Просмотреть файл

@ -32,3 +32,13 @@ UNIFIED_SOURCES += [
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../base',
'../generic',
'../style',
'../tables',
'../xul/base/src',
'/content/base/src',
'/content/mathml/content/src',
]

Просмотреть файл

@ -1,10 +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$(srcdir)/../base \
-I$(srcdir)/../../content/base/src \
$(NULL)

Просмотреть файл

@ -27,3 +27,8 @@ SOURCES += [
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../base',
]

Просмотреть файл

@ -14,17 +14,6 @@ structlist_TARGET := export
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \
-I$(srcdir)/../base \
-I$(topsrcdir)/dom/base \
-I$(srcdir)/../generic \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../content/html/content/src \
-I$(srcdir)/../../content/xbl/src \
-I$(srcdir)/../../content/xul/document/src \
$(NULL)
nsStyleStructList.h : $(srcdir)/generate-stylestructlist.py
$(PYTHON) $< > $@

Просмотреть файл

@ -133,3 +133,14 @@ MSVC_ENABLE_PGO = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/html/content/src',
'../../content/xbl/src',
'../../content/xul/document/src',
'../base',
'../generic',
'../xul/base/src',
'/dom/base',
]

Просмотреть файл

@ -5,15 +5,5 @@
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../base \
-I$(srcdir)/../generic \
-I$(srcdir)/../style \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../../content/svg/content/src \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../widget \
$(NULL)
libs::
$(INSTALL) $(srcdir)/svg.css $(DIST)/bin/res

Просмотреть файл

@ -49,3 +49,13 @@ UNIFIED_SOURCES += [
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/svg/content/src',
'../../widget',
'../base',
'../generic',
'../style',
'../xul/base/src',
]

Просмотреть файл

@ -1,16 +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$(srcdir)/../base \
-I$(srcdir)/../generic \
-I$(srcdir)/../style \
-I$(srcdir)/../xul/base/src \
-I$(srcdir)/../../content/html/content/src \
-I$(srcdir)/../../content/base/src \
-I$(srcdir)/../../intl/unicharutil/util \
$(NULL)

Просмотреть файл

@ -31,4 +31,14 @@ MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../content/base/src',
'../../content/html/content/src',
'../../intl/unicharutil/util',
'../base',
'../generic',
'../style',
'../xul/base/src',
]
DEFINES['DEBUG_TABLE_STRATEGY_off'] = True

Просмотреть файл

@ -1,14 +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$(srcdir) \
-I$(srcdir)/../../../base \
-I$(srcdir)/../../../../content/base/src \
-I$(srcdir)/../../../../content/events/src \
-I$(srcdir)/../../../generic \
-I$(srcdir)/../../../style \
$(NULL)

Просмотреть файл

@ -57,3 +57,11 @@ FAIL_ON_WARNINGS = True
MSVC_ENABLE_PGO = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../../../content/base/src',
'../../../../content/events/src',
'../../../base',
'../../../generic',
'../../../style',
]

Просмотреть файл

@ -1,12 +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/.
LOCAL_INCLUDES = \
-I$(srcdir) \
-I$(srcdir)/../base/src \
-I$(srcdir)/../../generic \
-I$(srcdir)/../../style \
-I$(srcdir)/../../forms \
$(NULL)

Просмотреть файл

@ -31,3 +31,10 @@ UNIFIED_SOURCES += [
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../forms',
'../../generic',
'../../style',
'../base/src',
]

Просмотреть файл

@ -1,15 +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/.
LOCAL_INCLUDES = \
-I$(srcdir) \
-I$(topsrcdir)/content/events/src \
-I$(topsrcdir)/content/base/src \
-I$(srcdir)/../base/src \
-I$(srcdir)/../../base \
-I$(srcdir)/../../generic \
-I$(srcdir)/../../style \
-I$(srcdir)/../../forms \
$(NULL)

Просмотреть файл

@ -34,3 +34,13 @@ UNIFIED_SOURCES += [
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'gklayout'
LOCAL_INCLUDES += [
'../../base',
'../../forms',
'../../generic',
'../../style',
'../base/src',
'/content/base/src',
'/content/events/src',
]