зеркало из https://github.com/mozilla/gecko-dev.git
Bug 912908 - Build xpcom/sample as shared library. r=joey
This commit is contained in:
Родитель
50d59a93a9
Коммит
5a84dbc913
|
@ -10,6 +10,15 @@ SHORT_LIBNAME = xpcomsmp
|
|||
# IS_COMPONENT indicates that this makefile builds a component shared library.
|
||||
IS_COMPONENT = 1
|
||||
|
||||
# NOTE:
|
||||
####################################################################
|
||||
# Variable assignment(s) should be maintained within moz.build files
|
||||
# whenever possible. Migrate existing Makefile.in content into the
|
||||
# corresponding moz.build file, then run 'mach configure' to determine
|
||||
# if the variable is suppported. If not supported / not yet converted-
|
||||
# open a Build::Config bug requesting conversion of the variable.
|
||||
####################################################################
|
||||
|
||||
# If this is Makefile builds a component, MODULE_NAME must match the module
|
||||
# name specified in NS_IMPL_NSGETMODULE
|
||||
MODULE_NAME = nsSampleModule
|
||||
|
|
|
@ -27,6 +27,10 @@ EXTRA_COMPONENTS += [
|
|||
'nsSample.manifest',
|
||||
]
|
||||
|
||||
# FORCE_SHARED_LIB tells the build system that this should be a shared library,
|
||||
# even in a static build.
|
||||
FORCE_SHARED_LIB = True
|
||||
|
||||
# LIBRARY_NAME names the library generated by this makefile,
|
||||
# i.e. dist/bin/components/libxpcomsample.so
|
||||
LIBRARY_NAME = 'xpcomsample'
|
||||
|
|
Загрузка…
Ссылка в новой задаче