summaryrefslogtreecommitdiffstats
path: root/js/src/devtools/rootAnalysis/mozconfig.haz_shell
blob: 76f9d36248e22cbcead5969d5788ed4618a307c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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-application=js
ac_add_options --enable-nspr-build

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