Commit 501b764d authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1829053 - Enable graphite malloc wrapping in the wasm sandbox. r=shravanrn

parent d9b2a96f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -33,7 +33,3 @@ for k, v in graphite_defines:
AllowCompilerWarnings()

FINAL_LIBRARY = 'gkmedias'

# provide a custom header that overrides malloc() and friends,
# to ensure safe OOM handling. Don't do this in the wasm sandbox.
DEFINES['GRAPHITE2_CUSTOM_HEADER'] = '"MozGrMalloc.h"'
+3 −0
Original line number Diff line number Diff line
@@ -44,6 +44,9 @@ graphite_defines = [
    # tell graphite2 not to export symbols, we'll be linking it directly with
    # thebes
    ('GRAPHITE2_STATIC', True),
    # provide a custom header that overrides malloc() and friends,
    # to ensure safe OOM handling.
    ('GRAPHITE2_CUSTOM_HEADER', '"MozGrMalloc.h"'),
]

# disable features we don't need in the graphite2 code, to reduce code size