diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-11-04 16:24:38 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-11-04 16:24:38 -0500 |
commit | d2b6975eb7593a9aece06e880fdd2a18e7005e41 (patch) | |
tree | 67e202d65e8d213195a74d57aab950485d18ed46 /js/src/jsapi-tests/moz.build | |
parent | fd1b2dc2b14ded708f8eb62a55109c03356c6b26 (diff) | |
download | UXP-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/jsapi-tests/moz.build')
-rw-r--r-- | js/src/jsapi-tests/moz.build | 9 |
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'] |