summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/tree/moz.build')
-rw-r--r--layout/xul/tree/moz.build53
1 files changed, 53 insertions, 0 deletions
diff --git a/layout/xul/tree/moz.build b/layout/xul/tree/moz.build
new file mode 100644
index 000000000..ccac5bde9
--- /dev/null
+++ b/layout/xul/tree/moz.build
@@ -0,0 +1,53 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+with Files('**'):
+ BUG_COMPONENT = ('Core', 'XP Toolkit/Widgets: XUL')
+
+XPIDL_SOURCES += [
+ 'nsITreeBoxObject.idl',
+ 'nsITreeColumns.idl',
+ 'nsITreeContentView.idl',
+ 'nsITreeSelection.idl',
+ 'nsITreeView.idl',
+]
+
+XPIDL_MODULE = 'layout_xul_tree'
+
+EXPORTS += [
+ 'nsTreeColFrame.h',
+ 'nsTreeColumns.h',
+ 'nsTreeUtils.h',
+]
+
+EXPORTS.mozilla.dom += [
+ 'TreeBoxObject.h'
+]
+
+UNIFIED_SOURCES += [
+ 'nsTreeBodyFrame.cpp',
+ 'nsTreeColFrame.cpp',
+ 'nsTreeColumns.cpp',
+ 'nsTreeContentView.cpp',
+ 'nsTreeImageListener.cpp',
+ 'nsTreeSelection.cpp',
+ 'nsTreeStyleCache.cpp',
+ 'nsTreeUtils.cpp',
+ 'TreeBoxObject.cpp',
+]
+
+FINAL_LIBRARY = 'xul'
+LOCAL_INCLUDES += [
+ '..',
+ '../../base',
+ '../../forms',
+ '../../generic',
+ '../../style',
+ '/dom/base',
+]
+
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += ['-Wno-error=shadow']