bug 1475278 - don't use rust demangle in Breakpad when building with tup. r?mshal draft
authorTed Mielczarek <ted@mielczarek.org>
Thu, 12 Jul 2018 12:47:17 -0400
changeset 817484 4e345dbaf6c69bd8492c6a758ca5bfd647c6af02
parent 817483 1d78b255d77b340eef4ebd3b0d639aeb638bcd9f
push id116060
push userbmo:ted@mielczarek.org
push dateThu, 12 Jul 2018 16:48:57 +0000
reviewersmshal
bugs1475278
milestone63.0a1
bug 1475278 - don't use rust demangle in Breakpad when building with tup. r?mshal MozReview-Commit-ID: I7YQbfzBo0p
toolkit/crashreporter/google-breakpad/src/common/moz.build
--- a/toolkit/crashreporter/google-breakpad/src/common/moz.build
+++ b/toolkit/crashreporter/google-breakpad/src/common/moz.build
@@ -47,17 +47,19 @@ if CONFIG['OS_ARCH'] != 'WINNT':
     if CONFIG['OS_ARCH'] == 'Darwin':
         HOST_CXXFLAGS += [
             '-stdlib=libc++',
         ]
     HOST_CXXFLAGS += [
         '-O2',
         '-g',
     ]
-    HOST_DEFINES['HAVE_RUST_DEMANGLE'] = True
+    # The tup build doesn't currently link this properly: bug 1475278
+    if 'Tup' not in CONFIG['BUILD_BACKENDS']:
+        HOST_DEFINES['HAVE_RUST_DEMANGLE'] = True
     LOCAL_INCLUDES += [
         '/toolkit/crashreporter/rust',
     ]
     HostLibrary('host_breakpad_common_s')
 
 if CONFIG['OS_TARGET'] == 'Android':
     # We don't support unifying assembly files.
     SOURCES += [