summaryrefslogtreecommitdiff
path: root/gtests/common
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:30:24 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:30:24 +0000
commit8d55ac83ed57c82b2784e074751a33fe5e2dc21c (patch)
treecf757455b93d8a5689316c239bb9fe9179e358b3 /gtests/common
parentf9cb815e1ed96aab831de80c82210176287137f5 (diff)
downloadnss-hg-8d55ac83ed57c82b2784e074751a33fe5e2dc21c.tar.gz
Bug 1629553 Rework the LIBRARY_NAME ruleset r=rrelyea
* Drop the WIN% "32" default DLL suffix * Add default resource file handling => drop default RES * Generate IMPORT_LIBRARY based on IMPORT_LIB_SUFFIX and SHARED_LIBRARY, so we can drop all the explicit empty IMPORT_LIBRARY lines Originally this patch also tried to add a default MAPFILE rule, but this fails, because the ARCH makefiles set linker flags based on an existing MAPFILE variable. Differential Revision: https://phabricator.services.mozilla.com/D70369
Diffstat (limited to 'gtests/common')
-rw-r--r--gtests/common/Makefile2
-rw-r--r--gtests/common/manifest.mn1
2 files changed, 1 insertions, 2 deletions
diff --git a/gtests/common/Makefile b/gtests/common/Makefile
index 1476e45df..59c519409 100644
--- a/gtests/common/Makefile
+++ b/gtests/common/Makefile
@@ -20,8 +20,6 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
-SHARED_LIBRARY = $(NULL)
-IMPORT_LIBRARY = $(NULL)
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
diff --git a/gtests/common/manifest.mn b/gtests/common/manifest.mn
index 5d36c269f..2514c9fbf 100644
--- a/gtests/common/manifest.mn
+++ b/gtests/common/manifest.mn
@@ -7,6 +7,7 @@ DEPTH = ../..
MODULE = nss
LIBRARY_NAME = gtestutil
+SHARED_LIBRARY = $(NULL)
ifeq ($(NSS_BUILD_UTIL_ONLY),1)
CPPSRCS = gtests-util.cc