Skip to content

Commit

Permalink
Bug 784841 - Part 18r: Convert /ipc; r=ted f=Ms2ger
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Feb 25, 2013
1 parent 9d325ee commit b92483d
Show file tree
Hide file tree
Showing 18 changed files with 98 additions and 35 deletions.
20 changes: 0 additions & 20 deletions ipc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,4 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS += chromium glue ipdl testshell

ifdef MOZ_B2G_RIL #{
DIRS += ril
endif #}

ifdef MOZ_B2G_BT #{
DIRS += dbus
endif #}

ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
DIRS += netd unixsocket
endif

ifeq ($(OS_ARCH),Linux)
DIRS += unixsocket
endif

TOOL_DIRS = app

include $(topsrcdir)/config/rules.mk
5 changes: 5 additions & 0 deletions ipc/app/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 ipc/chromium/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 ipc/dbus/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 ipc/glue/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 ipc/ipdl/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ IPDLDIRS += ipc/ipdl/test/cxx
endif #}
##-----------------------------------------------------------------------------

ifdef MOZ_IPDL_TESTS
DIRS += test
endif

vpath %.ipdl $(topsrcdir)
vpath %.ipdlh $(topsrcdir)

Expand Down
7 changes: 7 additions & 0 deletions ipc/ipdl/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/.

if CONFIG['MOZ_IPDL_TESTS']:
DIRS += ['test']
9 changes: 0 additions & 9 deletions ipc/ipdl/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,4 @@ srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

# we ignore MOZ_IPDL_TESTS for the IPDL-compiler-only tests, since they're
# quick and painless
DIRS += ipdl

ifdef MOZ_IPDL_TESTS
DIRS += cxx
endif

include $(topsrcdir)/config/rules.mk
2 changes: 0 additions & 2 deletions ipc/ipdl/test/cxx/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

TOOL_DIRS += app

MODULE = ipdlunittest

EXPORTS_NAMESPACES = mozilla/_ipdltest
Expand Down
5 changes: 5 additions & 0 deletions ipc/ipdl/test/cxx/app/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 ipc/ipdl/test/cxx/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/.

TOOL_DIRS += ['app']
5 changes: 5 additions & 0 deletions ipc/ipdl/test/ipdl/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/.

11 changes: 11 additions & 0 deletions ipc/ipdl/test/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/.

# we ignore MOZ_IPDL_TESTS for the IPDL-compiler-only tests, since they're
# quick and painless
DIRS += ['ipdl']

if CONFIG['MOZ_IPDL_TESTS']:
DIRS += ['cxx']
24 changes: 24 additions & 0 deletions ipc/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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 += [
'chromium',
'glue',
'ipdl',
'testshell',
]

if CONFIG['MOZ_B2G_RIL']:
DIRS += ['ril']

if CONFIG['MOZ_B2G_BT']:
DIRS += ['dbus']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
DIRS += ['netd', 'unixsocket']
elif CONFIG['OS_ARCH'] == 'Linux':
DIRS += ['unixsocket']

TOOL_DIRS += ['app']
5 changes: 5 additions & 0 deletions ipc/netd/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 ipc/ril/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 ipc/testshell/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 ipc/unixsocket/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/.

0 comments on commit b92483d

Please sign in to comment.