зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1829053 - Enable graphite malloc wrapping in the wasm sandbox. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D175982
This commit is contained in:
Родитель
8958fe18f8
Коммит
44df7c20b1
|
@ -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"'
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче