summaryrefslogtreecommitdiffstats
path: root/widget/android/bindings
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-20 11:22:40 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-20 11:22:40 -0500
commit18e74277b30891033c95cac58d8a9d53b1cdb646 (patch)
treeaa77d2f31d7f099e545644e4bef02ba0f7f4052a /widget/android/bindings
parent178382e4cea9a093506ecc752b04793bd98b8ed5 (diff)
downloadUXP-18e74277b30891033c95cac58d8a9d53b1cdb646.tar
UXP-18e74277b30891033c95cac58d8a9d53b1cdb646.tar.gz
UXP-18e74277b30891033c95cac58d8a9d53b1cdb646.tar.lz
UXP-18e74277b30891033c95cac58d8a9d53b1cdb646.tar.xz
UXP-18e74277b30891033c95cac58d8a9d53b1cdb646.zip
Issue #1053 - Remove Android Widget Toolkit specific files
Diffstat (limited to 'widget/android/bindings')
-rw-r--r--widget/android/bindings/AndroidRect-classes.txt2
-rw-r--r--widget/android/bindings/Bundle-classes.txt1
-rw-r--r--widget/android/bindings/KeyEvent-classes.txt1
-rw-r--r--widget/android/bindings/Makefile.in27
-rw-r--r--widget/android/bindings/MediaCodec-classes.txt5
-rw-r--r--widget/android/bindings/MotionEvent-classes.txt1
-rw-r--r--widget/android/bindings/SurfaceTexture-classes.txt2
-rw-r--r--widget/android/bindings/ViewConfiguration-classes.txt1
-rw-r--r--widget/android/bindings/moz.build41
9 files changed, 0 insertions, 81 deletions
diff --git a/widget/android/bindings/AndroidRect-classes.txt b/widget/android/bindings/AndroidRect-classes.txt
deleted file mode 100644
index cbacca81e..000000000
--- a/widget/android/bindings/AndroidRect-classes.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-android.graphics.Rect
-android.graphics.RectF
diff --git a/widget/android/bindings/Bundle-classes.txt b/widget/android/bindings/Bundle-classes.txt
deleted file mode 100644
index 9f535cddb..000000000
--- a/widget/android/bindings/Bundle-classes.txt
+++ /dev/null
@@ -1 +0,0 @@
-android.os.Bundle
diff --git a/widget/android/bindings/KeyEvent-classes.txt b/widget/android/bindings/KeyEvent-classes.txt
deleted file mode 100644
index b73e621ef..000000000
--- a/widget/android/bindings/KeyEvent-classes.txt
+++ /dev/null
@@ -1 +0,0 @@
-android.view.KeyEvent
diff --git a/widget/android/bindings/Makefile.in b/widget/android/bindings/Makefile.in
deleted file mode 100644
index ea66e6022..000000000
--- a/widget/android/bindings/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/.
-
-# Bug 1099345 - The SDK's lint code (used by the code generator) does not enjoy
-# concurrent access to a cache that it generates.
-.NOTPARALLEL:
-
-annotation_processor_jar_files := \
- $(DEPTH)/build/annotationProcessors/annotationProcessors.jar \
- $(ANDROID_TOOLS)/lib/lint.jar \
- $(ANDROID_TOOLS)/lib/lint-checks.jar \
- $(NULL)
-
-sdk_processor := \
- $(JAVA) \
- -Dcom.android.tools.lint.bindir='$(ANDROID_TOOLS)' \
- -classpath $(subst $(NULL) ,:,$(strip $(annotation_processor_jar_files))) \
- org.mozilla.gecko.annotationProcessors.SDKProcessor
-
-# For the benefit of readers: the following pattern rule says that,
-# for example, MediaCodec.cpp and MediaCodec.h can be produced from
-# MediaCodec-classes.txt. This formulation invokes the SDK processor
-# at most once.
-
-%.cpp %.h: $(ANDROID_SDK)/android.jar %-classes.txt $(annotation_processor_jar_files)
- $(sdk_processor) $(ANDROID_SDK)/android.jar $(srcdir)/$*-classes.txt $(CURDIR) $* 16
diff --git a/widget/android/bindings/MediaCodec-classes.txt b/widget/android/bindings/MediaCodec-classes.txt
deleted file mode 100644
index ea26029af..000000000
--- a/widget/android/bindings/MediaCodec-classes.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-android.media.MediaCodec
-android.media.MediaCodec$BufferInfo
-android.media.MediaCodec$CryptoInfo
-android.media.MediaDrm$KeyStatus
-android.media.MediaFormat
diff --git a/widget/android/bindings/MotionEvent-classes.txt b/widget/android/bindings/MotionEvent-classes.txt
deleted file mode 100644
index dd38dc000..000000000
--- a/widget/android/bindings/MotionEvent-classes.txt
+++ /dev/null
@@ -1 +0,0 @@
-android.view.MotionEvent
diff --git a/widget/android/bindings/SurfaceTexture-classes.txt b/widget/android/bindings/SurfaceTexture-classes.txt
deleted file mode 100644
index 5c7ca8968..000000000
--- a/widget/android/bindings/SurfaceTexture-classes.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-android.graphics.SurfaceTexture
-android.view.Surface
diff --git a/widget/android/bindings/ViewConfiguration-classes.txt b/widget/android/bindings/ViewConfiguration-classes.txt
deleted file mode 100644
index e6601e65f..000000000
--- a/widget/android/bindings/ViewConfiguration-classes.txt
+++ /dev/null
@@ -1 +0,0 @@
-android.view.ViewConfiguration
diff --git a/widget/android/bindings/moz.build b/widget/android/bindings/moz.build
deleted file mode 100644
index 1bd71fa95..000000000
--- a/widget/android/bindings/moz.build
+++ /dev/null
@@ -1,41 +0,0 @@
-# -*- 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/.
-
-# List of stems to generate .cpp and .h files for. To add a stem, add it to
-# this list and ensure that $(stem)-classes.txt exists in this directory.
-generated = [
- 'AndroidRect',
- 'Bundle',
- 'KeyEvent',
- 'MediaCodec',
- 'MotionEvent',
- 'SurfaceTexture',
- 'ViewConfiguration'
-]
-
-SOURCES += ['!%s.cpp' % stem for stem in generated]
-
-EXPORTS += ['!%s.h' % stem for stem in generated]
-
-# We'd like to add these to a future GENERATED_EXPORTS list, but for now we mark
-# them as generated here and manually install them in Makefile.in.
-GENERATED_FILES += [stem + '.h' for stem in generated]
-
-# There is an unfortunate race condition when using generated SOURCES and
-# pattern rules (see Makefile.in) that manifests itself as a VPATH resolution
-# conflict: MediaCodec.o looks for MediaCodec.cpp and $(CURDIR)/MediaCodec.cpp,
-# and the pattern rule is matched but doesn't resolve both sources, causing a
-# failure. Adding the SOURCES to GENERATED_FILES causes the sources
-# to be built at export time, which is before MediaCodec.o needs them; and by
-# the time MediaCodec.o is built, the source is in place and the VPATH
-# resolution works as expected.
-GENERATED_FILES += [f[1:] for f in SOURCES]
-
-FINAL_LIBRARY = 'xul'
-
-LOCAL_INCLUDES += [
- '/widget/android',
-]