Bug 677501 - Add a dummy symbol to libmozutils until bug 662814 lands. r=me
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 01 Sep 2011 14:12:13 +0200
changeset 76456 8e01bc31432610b5857fa3b70fdad7d3181efd52
parent 76455 e2697c06468fc2fa989052e69a6961cfbddd1e66
child 76457 b0741ae44defd65e4a68cfd4d53a052a3796db09
push id21108
push userkhuey@mozilla.com
push dateFri, 02 Sep 2011 21:36:22 +0000
treeherdermozilla-central@e5815c156b6c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs677501, 662814
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 677501 - Add a dummy symbol to libmozutils until bug 662814 lands. r=me
memory/mozutils/Makefile.in
memory/mozutils/dummy.cpp
--- a/memory/mozutils/Makefile.in
+++ b/memory/mozutils/Makefile.in
@@ -44,16 +44,20 @@ VPATH		= @srcdir@
 include $(DEPTH)/config/autoconf.mk
 
 MODULE = mozutils
 LIBRARY_NAME = mozutils
 DIST_INSTALL = 1
 
 ifdef MOZ_MEMORY
 SHARED_LIBRARY_LIBS = $(call EXPAND_LIBNAME_PATH,jemalloc,../jemalloc)
+else
+# Temporary, until bug 662814 lands
+VISIBILITY_FLAGS =
+CPPSRCS = dummy.cpp
 endif
  
 # Build mozutils as a shared lib on Windows, OSX and Android.
 ifneq (,$(filter WINNT Darwin Android,$(OS_TARGET)))
 FORCE_SHARED_LIB = 1
 else
 FORCE_STATIC_LIB = 1
 endif
new file mode 100644
--- /dev/null
+++ b/memory/mozutils/dummy.cpp
@@ -0,0 +1,2 @@
+void _dummy(void) {
+}