Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Feb 25, 2013
1 parent f3b710b commit 483ace0
Show file tree
Hide file tree
Showing 49 changed files with 247 additions and 74 deletions.
43 changes: 0 additions & 43 deletions layout/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,4 @@ include $(DEPTH)/config/autoconf.mk

MODULE = layout

PARALLEL_DIRS = \
style \
base \
generic \
forms \
tables \
svg \
xul/base/public \
xul/base/src \
ipc \
mathml \
$(NULL)

ifdef NS_PRINTING
PARALLEL_DIRS += printing
endif

ifdef MOZ_XUL
PARALLEL_DIRS += xul/tree xul/grid
endif

PARALLEL_DIRS += inspector/public inspector/src
ifdef ENABLE_TESTS
PARALLEL_DIRS += inspector/tests inspector/tests/chrome
endif

DIRS += build
DIRS += media

ifdef ENABLE_TESTS
PARALLEL_DIRS += \
mathml/tests \
xul/test \
xul/base/test \
$(NULL)

TOOL_DIRS += tools/reftest reftests/fonts reftests/fonts/mplus

ifdef MOZ_DEBUG
DIRS += tools/layout-debug
endif
endif

include $(topsrcdir)/config/rules.mk
2 changes: 0 additions & 2 deletions layout/base/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

TEST_DIRS += tests

MODULE = layout
XPIDL_MODULE = layout_base
GRE_MODULE = 1
Expand Down
6 changes: 6 additions & 0 deletions layout/base/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['tests']
8 changes: 0 additions & 8 deletions layout/base/tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ relativesrcdir = @relativesrcdir@

include $(DEPTH)/config/autoconf.mk

PARALLEL_DIRS += \
chrome \
$(NULL)

TOOL_DIRS := \
cpp-tests \
$(NULL)

MOCHITEST_FILES = \
border_radius_hit_testing_iframe.html \
test_preserve3d_sorting_hit_testing.html \
Expand Down
5 changes: 5 additions & 0 deletions layout/base/tests/chrome/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/base/tests/cpp-tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

7 changes: 7 additions & 0 deletions layout/base/tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['chrome']
TEST_TOOL_DIRS += ['cpp-tests']
5 changes: 5 additions & 0 deletions layout/build/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

4 changes: 0 additions & 4 deletions layout/forms/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = $(NULL)

TEST_DIRS += test

MODULE = layout
XPIDL_MODULE = layout_forms
LIBRARY_NAME = gkforms_s
Expand Down
6 changes: 6 additions & 0 deletions layout/forms/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['test']
5 changes: 5 additions & 0 deletions layout/forms/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

2 changes: 0 additions & 2 deletions layout/generic/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

TEST_DIRS += test

MODULE = layout
LIBRARY_NAME = gkgeneric_s
LIBXUL_LIBRARY = 1
Expand Down
6 changes: 6 additions & 0 deletions layout/generic/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['test']
5 changes: 5 additions & 0 deletions layout/generic/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/inspector/public/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/inspector/src/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/inspector/tests/chrome/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/inspector/tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/ipc/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/mathml/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/mathml/tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/media/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

46 changes: 46 additions & 0 deletions layout/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# vim: set filetype=python:
# 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/.

PARALLEL_DIRS += [
'style',
'base',
'generic',
'forms',
'tables',
'svg',
'xul/base/public',
'xul/base/src',
'ipc',
'mathml',
'inspector/public',
'inspector/src',
]

if CONFIG['NS_PRINTING']:
PARALLEL_DIRS += ['printing']

if CONFIG['MOZ_XUL']:
PARALLEL_DIRS += ['xul/tree', 'xul/grid']

if CONFIG['ENABLE_TESTS']:
PARALLEL_DIRS += [
'inspector/tests',
'inspector/tests/chrome',
'mathml/tests',
'xul/test',
'xul/base/test',
]

TEST_TOOL_DIRS += [
'tools/reftest',
'reftests/fonts',
'reftests/fonts/mplus',
]

DIRS += ['build', 'media']

if CONFIG['MOZ_DEBUG']:
TEST_DIRS += ['tools/layout-debug']

5 changes: 5 additions & 0 deletions layout/printing/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/reftests/fonts/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/reftests/fonts/mplus/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

6 changes: 0 additions & 6 deletions layout/style/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = xbl-marquee

ifdef ENABLE_TESTS
TOOL_DIRS = test
endif

MODULE = layout
LIBRARY_NAME = gkstyle_s
LIBXUL_LIBRARY = 1
Expand Down
7 changes: 7 additions & 0 deletions layout/style/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['xbl-marquee']
TEST_TOOL_DIRS += ['test']
3 changes: 0 additions & 3 deletions layout/style/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ include $(DEPTH)/config/autoconf.mk

MODULE = layout

DIRS += chrome \
$(NULL)

HOST_CPPSRCS = \
ListCSSProperties.cpp \
$(NULL)
Expand Down
5 changes: 5 additions & 0 deletions layout/style/test/chrome/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

6 changes: 6 additions & 0 deletions layout/style/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['chrome']
5 changes: 5 additions & 0 deletions layout/style/xbl-marquee/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/svg/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

3 changes: 0 additions & 3 deletions layout/tables/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ CPPSRCS = \
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1

TEST_DIRS += test


include $(topsrcdir)/config/rules.mk

DEFINES += -DDEBUG_TABLE_STRATEGY_off -D_IMPL_NS_LAYOUT
Expand Down
6 changes: 6 additions & 0 deletions layout/tables/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['test']
5 changes: 5 additions & 0 deletions layout/tables/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

2 changes: 0 additions & 2 deletions layout/tools/layout-debug/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

MODULE = layout_debug
DIRS = src ui
TEST_DIRS = tests

include $(topsrcdir)/config/rules.mk
7 changes: 7 additions & 0 deletions layout/tools/layout-debug/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['src', 'ui']
TEST_DIRS += ['tests']
5 changes: 5 additions & 0 deletions layout/tools/layout-debug/src/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/tools/layout-debug/tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/tools/layout-debug/ui/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/tools/reftest/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions layout/xul/base/public/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

1 change: 0 additions & 1 deletion layout/xul/base/src/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#
# 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/.
Expand Down
5 changes: 5 additions & 0 deletions layout/xul/base/src/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

Loading

0 comments on commit 483ace0

Please sign in to comment.