summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/rootAnalysis/mozconfig.haz_shell
blob: 68741f0454f87fa75bf4296b15bd9858a350a706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# This mozconfig is for compiling the JS shell that runs the static rooting
# hazard analysis. See
# <https://wiki.mozilla.org/Javascript:SpiderMonkey:ExactStackRooting>.

ac_add_options --enable-ctypes
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-project=js
ac_add_options --enable-nspr-build
ac_add_options --disable-jemalloc

if [ -n "$AUTOMATION" ]; then
  mk_add_options MOZ_OBJDIR="${HAZARD_SHELL_OBJDIR}"
fi