Disable `rpmalloc`
Building with `rpmalloc` fails with error due to the use of
reserved identifiers in the library. This appears to be due
to `-Wreserved-identifier` parameter enabled in recent clang
versions.
Disable `rpmalloc` as it prevents landing fixes for other
platforms. This will be re-enabled when the compilation can
be fixed or disabled.
Bug: 242
Change-Id: I78b58524320b3449f01de8a7dccfee8ebced2709
Reviewed-on: https://gn-review.googlesource.com/c/gn/+/11720
Reviewed-by: Brett Wilson <brettw@chromium.org>
diff --git a/infra/recipes/gn.py b/infra/recipes/gn.py
index 0cb4269..28bf229 100644
--- a/infra/recipes/gn.py
+++ b/infra/recipes/gn.py
@@ -159,7 +159,9 @@
'args': ['--use-lto', '--use-icf'],
'targets': release_targets(),
# TODO: Enable this for OS X and Windows.
- 'use_rpmalloc': api.platform.is_linux
+ # TODO: Enable back when https://github.com/mjansson/rpmalloc/pull/246
+ # has landed (using `api.platform.is_linux`).
+ 'use_rpmalloc': False,
},
]