moz.build (644B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, you can obtain one at http://mozilla.org/MPL/2.0/. 6 7 Library("libpreftests") 8 9 LOCAL_INCLUDES += [ 10 "../..", 11 ] 12 13 UNIFIED_SOURCES = [ 14 "Basics.cpp", 15 "Parser.cpp", 16 ] 17 18 # THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard 19 # to work around, so we just ignore it. 20 if CONFIG["CC_TYPE"] == "clang": 21 CXXFLAGS += ["-Wno-inconsistent-missing-override"] 22 23 FINAL_LIBRARY = "xul-gtest"