summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/feeds/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'webbrowser/components/feeds/moz.build')
-rw-r--r--webbrowser/components/feeds/moz.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/webbrowser/components/feeds/moz.build b/webbrowser/components/feeds/moz.build
new file mode 100644
index 0000000..736920a
--- /dev/null
+++ b/webbrowser/components/feeds/moz.build
@@ -0,0 +1,33 @@
+# -*- Mode: python; c-basic-offset: 4; 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/.
+
+JAR_MANIFESTS += ['jar.mn']
+
+XPIDL_SOURCES += [
+ 'nsIFeedResultService.idl',
+ 'nsIWebContentConverterRegistrar.idl',
+]
+
+XPIDL_MODULE = 'browser-feeds'
+
+SOURCES += ['nsFeedSniffer.cpp']
+
+EXTRA_COMPONENTS += [
+ 'BrowserFeeds.manifest',
+ 'FeedConverter.js',
+]
+
+EXTRA_PP_COMPONENTS += [
+ 'FeedWriter.js',
+ 'WebContentConverter.js',
+]
+
+FINAL_LIBRARY = 'browsercomps'
+
+for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
+ DEFINES[var] = CONFIG[var]
+
+LOCAL_INCLUDES += ['../build']