moz.build (799B)
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 8 UNIFIED_SOURCES += [ 9 "TestAccessibleCaretEventHub.cpp", 10 "TestAccessibleCaretManager.cpp", 11 "TestUniqueOrNonOwningPtr.cpp", 12 ] 13 14 # THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard 15 # to work around, so we just ignore it. 16 if CONFIG["CC_TYPE"] == "clang": 17 CXXFLAGS += ["-Wno-inconsistent-missing-override"] 18 19 include("/ipc/chromium/chromium-config.mozbuild") 20 21 LOCAL_INCLUDES += [ 22 "/docshell/base", 23 "/layout/base", 24 "/layout/style", 25 ] 26 27 FINAL_LIBRARY = "xul-gtest"