summaryrefslogtreecommitdiffstats
path: root/mobile/android/components/geckoview/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/components/geckoview/moz.build')
-rw-r--r--mobile/android/components/geckoview/moz.build55
1 files changed, 55 insertions, 0 deletions
diff --git a/mobile/android/components/geckoview/moz.build b/mobile/android/components/geckoview/moz.build
new file mode 100644
index 0000000000..7b115ed03b
--- /dev/null
+++ b/mobile/android/components/geckoview/moz.build
@@ -0,0 +1,55 @@
+# -*- 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 += [
+ "GeckoViewContentChannel.cpp",
+ "GeckoViewContentProtocolHandler.cpp",
+ "GeckoViewExternalAppService.cpp",
+ "GeckoViewInputStream.cpp",
+ "GeckoViewOutputStream.cpp",
+ "GeckoViewStreamListener.cpp",
+]
+
+EXPORTS += [
+ "GeckoViewContentChannel.h",
+ "GeckoViewContentProtocolHandler.h",
+ "GeckoViewExternalAppService.h",
+ "GeckoViewInputStream.h",
+ "GeckoViewOutputStream.h",
+ "GeckoViewStreamListener.h",
+]
+
+if CONFIG["MOZ_ANDROID_HISTORY"]:
+ EXPORTS += [
+ "GeckoViewHistory.h",
+ ]
+ SOURCES += [
+ "GeckoViewHistory.cpp",
+ ]
+ include("/ipc/chromium/chromium-config.mozbuild")
+
+XPCOM_MANIFESTS += [
+ "components.conf",
+]
+
+EXTRA_COMPONENTS += [
+ "GeckoView.manifest",
+]
+
+EXTRA_JS_MODULES += [
+ "ColorPickerDelegate.sys.mjs",
+ "FilePickerDelegate.sys.mjs",
+ "GeckoViewPermission.sys.mjs",
+ "GeckoViewPrompt.sys.mjs",
+ "GeckoViewPrompter.sys.mjs",
+ "GeckoViewPush.sys.mjs",
+ "GeckoViewStartup.sys.mjs",
+ "LoginStorageDelegate.sys.mjs",
+ "PromptCollection.sys.mjs",
+ "ShareDelegate.sys.mjs",
+]
+
+FINAL_LIBRARY = "xul"