From 388885b93a7463f5577c8d47ebbdf52004e77105 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Mon, 17 Oct 2016 02:25:15 -0400 Subject: Issue #581 - Remove Shumway leftovers --- mobile/android/app/mobile.js | 5 ----- mobile/android/chrome/content/browser.js | 8 -------- mobile/android/extensions/Makefile.in | 27 --------------------------- mobile/android/extensions/moz.build | 6 ------ mobile/android/installer/package-manifest.in | 4 ---- mobile/android/moz.build | 1 - 6 files changed, 51 deletions(-) delete mode 100644 mobile/android/extensions/Makefile.in delete mode 100644 mobile/android/extensions/moz.build (limited to 'mobile/android') diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 435c76400..87fbf8305 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -568,11 +568,6 @@ pref("media.fragmented-mp4.android-media-codec.preferred", true); // optimize images memory usage pref("image.mem.decodeondraw", true); -#ifdef NIGHTLY_BUILD -// Shumway component (SWF player) is disabled by default. Also see bug 904346. -pref("shumway.disabled", true); -#endif - // enable touch events interfaces pref("dom.w3c_touch_events.enabled", 1); diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index fdb88062d..2d3fe3cc3 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -82,11 +82,6 @@ XPCOMUtils.defineLazyServiceGetter(this, "uuidgen", XPCOMUtils.defineLazyModuleGetter(this, "SimpleServiceDiscovery", "resource://gre/modules/SimpleServiceDiscovery.jsm"); -if (AppConstants.NIGHTLY_BUILD) { - XPCOMUtils.defineLazyModuleGetter(this, "ShumwayUtils", - "resource://shumway/ShumwayUtils.jsm"); -} - XPCOMUtils.defineLazyModuleGetter(this, "WebappManager", "resource://gre/modules/WebappManager.jsm"); @@ -481,9 +476,6 @@ var BrowserApp = { if (AppConstants.ACCESSIBILITY) { AccessFu.attach(window); } - if (AppConstants.NIGHTLY_BUILD) { - ShumwayUtils.init(); - } let url = null; if ("arguments" in window) { diff --git a/mobile/android/extensions/Makefile.in b/mobile/android/extensions/Makefile.in deleted file mode 100644 index ce29ad6a7..000000000 --- a/mobile/android/extensions/Makefile.in +++ /dev/null @@ -1,27 +0,0 @@ -# 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/. - -include $(topsrcdir)/config/rules.mk - -SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway - -exclude_files = \ - test \ - $(NULL) - -ifdef NIGHTLY_BUILD -$(FINAL_TARGET)/chrome/shumway.manifest: $(GLOBAL_DEPS) - $(call py_action,buildlist,$@ "manifest shumway/chrome.manifest") - -libs:: $(SHUMWAY_BROWSER_EXTENSION) $(GLOBAL_DEPS) - $(PYTHON) $(topsrcdir)/config/nsinstall.py \ - $(SHUMWAY_BROWSER_EXTENSION) \ - $(foreach exclude,$(exclude_files), -X $(SHUMWAY_BROWSER_EXTENSION)/$(exclude)) \ - $(FINAL_TARGET)/chrome - -libs:: $(FINAL_TARGET)/chrome/shumway.manifest - $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chrome/shumway.manifest") -endif - - diff --git a/mobile/android/extensions/moz.build b/mobile/android/extensions/moz.build deleted file mode 100644 index 895d11993..000000000 --- a/mobile/android/extensions/moz.build +++ /dev/null @@ -1,6 +0,0 @@ -# -*- 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/. - diff --git a/mobile/android/installer/package-manifest.in b/mobile/android/installer/package-manifest.in index e8bf5cae6..1f46a351d 100644 --- a/mobile/android/installer/package-manifest.in +++ b/mobile/android/installer/package-manifest.in @@ -465,10 +465,6 @@ ; [Browser Chrome Files] @BINPATH@/chrome/browser@JAREXT@ @BINPATH@/chrome/browser.manifest -#ifdef NIGHTLY_BUILD -@BINPATH@/chrome/shumway.manifest -@BINPATH@/chrome/shumway/* -#endif @BINPATH@/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf @BINPATH@/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png @BINPATH@/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/preview.png diff --git a/mobile/android/moz.build b/mobile/android/moz.build index e936c3bf7..9aaf8ab8d 100644 --- a/mobile/android/moz.build +++ b/mobile/android/moz.build @@ -23,7 +23,6 @@ DIRS += [ 'app', 'fonts', 'goannaview_library', - 'extensions', ] if not CONFIG['LIBXUL_SDK']: -- cgit v1.2.3