Bug 784841 - Part 18λ: Convert /webapprt; r=glandium

This commit is contained in:
Gregory Szorc 2013-02-25 13:20:01 -08:00
parent c696e7a2e6
commit 66a6e7346b
9 changed files with 44 additions and 23 deletions

View File

@ -9,26 +9,12 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = $(NULL)
# Include config.mk explicitly so we can override FINAL_TARGET.
include $(topsrcdir)/config/config.mk
# Place webapprt resources in a separate app dir
DIST_SUBDIR = webapprt
ifneq (,$(filter WINNT,$(OS_ARCH)))
DIRS += win
else
ifeq ($(OS_ARCH),Darwin)
DIRS += mac
else
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
DIRS += gtk2
endif # gtk2
endif # mac
endif # windows
EXTRA_COMPONENTS := \
components.manifest \
CommandLineHandler.js \
@ -46,10 +32,6 @@ EXTRA_JS_MODULES = \
PREF_JS_EXPORTS = $(srcdir)/prefs.js \
$(NULL)
TEST_DIRS += \
test \
$(NULL)
include $(topsrcdir)/config/rules.mk
ifdef MOZ_DEBUG

5
webapprt/gtk2/moz.build Normal file
View File

@ -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
webapprt/mac/moz.build Normal file
View File

@ -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/.

13
webapprt/moz.build Normal file
View File

@ -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/.
if CONFIG['OS_ARCH'] == 'WINNT':
DIRS += ['win']
elif CONFIG['OS_ARCH'] == 'Darwin':
DIRS += ['mac']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk2':
DIRS += ['gtk2']
TEST_DIRS += ['test']

View File

@ -9,9 +9,4 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS += \
chrome \
content \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@ -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/.

View File

@ -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
webapprt/test/moz.build Normal file
View File

@ -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 += ['chrome', 'content']

5
webapprt/win/moz.build Normal file
View File

@ -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/.