Bug 1210585 - Generate bindings for KeyEvent; r=snorp
authorJim Chen <nchen@mozilla.com>
Thu, 22 Oct 2015 17:45:45 -0400
changeset 269020 e7d74a03c8447b9fbe5c7d532368cbb5d5d9d659
parent 269019 f1d6e64f8ae7584ef5e8abc20ea6b2537eab03fb
child 269021 07bfa35414dcd816198fa935ceed832ce76320fd
push id67000
push usernchen@mozilla.com
push dateThu, 22 Oct 2015 21:47:22 +0000
treeherdermozilla-inbound@d9882266e0b3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1210585
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1210585 - Generate bindings for KeyEvent; r=snorp Autogenerate C++ bindings for the SDK class KeyEvent.
widget/android/bindings/KeyEvent-classes.txt
widget/android/bindings/Makefile.in
widget/android/bindings/moz.build
new file mode 100644
--- /dev/null
+++ b/widget/android/bindings/KeyEvent-classes.txt
@@ -0,0 +1,1 @@
+android.view.KeyEvent
--- a/widget/android/bindings/Makefile.in
+++ b/widget/android/bindings/Makefile.in
@@ -21,14 +21,15 @@ sdk_processor := \
 
 %.cpp %.h: $(ANDROID_SDK)/android.jar %-classes.txt
 	$(sdk_processor) $(ANDROID_SDK)/android.jar $(srcdir)/$*-classes.txt $(CURDIR) $* 16
 
 # We'd like these to be defined in a future GENERATED_EXPORTS list.
 bindings_exports_FILES := \
 	AndroidRect.h \
   Bundle.h \
+  KeyEvent.h \
   MediaCodec.h \
   SurfaceTexture.h \
   $(NULL)
 bindings_exports_DEST = $(DIST)/include
 bindings_exports_TARGET := export
 INSTALL_TARGETS += bindings_exports
--- a/widget/android/bindings/moz.build
+++ b/widget/android/bindings/moz.build
@@ -4,16 +4,17 @@
 # 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',
     'SurfaceTexture'
 ]
 
 SOURCES += ['!%s.cpp' % 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.