Skip to content

Commit

Permalink
Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey
Browse files Browse the repository at this point in the history
  • Loading branch information
Cykesiopka committed Sep 19, 2013
1 parent 9c55b6d commit f093a0d
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 20 deletions.
1 change: 0 additions & 1 deletion browser/components/build/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SHORT_LIBNAME = brwsrcmp
IS_COMPONENT = 1
MODULE_NAME = nsBrowserCompsModule
FORCE_SHARED_LIB = 1

Expand Down
2 changes: 2 additions & 0 deletions browser/components/build/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'browsercomps'

IS_COMPONENT = True

1 change: 1 addition & 0 deletions config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
GTEST_CSRCS \
HOST_CSRCS \
HOST_LIBRARY_NAME \
IS_COMPONENT \
LIBRARY_NAME \
LIBXUL_LIBRARY \
MODULE \
Expand Down
2 changes: 0 additions & 2 deletions extensions/gnomevfs/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SHORT_LIBNAME = nkgnomevfs
IS_COMPONENT = 1


LOCAL_INCLUDES = $(MOZ_GNOMEVFS_CFLAGS)

Expand Down
2 changes: 2 additions & 0 deletions extensions/gnomevfs/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'nkgnomevfs'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion extensions/widgetutils/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
XPI_NAME = widgetutils
SHORT_LIBNAME = widgetutils
FORCE_SHARED_LIB = 1
IS_COMPONENT = 1

EXTRA_DSO_LDOPTS = \
$(XPCOM_GLUE_LDOPTS) \
Expand Down
2 changes: 2 additions & 0 deletions extensions/widgetutils/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'widgetutils'

IS_COMPONENT = True

1 change: 1 addition & 0 deletions js/src/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ _MOZBUILD_EXTERNAL_VARIABLES := \
GTEST_CSRCS \
HOST_CSRCS \
HOST_LIBRARY_NAME \
IS_COMPONENT \
LIBRARY_NAME \
LIBXUL_LIBRARY \
MODULE \
Expand Down
1 change: 0 additions & 1 deletion js/xpconnect/tests/components/js/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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/.

IS_COMPONENT = 1
MODULE_NAME = xpconnect_test

JS_FILES = \
Expand Down
2 changes: 2 additions & 0 deletions js/xpconnect/tests/components/js/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ NO_DIST_INSTALL = True

LIBRARY_NAME = 'xpctest'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion js/xpconnect/tests/components/native/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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/.

IS_COMPONENT = 1
MODULE_NAME = xpconnect_test
FORCE_SHARED_LIB = 1

Expand Down
2 changes: 2 additions & 0 deletions js/xpconnect/tests/components/native/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'xpctest'

IS_COMPONENT = True

4 changes: 0 additions & 4 deletions rdf/tests/dsds/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

MOZILLA_INTERNAL_API = 1



IS_COMPONENT = 1

SAMPLES_DIR = $(DIST)/bin/res/samples/rdf

RESOURCE_SAMPLES = \
Expand Down
2 changes: 2 additions & 0 deletions rdf/tests/dsds/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'rdfdsds'

IS_COMPONENT = True

2 changes: 0 additions & 2 deletions toolkit/system/dbus/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
# 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/.

IS_COMPONENT = 1
FORCE_SHARED_LIB = 1


EXTRA_DSO_LDOPTS = \
$(XPCOM_GLUE_LDOPTS) \
$(NSPR_LIBS) \
Expand Down
2 changes: 2 additions & 0 deletions toolkit/system/dbus/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'dbusservice'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion toolkit/system/gnome/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

FORCE_SHARED_LIB = 1
IS_COMPONENT = 1
EXTRA_DSO_LDOPTS += \
$(XPCOM_GLUE_LDOPTS) \
$(XPCOM_FROZEN_LDOPTS) \
Expand Down
1 change: 1 addition & 0 deletions toolkit/system/gnome/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ if CONFIG['MOZ_ENABLE_GIO']:
LIBRARY_NAME = 'mozgnome'

FAIL_ON_WARNINGS = True
IS_COMPONENT = True

3 changes: 0 additions & 3 deletions xpcom/sample/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# e.g. dist/bin/components/xpcomsmp.dll
SHORT_LIBNAME = xpcomsmp

# IS_COMPONENT indicates that this makefile builds a component shared library.
IS_COMPONENT = 1

# If this is Makefile builds a component, MODULE_NAME must match the module
# name specified in NS_IMPL_NSGETMODULE
MODULE_NAME = nsSampleModule
Expand Down
3 changes: 3 additions & 0 deletions xpcom/sample/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ EXTRA_COMPONENTS += [
# i.e. dist/bin/components/libxpcomsample.so
LIBRARY_NAME = 'xpcomsample'

# IS_COMPONENT indicates that this makefile builds a component shared library.
IS_COMPONENT = True

1 change: 0 additions & 1 deletion xpcom/tests/bug656331_component/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

# Blatantly copied from xpcom/tests/component.

IS_COMPONENT = 1
FORCE_SHARED_LIB = 1

MANIFEST_FILE = bug656331.manifest
Expand Down
2 changes: 2 additions & 0 deletions xpcom/tests/bug656331_component/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'test656331'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion xpcom/tests/component/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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/.

IS_COMPONENT = 1
FORCE_SHARED_LIB = 1

MANIFEST_FILE = testcomponent.manifest
Expand Down
2 changes: 2 additions & 0 deletions xpcom/tests/component/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'testcomponent'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion xpcom/tests/component_no_aslr/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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/.

IS_COMPONENT = 1
FORCE_SHARED_LIB = 1

MANIFEST_FILE = testcompnoaslr.manifest
Expand Down
2 changes: 2 additions & 0 deletions xpcom/tests/component_no_aslr/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'testcompnoaslr'

IS_COMPONENT = True

1 change: 0 additions & 1 deletion xulrunner/examples/simple/components/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

XPI_NAME = simple
SHORT_LIBNAME = simpltst
IS_COMPONENT = 1

EXTRA_DSO_LDOPTS = \
$(XPCOM_GLUE_LDOPTS) \
Expand Down
2 changes: 2 additions & 0 deletions xulrunner/examples/simple/components/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ EXTRA_COMPONENTS += [
'SimpleTest.manifest',
]

IS_COMPONENT = True

0 comments on commit f093a0d

Please sign in to comment.