diff options
Diffstat (limited to 'mozglue/tests/gtest/moz.build')
-rw-r--r-- | mozglue/tests/gtest/moz.build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mozglue/tests/gtest/moz.build b/mozglue/tests/gtest/moz.build new file mode 100644 index 0000000000..8f6ba9ad7b --- /dev/null +++ b/mozglue/tests/gtest/moz.build @@ -0,0 +1,20 @@ +# 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/. + +if CONFIG["OS_ARCH"] == "WINNT": + SOURCES += [ + "TestNativeNtGTest.cpp", + ] + + +if not CONFIG["MOZ_TSAN"]: + SOURCES += [ + "TestStackWalk.cpp", + ] + + # The test relies on optimizations being on, so we can't let --disable-optimize + # getting in the way. See details in the source file. + SOURCES["TestStackWalk.cpp"].flags += ["-O2"] + +FINAL_LIBRARY = "xul-gtest" |