moz.build (619B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 SOURCES += ["TestFmt.cpp"] 6 7 if CONFIG["OS_ARCH"] == "WINNT": 8 SOURCES += [ 9 "TestNativeNtGTest.cpp", 10 ] 11 12 if not CONFIG["MOZ_TSAN"]: 13 SOURCES += [ 14 "TestStackWalk.cpp", 15 ] 16 17 # The test relies on optimizations being on, so we can't let --disable-optimize 18 # getting in the way. See details in the source file. 19 SOURCES["TestStackWalk.cpp"].flags += ["-O2"] 20 21 FINAL_LIBRARY = "xul-gtest"