summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'comm/calendar/base/moz.build')
-rw-r--r--comm/calendar/base/moz.build45
1 files changed, 45 insertions, 0 deletions
diff --git a/comm/calendar/base/moz.build b/comm/calendar/base/moz.build
new file mode 100644
index 0000000000..c8f8be24bd
--- /dev/null
+++ b/comm/calendar/base/moz.build
@@ -0,0 +1,45 @@
+# 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/.
+
+DIRS = [
+ "public",
+ "src",
+ "modules",
+ "themes",
+]
+
+JAR_MANIFESTS += ["jar.mn"]
+
+JS_PREFERENCE_PP_FILES += [
+ "calendar.js",
+]
+
+if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
+ DEFINES["THEME"] = "windows"
+elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
+ DEFINES["THEME"] = "osx"
+else:
+ DEFINES["THEME"] = "linux"
+
+with Files("content/**"):
+ BUG_COMPONENT = ("Calendar", "Calendar Views")
+
+with Files("content/preferences/**"):
+ BUG_COMPONENT = ("Calendar", "Preferences")
+
+with Files("content/dialogs/**"):
+ BUG_COMPONENT = ("Calendar", "Dialogs")
+
+with Files("content/*task*"):
+ BUG_COMPONENT = ("Calendar", "Tasks")
+
+with Files("content/dialogs/*alarm*"):
+ BUG_COMPONENT = ("Calendar", "Alarms")
+
+with Files("content/widgets/*alarm*"):
+ BUG_COMPONENT = ("Calendar", "Alarms")
+
+with Files("themes/**"):
+ BUG_COMPONENT = ("Calendar", "Calendar Views")