summaryrefslogtreecommitdiffstats
path: root/toolkit/components/viaduct/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/viaduct/moz.build')
-rw-r--r--toolkit/components/viaduct/moz.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/toolkit/components/viaduct/moz.build b/toolkit/components/viaduct/moz.build
new file mode 100644
index 0000000000..2394d7e69f
--- /dev/null
+++ b/toolkit/components/viaduct/moz.build
@@ -0,0 +1,32 @@
+# 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/.
+
+XPIDL_MODULE = "viaduct"
+
+XPIDL_SOURCES += [
+ "mozIViaduct.idl",
+]
+
+XPCOM_MANIFESTS += [
+ "components.conf",
+]
+
+UNIFIED_SOURCES += [
+ "fetch_msg_types.pb.cc",
+ "Viaduct.cpp",
+ "ViaductRequest.cpp",
+]
+
+EXPORTS.mozilla += [
+ "fetch_msg_types.pb.h",
+ "Viaduct.h",
+ "ViaductRequest.h",
+]
+
+include("/ipc/chromium/chromium-config.mozbuild")
+
+DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
+DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True
+
+FINAL_LIBRARY = "xul"