mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 10:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
2
widget/android/bindings/AndroidRect-classes.txt
Normal file
2
widget/android/bindings/AndroidRect-classes.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
android.graphics.Rect
|
||||
android.graphics.RectF
|
||||
1
widget/android/bindings/Bundle-classes.txt
Normal file
1
widget/android/bindings/Bundle-classes.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
android.os.Bundle
|
||||
1
widget/android/bindings/KeyEvent-classes.txt
Normal file
1
widget/android/bindings/KeyEvent-classes.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
android.view.KeyEvent
|
||||
27
widget/android/bindings/Makefile.in
Normal file
27
widget/android/bindings/Makefile.in
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# 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
|
||||
5
widget/android/bindings/MediaCodec-classes.txt
Normal file
5
widget/android/bindings/MediaCodec-classes.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
android.media.MediaCodec
|
||||
android.media.MediaCodec$BufferInfo
|
||||
android.media.MediaCodec$CryptoInfo
|
||||
android.media.MediaDrm$KeyStatus
|
||||
android.media.MediaFormat
|
||||
1
widget/android/bindings/MotionEvent-classes.txt
Normal file
1
widget/android/bindings/MotionEvent-classes.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
android.view.MotionEvent
|
||||
2
widget/android/bindings/SurfaceTexture-classes.txt
Normal file
2
widget/android/bindings/SurfaceTexture-classes.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
android.graphics.SurfaceTexture
|
||||
android.view.Surface
|
||||
1
widget/android/bindings/ViewConfiguration-classes.txt
Normal file
1
widget/android/bindings/ViewConfiguration-classes.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
android.view.ViewConfiguration
|
||||
41
widget/android/bindings/moz.build
Normal file
41
widget/android/bindings/moz.build
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# -*- 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',
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue