summaryrefslogtreecommitdiff
path: root/js/src/jsapi-tests
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
commit6bb168ae75bd9e677ade8c2ccd8a9a3e1417a637 (patch)
tree67e202d65e8d213195a74d57aab950485d18ed46 /js/src/jsapi-tests
parent97029b4ec284ec5ba846f74affd23fdca469358c (diff)
downloadaura-central-6bb168ae75bd9e677ade8c2ccd8a9a3e1417a637.tar.gz
Issue mcp-graveyard/UXP%1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
Diffstat (limited to 'js/src/jsapi-tests')
-rw-r--r--js/src/jsapi-tests/moz.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/js/src/jsapi-tests/moz.build b/js/src/jsapi-tests/moz.build
index 378b2ed7f..35bc69b85 100644
--- a/js/src/jsapi-tests/moz.build
+++ b/js/src/jsapi-tests/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)
+
GeckoProgram('jsapi-tests', linkage=None)
UNIFIED_SOURCES += [
@@ -142,12 +144,5 @@ USE_LIBS += [
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
-if CONFIG['GNU_CXX']:
- CXXFLAGS += ['-Wno-shadow', '-Werror=format', '-fno-strict-aliasing']
-
-# This is intended as a temporary workaround to enable VS2015.
-if CONFIG['_MSC_VER']:
- CXXFLAGS += ['-wd4312']
-
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR
OBJDIR_PP_FILES.js.src['jsapi-tests'] += ['jsapi-tests-gdb.py.in']