Bug 1311993 - Don't use STL wrappers for jsctypes-test. r=glandium
authorJan de Mooij <jdemooij@mozilla.com>
Fri, 28 Oct 2016 12:17:37 +0200
changeset 319983 b79cb46288d1194939c72cbc234aadbb16c24955
parent 319982 79635ac69f44a801eedf85c5c73cf9e7674e5b21
child 319984 bcd70451dd158b5b9d1a6b3435b14866f5a8f8de
push id20749
push userryanvm@gmail.com
push dateSat, 29 Oct 2016 13:21:21 +0000
treeherderfx-team@1b170b39ed6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1311993
milestone52.0a1
Bug 1311993 - Don't use STL wrappers for jsctypes-test. r=glandium
toolkit/components/ctypes/tests/moz.build
--- a/toolkit/components/ctypes/tests/moz.build
+++ b/toolkit/components/ctypes/tests/moz.build
@@ -16,12 +16,15 @@ UNIFIED_SOURCES += [
 ]
 
 SharedLibrary('jsctypes-test')
 
 LOCAL_INCLUDES += [
     '/js/src/ctypes',
 ]
 
+# Don't use STL wrappers here (i.e. wrapped <new>); they require mozalloc.
+DISABLE_STL_WRAPPING = True
+
 if CONFIG['COMPILE_ENVIRONMENT']:
     shared_library = '!%sjsctypes-test%s' % (CONFIG['DLL_PREFIX'], CONFIG['DLL_SUFFIX'])
     TEST_HARNESS_FILES.xpcshell.toolkit.components.ctypes.tests.unit += [shared_library]
     TEST_HARNESS_FILES.testing.mochitest.chrome.toolkit.components.ctypes.tests.chrome += [shared_library]