summaryrefslogtreecommitdiffstats
path: root/js/src/shell/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-04 16:24:38 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-04 16:24:38 -0500
commitd2b6975eb7593a9aece06e880fdd2a18e7005e41 (patch)
tree67e202d65e8d213195a74d57aab950485d18ed46 /js/src/shell/moz.build
parentfd1b2dc2b14ded708f8eb62a55109c03356c6b26 (diff)
downloadUXP-d2b6975eb7593a9aece06e880fdd2a18e7005e41.tar
UXP-d2b6975eb7593a9aece06e880fdd2a18e7005e41.tar.gz
UXP-d2b6975eb7593a9aece06e880fdd2a18e7005e41.tar.lz
UXP-d2b6975eb7593a9aece06e880fdd2a18e7005e41.tar.xz
UXP-d2b6975eb7593a9aece06e880fdd2a18e7005e41.zip
Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
Diffstat (limited to 'js/src/shell/moz.build')
-rw-r--r--js/src/shell/moz.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/js/src/shell/moz.build b/js/src/shell/moz.build
index 7c861fb0d..93812da74 100644
--- a/js/src/shell/moz.build
+++ b/js/src/shell/moz.build
@@ -3,6 +3,8 @@
# 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/.
+include('../js-cxxflags.mozbuild')
+
if CONFIG['JS_SHELL_NAME']:
GeckoProgram(CONFIG['JS_SHELL_NAME'], linkage=None)
if CONFIG['JS_BUNDLED_EDITLINE']:
@@ -49,13 +51,6 @@ shellmoduleloader.inputs = [
'ModuleLoader.js',
]
-if CONFIG['GNU_CXX']:
- CXXFLAGS += ['-Wno-shadow', '-Werror=format']
-
-# This is intended as a temporary workaround to enable VS2015.
-if CONFIG['_MSC_VER']:
- CXXFLAGS += ['-wd4312']
-
# Place a GDB Python auto-load file next to the shell executable, both in
# the build directory and in the dist/bin directory.
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR