moz.build (1007B)
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("devtoolstests") 8 9 LOCAL_INCLUDES += [ 10 "../..", 11 ] 12 13 DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True 14 DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True 15 16 UNIFIED_SOURCES = [ 17 "DeserializedNodeUbiNodes.cpp", 18 "DeserializedStackFrameUbiStackFrames.cpp", 19 "DevTools.cpp", 20 "DoesCrossCompartmentBoundaries.cpp", 21 "DoesntCrossCompartmentBoundaries.cpp", 22 "SerializesEdgeNames.cpp", 23 "SerializesEverythingInHeapGraphOnce.cpp", 24 "SerializesTypeNames.cpp", 25 ] 26 27 # THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard 28 # to work around, so we just ignore it. 29 if CONFIG["CC_TYPE"] == "clang": 30 CXXFLAGS += ["-Wno-inconsistent-missing-override"] 31 32 FINAL_LIBRARY = "xul-gtest"