summaryrefslogtreecommitdiffstats
path: root/embedding/components/build/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'embedding/components/build/moz.build')
-rw-r--r--embedding/components/build/moz.build38
1 files changed, 38 insertions, 0 deletions
diff --git a/embedding/components/build/moz.build b/embedding/components/build/moz.build
new file mode 100644
index 000000000..defbfc0c8
--- /dev/null
+++ b/embedding/components/build/moz.build
@@ -0,0 +1,38 @@
+# -*- 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/.
+
+SOURCES += [
+ 'nsEmbeddingModule.cpp',
+]
+
+FINAL_LIBRARY = 'xul'
+LOCAL_INCLUDES += [
+ '../appstartup',
+ '../commandhandler',
+ '../find',
+ '../printingui/ipc',
+ '../webbrowserpersist',
+ '../windowwatcher',
+]
+
+if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+ DEFINES['PROXY_PRINTING'] = 1
+ LOCAL_INCLUDES += [
+ '../printingui/win',
+ ]
+elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
+ DEFINES['PROXY_PRINTING'] = 1
+ LOCAL_INCLUDES += [
+ '../printingui/mac',
+ ]
+
+if CONFIG['MOZ_PDF_PRINTING']:
+ DEFINES['PROXY_PRINTING'] = 1
+ LOCAL_INCLUDES += [
+ '../printingui/unixshared',
+ ]
+
+include('/ipc/chromium/chromium-config.mozbuild')