moz.build (1369B)
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 with Files("**"): 8 BUG_COMPONENT = ("Core", "XUL") 9 10 if CONFIG["ENABLE_TESTS"]: 11 MOCHITEST_MANIFESTS += ["test/mochitest.toml"] 12 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.toml"] 13 BROWSER_CHROME_MANIFESTS += ["test/browser.toml"] 14 15 EXPORTS += [ 16 "nsIPopupContainer.h", 17 "nsIScrollbarMediator.h", 18 "nsMenuPopupFrame.h", 19 "nsXULPopupManager.h", 20 "nsXULTooltipListener.h", 21 ] 22 23 UNIFIED_SOURCES += [ 24 "MiddleCroppingLabelFrame.cpp", 25 "nsMenuPopupFrame.cpp", 26 "nsRepeatService.cpp", 27 "nsScrollbarButtonFrame.cpp", 28 "nsScrollbarFrame.cpp", 29 "nsSliderFrame.cpp", 30 "nsSplitterFrame.cpp", 31 "nsXULPopupManager.cpp", 32 "nsXULTooltipListener.cpp", 33 "PopupQueue.cpp", 34 "SimpleXULLeafFrame.cpp", 35 ] 36 37 DIRS += ["tree"] 38 39 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 40 CFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] 41 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] 42 43 include("/ipc/chromium/chromium-config.mozbuild") 44 45 FINAL_LIBRARY = "xul" 46 LOCAL_INCLUDES += [ 47 "../base", 48 "../generic", 49 "../painting", 50 "../style", 51 "/dom/base", 52 "/dom/xul", 53 ]