Skip to content

Commit

Permalink
Bug 784841 - Part 18ν: Convert /xpcom; 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 38044f2 commit b26d79d
Show file tree
Hide file tree
Showing 63 changed files with 322 additions and 98 deletions.
40 changes: 0 additions & 40 deletions xpcom/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,8 @@ include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
GRE_MODULE = 1

DIRS = \
idl-parser \
typelib \
string \
glue \
base \
ds \
io \
components \
threads \
reflect \
system \
../chrome \
build \
$(NULL)

ifeq ($(OS_ARCH),WINNT)
ifdef MOZ_DEBUG
DIRS += windbgdlg
endif
endif

ifdef ENABLE_TESTS
TOOL_DIRS += \
tests \
sample \
typelib/xpt/tests \
$(NULL)

# Can't build internal xptcall tests that use symbols which are not exported.
#TOOL_DIRS += \
# reflect/xptinfo/tests \
# reflect/xptcall/tests \
# $(NULL)
endif

# xpcom-config.h is generated by configure
SDK_HEADERS = xpcom-config.h

ifdef DEHYDRA_PATH
DIRS += analysis
endif

include $(topsrcdir)/config/rules.mk

5 changes: 5 additions & 0 deletions xpcom/analysis/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 xpcom/base/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 xpcom/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/.

5 changes: 5 additions & 0 deletions xpcom/components/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 xpcom/ds/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/.

8 changes: 0 additions & 8 deletions xpcom/glue/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ include $(srcdir)/objs.mk

EXTRA_DEPS += $(srcdir)/objs.mk

DIRS = standalone nomozalloc

# On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
# a statically linked glue lib.
ifeq ($(OS_ARCH),WINNT)
DIRS += staticruntime
endif

MODULE = xpcom
LIBRARY_NAME = xpcomglue_s
DIST_INSTALL = 1
Expand Down
11 changes: 11 additions & 0 deletions xpcom/glue/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 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 += ['standalone', 'nomozalloc']

# On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
# a statically linked glue lib.
if CONFIG['OS_ARCH'] == 'WINNT':
DIRS += ['staticruntime']
5 changes: 5 additions & 0 deletions xpcom/glue/nomozalloc/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 xpcom/glue/standalone/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ include $(srcdir)/../objs.mk

EXTRA_DEPS += $(srcdir)/../objs.mk

# On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
# a statically linked glue lib.
ifeq ($(OS_ARCH),WINNT)
DIRS += staticruntime
endif

MODULE = xpcom
LIBRARY_NAME = xpcomglue
DIST_INSTALL = 1
Expand Down
9 changes: 9 additions & 0 deletions xpcom/glue/standalone/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 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/.

# On win we build two glue libs - glue linked to crt dlls here and in staticruntime we build
# a statically linked glue lib.
if CONFIG['OS_ARCH'] == 'WINNT':
DIRS += ['staticruntime']
5 changes: 5 additions & 0 deletions xpcom/glue/standalone/staticruntime/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 xpcom/glue/staticruntime/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 xpcom/idl-parser/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 xpcom/io/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/.

38 changes: 38 additions & 0 deletions xpcom/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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 += [
'idl-parser',
'typelib',
'string',
'glue',
'base',
'ds',
'io',
'components',
'threads',
'reflect',
'system',
'../chrome',
'build',
]

if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEBUG']:
DIRS += ['windbgdlg']

TEST_TOOL_DIRS += [
'tests',
'sample',
'typelib/xpt/tests',
]

# Can't build internal xptcall tests that use symbols which are not exported.
#TEST_TOOL_DIRS += [
# 'reflect/xptinfo/tests',
# 'reflect/xptcall/tests,
#]

if CONFIG['DEHYDRA_PATH']:
DIRS += ['analysis']
1 change: 0 additions & 1 deletion xpcom/reflect/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

MODULE = xpcom
DIRS = xptinfo xptcall

include $(topsrcdir)/config/rules.mk

6 changes: 6 additions & 0 deletions xpcom/reflect/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/.

DIRS += ['xptinfo', 'xptcall']
1 change: 0 additions & 1 deletion xpcom/reflect/xptcall/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

MODULE = xpcom
DIRS = public src

include $(topsrcdir)/config/rules.mk

6 changes: 6 additions & 0 deletions xpcom/reflect/xptcall/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/.

DIRS += ['public', 'src']
5 changes: 5 additions & 0 deletions xpcom/reflect/xptcall/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/.

3 changes: 0 additions & 3 deletions xpcom/reflect/xptcall/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ MODULE = xpcom
LIBRARY_NAME = xptcall
MOZILLA_INTERNAL_API = 1

DIRS = md


CPPSRCS = xptcall.cpp

# we don't want the shared lib, but we want to force the creation of a static lib.
Expand Down
10 changes: 0 additions & 10 deletions xpcom/reflect/xptcall/src/md/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,5 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

ifeq ($(OS_ARCH),OS2)
DIRS = os2
else
ifeq ($(OS_ARCH),WINNT)
DIRS = win32
else
DIRS = unix
endif
endif

include $(topsrcdir)/config/rules.mk

13 changes: 13 additions & 0 deletions xpcom/reflect/xptcall/src/md/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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/.

arch = CONFIG['OS_ARCH']

if arch == 'OS2':
DIRS += ['os2']
elif arch == 'WINNT':
DIRS += ['win32']
else:
DIRS += ['unix']
5 changes: 5 additions & 0 deletions xpcom/reflect/xptcall/src/md/os2/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 xpcom/reflect/xptcall/src/md/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 xpcom/reflect/xptcall/src/md/unix/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 xpcom/reflect/xptcall/src/md/win32/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 xpcom/reflect/xptcall/src/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 += ['md']
5 changes: 5 additions & 0 deletions xpcom/reflect/xptcall/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/.

1 change: 0 additions & 1 deletion xpcom/reflect/xptinfo/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

MODULE = xpcom
DIRS = public src

include $(topsrcdir)/config/rules.mk

6 changes: 6 additions & 0 deletions xpcom/reflect/xptinfo/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/.

DIRS += ['public', 'src']
5 changes: 5 additions & 0 deletions xpcom/reflect/xptinfo/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 xpcom/reflect/xptinfo/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 xpcom/reflect/xptinfo/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/.

3 changes: 0 additions & 3 deletions xpcom/sample/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

# This makefile builds the "program" subdirectory.
DIRS = program

# MODULE specifies where header files from this Makefile are installed,
# i.e. dist/include/xpcomsample
MODULE = xpcomsample
Expand Down
6 changes: 6 additions & 0 deletions xpcom/sample/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/.

DIRS += ['program']
5 changes: 5 additions & 0 deletions xpcom/sample/program/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 xpcom/string/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,5 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

MODULE = string
DIRS = public src

#ifdef ENABLE_TESTS
#DIRS += \
# tests
#endif

include $(topsrcdir)/config/rules.mk
6 changes: 6 additions & 0 deletions xpcom/string/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/.

DIRS += ['public', 'src']
5 changes: 5 additions & 0 deletions xpcom/string/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 xpcom/string/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 b26d79d

Please sign in to comment.