2016-08-03 02:34:32 +03:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04:00
|
|
|
# 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/.
|
|
|
|
|
2017-04-11 16:47:28 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
|
|
|
|
|
|
|
|
with Files('*.java.*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('*Manifest*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('adjust-sdk-sandbox.token'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
|
|
|
|
|
|
|
|
with Files('android-services.mozbuild'):
|
|
|
|
BUG_COMPONENT = ('Android Background Services', 'Android Sync')
|
|
|
|
|
|
|
|
with Files('geckoview.ddf'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'GeckoView')
|
|
|
|
|
|
|
|
with Files('crashreporter/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('java/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/activitystream/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Awesomescreen')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/cleanup/**'):
|
|
|
|
BUG_COMPONENT = ('Android Background Services', 'Firefox Health Report Service')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/distribution/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Distributions')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/firstrun/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'First Run')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/home/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Awesomescreen')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/icons/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Favicon Handling')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/javaaddons/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/mdns/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/media/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Audio/Video')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/mdns/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Settings and Preferences')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/reader/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Reader View')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/restrictions/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Family Friendly Browsing')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/telemetry/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Metrics')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/text/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/webapps/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Web Apps')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/*LocaleManager*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Locale switching and selection')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/*ChromeCast*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Screencasting')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/*DynamicToolbar*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Graphics, Panning and Zooming')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/*Presentation*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Screencasting')
|
|
|
|
|
|
|
|
with Files('java/org/mozilla/gecko/*GuestSession*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Profile Handling')
|
|
|
|
|
|
|
|
with Files('locales/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('resources/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('resources/anim/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Overlays')
|
|
|
|
|
|
|
|
with Files('resources/raw/*favicon*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Favicon Handling')
|
|
|
|
|
|
|
|
with Files('resources/xml*/*preference*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Settings and Preferences')
|
|
|
|
|
|
|
|
with Files('resources/menu/**'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'General')
|
|
|
|
|
|
|
|
with Files('resources/menu/*home*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Awesomescreen')
|
|
|
|
|
|
|
|
with Files('resources/menu/*activitystream*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Awesomescreen')
|
|
|
|
|
|
|
|
with Files('resources/menu/browsersearch_contextmenu.xml'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Awesomescreen')
|
|
|
|
|
2013-02-26 00:47:23 +04:00
|
|
|
DIRS += ['locales']
|
2013-10-10 03:19:00 +04:00
|
|
|
|
2016-11-15 07:06:31 +03:00
|
|
|
GENERATED_FILES += [
|
2016-12-15 07:26:03 +03:00
|
|
|
'../geckoview/generated/preprocessed/org/mozilla/geckoview/BuildConfig.java',
|
2017-04-17 23:47:41 +03:00
|
|
|
'AndroidManifest.xml',
|
2016-11-15 07:06:31 +03:00
|
|
|
'generated/preprocessed/org/mozilla/gecko/AdjustConstants.java',
|
|
|
|
'generated/preprocessed/org/mozilla/gecko/AppConstants.java',
|
|
|
|
]
|
2016-12-15 07:26:03 +03:00
|
|
|
w = GENERATED_FILES['../geckoview/generated/preprocessed/org/mozilla/geckoview/BuildConfig.java']
|
2017-04-17 23:38:24 +03:00
|
|
|
w.script = 'generate_build_config.py:generate_java'
|
2016-12-15 07:26:03 +03:00
|
|
|
w.inputs += ['../geckoview/BuildConfig.java.in']
|
2016-11-15 07:06:31 +03:00
|
|
|
x = GENERATED_FILES['generated/preprocessed/org/mozilla/gecko/AdjustConstants.java']
|
2017-04-17 23:38:24 +03:00
|
|
|
x.script = 'generate_build_config.py:generate_java'
|
2016-11-15 07:06:31 +03:00
|
|
|
x.inputs += ['AdjustConstants.java.in']
|
|
|
|
y = GENERATED_FILES['generated/preprocessed/org/mozilla/gecko/AppConstants.java']
|
2017-04-17 23:38:24 +03:00
|
|
|
y.script = 'generate_build_config.py:generate_java'
|
2016-11-15 07:06:31 +03:00
|
|
|
y.inputs += ['AppConstants.java.in']
|
2017-04-17 23:47:41 +03:00
|
|
|
z = GENERATED_FILES['AndroidManifest.xml']
|
|
|
|
z.script = 'generate_build_config.py:generate_android_manifest'
|
|
|
|
z.inputs += ['AndroidManifest.xml.in']
|
2016-02-13 03:27:24 +03:00
|
|
|
|
2013-10-10 03:19:00 +04:00
|
|
|
include('android-services.mozbuild')
|
|
|
|
|
2016-08-03 02:34:32 +03:00
|
|
|
geckoview_source_dir = TOPSRCDIR + '/mobile/android/geckoview/src/main/'
|
2016-09-17 01:53:39 +03:00
|
|
|
geckoview_thirdparty_source_dir = TOPSRCDIR + '/mobile/android/geckoview/src/thirdparty/'
|
2013-10-25 02:38:22 +04:00
|
|
|
thirdparty_source_dir = TOPSRCDIR + '/mobile/android/thirdparty/'
|
|
|
|
|
2014-11-25 02:37:30 +03:00
|
|
|
constants_jar = add_java_jar('constants')
|
2016-09-17 01:53:39 +03:00
|
|
|
constants_jar.sources += [geckoview_source_dir + 'java/org/mozilla/gecko/' + x for x in [
|
2015-08-11 02:19:51 +03:00
|
|
|
'annotation/JNITarget.java',
|
2015-04-16 20:10:25 +03:00
|
|
|
'annotation/ReflectionTarget.java',
|
2015-08-11 02:19:51 +03:00
|
|
|
'annotation/RobocopTarget.java',
|
|
|
|
'annotation/WebRTCJNITarget.java',
|
2015-08-07 09:09:08 +03:00
|
|
|
'annotation/WrapForJNI.java',
|
2016-09-17 01:53:39 +03:00
|
|
|
'SysInfo.java',
|
|
|
|
]]
|
|
|
|
constants_jar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
|
|
|
'adjust/AdjustHelperInterface.java',
|
|
|
|
'adjust/AttributionHelperListener.java',
|
2015-10-27 00:43:50 +03:00
|
|
|
'db/BrowserContract.java',
|
|
|
|
'LocaleManager.java',
|
|
|
|
'Locales.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2014-11-25 02:37:30 +03:00
|
|
|
constants_jar.generated_sources = [
|
2016-12-15 07:26:03 +03:00
|
|
|
'../geckoview/generated/preprocessed/org/mozilla/geckoview/BuildConfig.java',
|
2016-11-15 09:17:27 +03:00
|
|
|
'generated/preprocessed/org/mozilla/gecko/AdjustConstants.java',
|
|
|
|
'generated/preprocessed/org/mozilla/gecko/AppConstants.java',
|
2014-11-25 02:37:30 +03:00
|
|
|
]
|
2015-10-27 00:43:50 +03:00
|
|
|
constants_jar.extra_jars = [
|
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
2015-12-17 00:57:05 +03:00
|
|
|
CONFIG['ANDROID_APPCOMPAT_V7_AAR_LIB'],
|
2015-10-27 00:43:50 +03:00
|
|
|
]
|
2014-11-25 02:37:30 +03:00
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
if CONFIG['MOZ_INSTALL_TRACKING']:
|
2015-12-04 23:02:06 +03:00
|
|
|
constants_jar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
2015-04-09 08:49:16 +03:00
|
|
|
'adjust/AdjustHelper.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2015-12-17 00:57:05 +03:00
|
|
|
constants_jar.extra_jars += [
|
2015-04-09 08:49:16 +03:00
|
|
|
'gecko-thirdparty-adjust_sdk.jar',
|
|
|
|
]
|
|
|
|
else:
|
2015-12-04 23:02:06 +03:00
|
|
|
constants_jar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
2015-04-09 08:49:16 +03:00
|
|
|
'adjust/StubAdjustHelper.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2015-04-09 08:49:16 +03:00
|
|
|
|
2014-03-05 20:57:09 +04:00
|
|
|
resjar = add_java_jar('gecko-R')
|
|
|
|
resjar.sources = []
|
|
|
|
resjar.generated_sources += [
|
2016-11-15 09:17:27 +03:00
|
|
|
'generated/org/mozilla/gecko/R.java',
|
2014-03-05 20:57:09 +04:00
|
|
|
]
|
2014-06-11 22:00:17 +04:00
|
|
|
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
if CONFIG['ANDROID_SUPPORT_V4_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v4']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_SUPPORT_V4_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/android/support/v4/R.java']
|
2015-09-28 13:10:42 +03:00
|
|
|
if CONFIG['ANDROID_APPCOMPAT_V7_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v7.appcompat']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_APPCOMPAT_V7_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/android/support/v7/appcompat/R.java']
|
2016-09-30 19:16:23 +03:00
|
|
|
if CONFIG['ANDROID_SUPPORT_VECTOR_DRAWABLE_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.graphics.drawable']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_SUPPORT_VECTOR_DRAWABLE_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no reosurces) resjar.generated_sources += ['generated/android/support/graphics/drawable/R.java']
|
2016-09-30 19:16:23 +03:00
|
|
|
if CONFIG['ANDROID_ANIMATED_VECTOR_DRAWABLE_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.graphics.drawable.animated']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_ANIMATED_VECTOR_DRAWABLE_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/android/support/graphics/drawable/animated/R.java']
|
2016-05-10 00:05:21 +03:00
|
|
|
if CONFIG['ANDROID_CARDVIEW_V7_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v7.cardview']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_CARDVIEW_V7_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/android/support/v7/cardview/R.java']
|
2015-10-15 14:01:32 +03:00
|
|
|
if CONFIG['ANDROID_DESIGN_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.design']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_DESIGN_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/android/support/design/R.java']
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
if CONFIG['ANDROID_RECYCLERVIEW_V7_AAR']:
|
2015-08-20 02:48:55 +03:00
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v7.recyclerview']
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_RECYCLERVIEW_V7_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/android/support/v7/recyclerview/R.java']
|
2016-06-10 12:01:11 +03:00
|
|
|
if CONFIG['ANDROID_CUSTOMTABS_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.customtabs']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_CUSTOMTABS_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/android/support/customtabs/R.java']
|
2016-09-06 09:39:16 +03:00
|
|
|
if CONFIG['ANDROID_PALETTE_V7_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v7.palette']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PALETTE_V7_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/android/support/v7/palette/R.java']
|
2015-06-16 20:52:44 +03:00
|
|
|
|
2014-03-05 20:57:09 +04:00
|
|
|
resjar.javac_flags += ['-Xlint:all']
|
|
|
|
|
2013-10-25 02:38:22 +04:00
|
|
|
mgjar = add_java_jar('gecko-mozglue')
|
2016-08-03 02:34:32 +03:00
|
|
|
mgjar.sources += [geckoview_source_dir + 'java/org/mozilla/gecko/' + x for x in [
|
2013-10-25 02:38:22 +04:00
|
|
|
'mozglue/ByteBufferInputStream.java',
|
|
|
|
'mozglue/DirectBufferAllocator.java',
|
2014-11-21 01:39:10 +03:00
|
|
|
'mozglue/GeckoLoader.java',
|
2015-07-29 22:11:15 +03:00
|
|
|
'mozglue/JNIObject.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'mozglue/NativeReference.java',
|
|
|
|
'mozglue/NativeZip.java',
|
2016-06-02 01:32:41 +03:00
|
|
|
'mozglue/SafeIntent.java',
|
2017-03-01 19:17:09 +03:00
|
|
|
'mozglue/SharedMemory.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2014-11-21 01:39:10 +03:00
|
|
|
mgjar.generated_sources = [] # Keep it this way.
|
2014-11-25 02:37:30 +03:00
|
|
|
mgjar.extra_jars += [
|
2016-09-30 15:25:54 +03:00
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
2014-11-25 02:37:30 +03:00
|
|
|
'constants.jar',
|
|
|
|
]
|
2013-11-14 07:32:55 +04:00
|
|
|
mgjar.javac_flags += ['-Xlint:all']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
|
|
|
gujar = add_java_jar('gecko-util')
|
2016-08-03 02:34:32 +03:00
|
|
|
gujar.sources += [geckoview_source_dir + 'java/org/mozilla/gecko/' + x for x in [
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/ActivityResultHandler.java',
|
|
|
|
'util/ActivityResultHandlerMap.java',
|
2014-10-10 20:01:52 +04:00
|
|
|
'util/ActivityUtils.java',
|
2015-08-20 01:14:48 +03:00
|
|
|
'util/BundleEventListener.java',
|
2016-04-01 00:32:12 +03:00
|
|
|
'util/ContextUtils.java',
|
2016-05-05 01:06:32 +03:00
|
|
|
'util/DateUtil.java',
|
2014-04-09 00:30:17 +04:00
|
|
|
'util/EventCallback.java',
|
2014-03-07 00:23:54 +04:00
|
|
|
'util/FileUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/FloatUtils.java',
|
|
|
|
'util/GamepadUtils.java',
|
|
|
|
'util/GeckoBackgroundThread.java',
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 16:29:50 +03:00
|
|
|
'util/GeckoBundle.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/GeckoJarReader.java',
|
2015-07-24 22:45:55 +03:00
|
|
|
'util/HardwareCodecCapabilityUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/HardwareUtils.java',
|
|
|
|
'util/INIParser.java',
|
|
|
|
'util/INISection.java',
|
2015-06-19 23:20:31 +03:00
|
|
|
'util/InputOptionsUtils.java',
|
2016-06-01 02:48:03 +03:00
|
|
|
'util/IntentUtils.java',
|
2014-09-11 03:10:34 +04:00
|
|
|
'util/IOUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/JSONUtils.java',
|
2014-02-07 23:49:32 +04:00
|
|
|
'util/MenuUtils.java',
|
2016-02-05 17:37:15 +03:00
|
|
|
'util/NetworkUtils.java',
|
2013-11-23 05:12:20 +04:00
|
|
|
'util/NonEvictingLruCache.java',
|
2014-06-19 11:04:00 +04:00
|
|
|
'util/PrefUtils.java',
|
2014-01-08 03:46:44 +04:00
|
|
|
'util/ProxySelector.java',
|
2016-10-11 13:19:45 +03:00
|
|
|
'util/publicsuffix/PublicSuffix.java',
|
|
|
|
'util/publicsuffix/PublicSuffixPatterns.java',
|
2014-04-15 19:12:03 +04:00
|
|
|
'util/RawResource.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/StringUtils.java',
|
|
|
|
'util/ThreadUtils.java',
|
2014-08-20 19:50:58 +04:00
|
|
|
'util/UIAsyncTask.java',
|
2016-05-06 02:56:38 +03:00
|
|
|
'util/UUIDUtil.java',
|
2015-06-25 02:49:25 +03:00
|
|
|
'util/WeakReferenceHandler.java',
|
2015-01-23 23:30:05 +03:00
|
|
|
'util/WindowUtils.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2013-11-14 07:32:55 +04:00
|
|
|
gujar.extra_jars = [
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
2014-11-25 02:37:30 +03:00
|
|
|
'constants.jar',
|
|
|
|
'gecko-mozglue.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
2013-11-14 07:32:55 +04:00
|
|
|
gujar.javac_flags += ['-Xlint:all,-deprecation']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
|
|
|
stjar = add_java_jar('sync-thirdparty')
|
|
|
|
stjar.sources += [ thirdparty_source_dir + f for f in sync_thirdparty_java_files ]
|
2013-11-14 07:32:55 +04:00
|
|
|
stjar.javac_flags = ['-Xlint:none']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
2015-10-27 00:19:35 +03:00
|
|
|
services_jar = add_java_jar('services')
|
|
|
|
services_jar.sources += sync_java_files
|
|
|
|
services_jar.extra_jars = [
|
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
2016-04-14 18:35:13 +03:00
|
|
|
CONFIG['ANDROID_APPCOMPAT_V7_AAR_LIB'],
|
2015-10-27 00:19:35 +03:00
|
|
|
'constants.jar',
|
|
|
|
'gecko-R.jar',
|
|
|
|
'gecko-mozglue.jar',
|
|
|
|
'gecko-thirdparty.jar',
|
|
|
|
'gecko-util.jar',
|
|
|
|
'sync-thirdparty.jar',
|
|
|
|
]
|
|
|
|
services_jar.javac_flags += ['-Xlint:all,-deprecation']
|
|
|
|
|
2013-10-25 02:38:22 +04:00
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
2016-12-28 03:41:02 +03:00
|
|
|
base_root = TOPSRCDIR + '/media/webrtc/trunk/webrtc/base/java/src/org/webrtc/'
|
2014-05-30 01:05:14 +04:00
|
|
|
video_render_root = TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/'
|
2016-12-28 03:41:02 +03:00
|
|
|
video_capture_root = TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/'
|
2013-11-08 05:07:47 +04:00
|
|
|
audio_root = TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/'
|
2013-10-25 02:38:22 +04:00
|
|
|
wrjar = add_java_jar('webrtc')
|
|
|
|
wrjar.sources += [
|
2016-12-28 03:41:02 +03:00
|
|
|
base_root + 'Logging.java',
|
|
|
|
]
|
|
|
|
wrjar.sources += [
|
|
|
|
video_capture_root + 'CaptureCapabilityAndroid.java',
|
|
|
|
video_capture_root + 'VideoCaptureAndroid.java',
|
|
|
|
video_capture_root + 'VideoCaptureDeviceInfoAndroid.java',
|
2014-05-30 01:05:14 +04:00
|
|
|
video_render_root + 'ViEAndroidGLES20.java',
|
|
|
|
video_render_root + 'ViERenderer.java',
|
2016-12-28 03:41:02 +03:00
|
|
|
video_render_root + 'ViESurfaceRenderer.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
]
|
|
|
|
wrjar.sources += [
|
2016-12-28 03:41:02 +03:00
|
|
|
audio_root + 'BuildInfo.java',
|
|
|
|
audio_root + 'WebRtcAudioEffects.java',
|
2015-11-18 23:03:25 +03:00
|
|
|
audio_root + 'WebRtcAudioManager.java',
|
2014-05-30 01:05:14 +04:00
|
|
|
audio_root + 'WebRtcAudioRecord.java',
|
|
|
|
audio_root + 'WebRtcAudioTrack.java',
|
2015-11-18 23:03:25 +03:00
|
|
|
audio_root + 'WebRtcAudioUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
|
|
|
wrjar.extra_jars = [
|
2015-08-07 09:09:08 +03:00
|
|
|
'constants.jar',
|
2014-03-05 20:57:09 +04:00
|
|
|
'gecko-R.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gecko-browser.jar',
|
|
|
|
'gecko-mozglue.jar',
|
2016-09-16 22:13:47 +03:00
|
|
|
'gecko-util.jar',
|
|
|
|
'gecko-view.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
2013-11-14 07:32:55 +04:00
|
|
|
wrjar.javac_flags += ['-Xlint:all,-deprecation,-cast']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
2016-09-16 22:13:47 +03:00
|
|
|
gvjar = add_java_jar('gecko-view')
|
|
|
|
|
|
|
|
gvjar.sources += [geckoview_source_dir + 'java/org/mozilla/gecko/' + x
|
|
|
|
for x in [
|
2016-08-03 02:34:32 +03:00
|
|
|
'AndroidGamepadManager.java',
|
|
|
|
'BaseGeckoInterface.java',
|
2016-12-14 17:53:00 +03:00
|
|
|
'Clipboard.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'ContextGetter.java',
|
|
|
|
'CrashHandler.java',
|
|
|
|
'EventDispatcher.java',
|
|
|
|
'GeckoAccessibility.java',
|
|
|
|
'GeckoAppShell.java',
|
|
|
|
'GeckoBatteryManager.java',
|
|
|
|
'GeckoEditable.java',
|
2017-03-02 21:47:14 +03:00
|
|
|
'GeckoEditableChild.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'GeckoEditableClient.java',
|
|
|
|
'GeckoEditableListener.java',
|
|
|
|
'GeckoHalDefines.java',
|
|
|
|
'GeckoInputConnection.java',
|
|
|
|
'GeckoNetworkManager.java',
|
|
|
|
'GeckoProfile.java',
|
|
|
|
'GeckoProfileDirectories.java',
|
|
|
|
'GeckoScreenOrientation.java',
|
|
|
|
'GeckoSharedPrefs.java',
|
|
|
|
'GeckoThread.java',
|
|
|
|
'GeckoView.java',
|
2016-08-10 05:00:24 +03:00
|
|
|
'GeckoViewFragment.java',
|
2017-02-14 21:51:43 +03:00
|
|
|
'GeckoViewSettings.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'gfx/BitmapUtils.java',
|
|
|
|
'gfx/BufferedImage.java',
|
|
|
|
'gfx/BufferedImageGLInfo.java',
|
|
|
|
'gfx/DynamicToolbarAnimator.java',
|
|
|
|
'gfx/FloatSize.java',
|
|
|
|
'gfx/FullScreenState.java',
|
|
|
|
'gfx/GeckoLayerClient.java',
|
|
|
|
'gfx/ImmutableViewportMetrics.java',
|
|
|
|
'gfx/IntSize.java',
|
|
|
|
'gfx/LayerRenderer.java',
|
|
|
|
'gfx/LayerView.java',
|
|
|
|
'gfx/NativePanZoomController.java',
|
|
|
|
'gfx/Overscroll.java',
|
|
|
|
'gfx/OverscrollEdgeEffect.java',
|
|
|
|
'gfx/PanningPerfAPI.java',
|
|
|
|
'gfx/PanZoomController.java',
|
|
|
|
'gfx/PanZoomTarget.java',
|
|
|
|
'gfx/PointUtils.java',
|
|
|
|
'gfx/RectUtils.java',
|
|
|
|
'gfx/RenderTask.java',
|
|
|
|
'gfx/StackScroller.java',
|
2016-08-24 01:52:30 +03:00
|
|
|
'gfx/SurfaceTextureListener.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'gfx/ViewTransform.java',
|
2016-12-20 09:18:35 +03:00
|
|
|
'gfx/VsyncSource.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'InputConnectionListener.java',
|
|
|
|
'InputMethods.java',
|
2017-03-01 19:17:09 +03:00
|
|
|
'media/AsyncCodec.java',
|
|
|
|
'media/AsyncCodecFactory.java',
|
|
|
|
'media/Codec.java',
|
|
|
|
'media/CodecProxy.java',
|
|
|
|
'media/FormatParam.java',
|
|
|
|
'media/GeckoMediaDrm.java',
|
|
|
|
'media/GeckoMediaDrmBridgeV21.java',
|
|
|
|
'media/GeckoMediaDrmBridgeV23.java',
|
|
|
|
'media/JellyBeanAsyncCodec.java',
|
|
|
|
'media/MediaDrmProxy.java',
|
|
|
|
'media/MediaManager.java',
|
|
|
|
'media/RemoteManager.java',
|
|
|
|
'media/RemoteMediaDrmBridge.java',
|
|
|
|
'media/RemoteMediaDrmBridgeStub.java',
|
|
|
|
'media/Sample.java',
|
|
|
|
'media/SamplePool.java',
|
|
|
|
'media/SessionKeyInfo.java',
|
|
|
|
'media/SharedMemBuffer.java',
|
2017-03-09 01:14:46 +03:00
|
|
|
'NativeQueue.java',
|
2016-09-22 23:38:19 +03:00
|
|
|
'NotificationListener.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'NSSBridge.java',
|
|
|
|
'permissions/PermissionBlock.java',
|
|
|
|
'permissions/Permissions.java',
|
|
|
|
'permissions/PermissionsHelper.java',
|
|
|
|
'PrefsHelper.java',
|
2016-10-06 02:50:48 +03:00
|
|
|
'process/GeckoProcessManager.java',
|
|
|
|
'process/GeckoServiceChildProcess.java',
|
2016-11-03 17:58:30 +03:00
|
|
|
'ScreenManagerHelper.java',
|
2016-12-17 02:45:27 +03:00
|
|
|
'ScreenOrientationDelegate.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'sqlite/ByteBufferInputStream.java',
|
|
|
|
'sqlite/MatrixBlobCursor.java',
|
|
|
|
'sqlite/SQLiteBridge.java',
|
|
|
|
'sqlite/SQLiteBridgeException.java',
|
|
|
|
'TouchEventInterceptor.java',
|
2016-09-16 22:13:47 +03:00
|
|
|
]]
|
|
|
|
|
2016-09-17 01:53:39 +03:00
|
|
|
gvjar.sources += [geckoview_thirdparty_source_dir + f for f in [
|
|
|
|
'java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java',
|
|
|
|
'java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java',
|
|
|
|
'java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java',
|
2016-09-16 22:13:47 +03:00
|
|
|
]]
|
|
|
|
|
|
|
|
gvjar.extra_jars += [
|
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
|
|
|
'constants.jar',
|
|
|
|
'gecko-mozglue.jar',
|
|
|
|
'gecko-util.jar',
|
|
|
|
]
|
|
|
|
|
|
|
|
gvjar.javac_flags += [
|
|
|
|
'-Xlint:all,-deprecation,-fallthrough',
|
|
|
|
'-J-Xmx512m',
|
|
|
|
'-J-Xms128m'
|
2016-08-03 02:34:32 +03:00
|
|
|
]
|
|
|
|
|
2016-09-16 22:13:47 +03:00
|
|
|
|
2013-10-25 02:38:22 +04:00
|
|
|
gbjar = add_java_jar('gecko-browser')
|
2016-08-03 02:34:32 +03:00
|
|
|
|
2015-12-04 23:02:06 +03:00
|
|
|
gbjar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
2013-11-22 11:33:28 +04:00
|
|
|
'AboutPages.java',
|
2015-08-20 20:03:20 +03:00
|
|
|
'AccountsHelper.java',
|
2016-03-14 13:57:05 +03:00
|
|
|
'ActionBarTextSelection.java',
|
2013-11-19 23:57:35 +04:00
|
|
|
'ActionModeCompat.java',
|
|
|
|
'ActionModeCompatView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'ActivityHandlerHelper.java',
|
2016-07-28 22:12:58 +03:00
|
|
|
'activitystream/ActivityStream.java',
|
2017-03-28 17:48:04 +03:00
|
|
|
'activitystream/ActivityStreamPreference.java',
|
2016-12-22 09:51:27 +03:00
|
|
|
'activitystream/ActivityStreamTelemetry.java',
|
2017-02-13 20:14:23 +03:00
|
|
|
'activitystream/ranking/HighlightCandidate.java',
|
|
|
|
'activitystream/ranking/HighlightsRanking.java',
|
|
|
|
'activitystream/ranking/RankingUtils.java',
|
2016-12-22 09:51:27 +03:00
|
|
|
'activitystream/Utils.java',
|
2016-11-02 22:13:36 +03:00
|
|
|
'adjust/AdjustBrowserAppDelegate.java',
|
2013-12-04 20:35:58 +04:00
|
|
|
'animation/AnimationUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'animation/HeightChangeAnimation.java',
|
|
|
|
'animation/PropertyAnimator.java',
|
|
|
|
'animation/Rotate3DAnimation.java',
|
|
|
|
'animation/ViewHelper.java',
|
2016-09-21 00:42:08 +03:00
|
|
|
'ANRReporter.java',
|
2017-03-23 09:14:24 +03:00
|
|
|
'bookmarks/BookmarkUtils.java',
|
2016-02-25 02:34:24 +03:00
|
|
|
'BootReceiver.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'BrowserApp.java',
|
2014-04-16 02:07:14 +04:00
|
|
|
'BrowserLocaleManager.java',
|
2016-04-14 22:54:24 +03:00
|
|
|
'cleanup/FileCleanupController.java',
|
2016-04-13 03:10:35 +03:00
|
|
|
'cleanup/FileCleanupService.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'CustomEditText.java',
|
2017-03-03 08:02:16 +03:00
|
|
|
'customtabs/ActionBarPresenter.java',
|
2016-05-25 20:58:17 +03:00
|
|
|
'customtabs/CustomTabsActivity.java',
|
2016-05-25 20:31:10 +03:00
|
|
|
'customtabs/GeckoCustomTabsService.java',
|
2017-01-25 14:07:21 +03:00
|
|
|
'customtabs/IntentUtil.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'DataReportingNotification.java',
|
2014-03-22 03:00:38 +04:00
|
|
|
'db/AbstractPerProfileDatabaseProvider.java',
|
|
|
|
'db/AbstractTransactionalProvider.java',
|
2014-06-10 17:22:47 +04:00
|
|
|
'db/BaseTable.java',
|
2014-01-20 19:38:18 +04:00
|
|
|
'db/BrowserDatabaseHelper.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'db/BrowserDB.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/BrowserProvider.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'db/DBUtils.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/FormHistoryProvider.java',
|
2014-01-28 01:49:34 +04:00
|
|
|
'db/HomeProvider.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/LocalBrowserDB.java',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/LocalSearches.java',
|
|
|
|
'db/LocalTabsAccessor.java',
|
2016-02-26 04:53:35 +03:00
|
|
|
'db/LocalUrlAnnotations.java',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/LocalURLMetadata.java',
|
2016-02-16 03:14:31 +03:00
|
|
|
'db/LoginsProvider.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/PasswordsProvider.java',
|
2014-03-22 03:00:38 +04:00
|
|
|
'db/PerProfileDatabaseProvider.java',
|
2013-12-09 21:05:59 +04:00
|
|
|
'db/PerProfileDatabases.java',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/RemoteClient.java',
|
|
|
|
'db/RemoteTab.java',
|
|
|
|
'db/Searches.java',
|
2014-07-01 19:58:24 +04:00
|
|
|
'db/SearchHistoryProvider.java',
|
2014-03-22 03:00:38 +04:00
|
|
|
'db/SharedBrowserDatabaseProvider.java',
|
2014-01-18 05:02:55 +04:00
|
|
|
'db/SQLiteBridgeContentProvider.java',
|
2014-05-09 12:39:14 +04:00
|
|
|
'db/SuggestedSites.java',
|
2014-06-10 17:22:47 +04:00
|
|
|
'db/Table.java',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/TabsAccessor.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/TabsProvider.java',
|
2016-02-26 04:53:35 +03:00
|
|
|
'db/UrlAnnotations.java',
|
2017-02-02 19:35:17 +03:00
|
|
|
'db/URLImageDataTable.java',
|
2014-06-10 17:22:47 +04:00
|
|
|
'db/URLMetadata.java',
|
2016-05-04 18:33:32 +03:00
|
|
|
'delegates/BookmarkStateChangeDelegate.java',
|
|
|
|
'delegates/BrowserAppDelegate.java',
|
2016-05-04 18:40:45 +03:00
|
|
|
'delegates/BrowserAppDelegateWithReference.java',
|
2016-06-25 02:56:04 +03:00
|
|
|
'delegates/OfflineTabStatusDelegate.java',
|
2016-05-04 18:33:32 +03:00
|
|
|
'delegates/ScreenshotDelegate.java',
|
2016-06-22 16:31:27 +03:00
|
|
|
'delegates/TabsTrayVisibilityAwareDelegate.java',
|
2015-07-06 20:15:24 +03:00
|
|
|
'DevToolsAuthHelper.java',
|
2014-05-23 04:34:04 +04:00
|
|
|
'distribution/Distribution.java',
|
2016-04-13 23:17:13 +03:00
|
|
|
'distribution/DistributionStoreCallback.java',
|
2016-07-14 12:58:14 +03:00
|
|
|
'distribution/PartnerBookmarksProviderProxy.java',
|
2016-07-04 17:14:36 +03:00
|
|
|
'distribution/PartnerBrowserCustomizationsClient.java',
|
2014-07-04 06:45:24 +04:00
|
|
|
'distribution/ReferrerDescriptor.java',
|
|
|
|
'distribution/ReferrerReceiver.java',
|
2015-12-16 15:11:10 +03:00
|
|
|
'dlc/BaseAction.java',
|
2015-12-02 22:28:00 +03:00
|
|
|
'dlc/catalog/DownloadContent.java',
|
|
|
|
'dlc/catalog/DownloadContentBootstrap.java',
|
2016-03-22 13:20:18 +03:00
|
|
|
'dlc/catalog/DownloadContentBuilder.java',
|
2015-12-02 22:28:00 +03:00
|
|
|
'dlc/catalog/DownloadContentCatalog.java',
|
2015-12-16 15:11:10 +03:00
|
|
|
'dlc/DownloadAction.java',
|
2015-12-02 22:28:00 +03:00
|
|
|
'dlc/DownloadContentService.java',
|
2017-04-03 17:13:30 +03:00
|
|
|
'dlc/DownloadContentTelemetry.java',
|
2015-12-16 15:11:10 +03:00
|
|
|
'dlc/StudyAction.java',
|
2016-03-22 13:20:18 +03:00
|
|
|
'dlc/SyncAction.java',
|
2015-12-16 15:11:10 +03:00
|
|
|
'dlc/VerifyAction.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'DoorHangerPopup.java',
|
2014-10-20 23:24:49 +04:00
|
|
|
'DownloadsIntegration.java',
|
2014-03-13 23:29:39 +04:00
|
|
|
'DynamicToolbar.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'EditBookmarkDialog.java',
|
2016-08-03 02:34:32 +03:00
|
|
|
'Experiments.java',
|
2016-03-23 18:07:52 +03:00
|
|
|
'feeds/action/CheckForUpdatesAction.java',
|
|
|
|
'feeds/action/EnrollSubscriptionsAction.java',
|
|
|
|
'feeds/action/FeedAction.java',
|
|
|
|
'feeds/action/SetupAlarmsAction.java',
|
|
|
|
'feeds/action/SubscribeToFeedAction.java',
|
|
|
|
'feeds/action/WithdrawSubscriptionsAction.java',
|
2016-04-28 12:12:01 +03:00
|
|
|
'feeds/ContentNotificationsDelegate.java',
|
2016-02-25 02:29:01 +03:00
|
|
|
'feeds/FeedAlarmReceiver.java',
|
2016-02-24 22:49:45 +03:00
|
|
|
'feeds/FeedFetcher.java',
|
2016-02-25 01:38:44 +03:00
|
|
|
'feeds/FeedService.java',
|
2016-02-25 01:55:40 +03:00
|
|
|
'feeds/knownsites/KnownSite.java',
|
|
|
|
'feeds/knownsites/KnownSiteBlogger.java',
|
|
|
|
'feeds/knownsites/KnownSiteMedium.java',
|
2016-04-12 17:20:32 +03:00
|
|
|
'feeds/knownsites/KnownSiteTumblr.java',
|
2016-02-26 19:59:51 +03:00
|
|
|
'feeds/knownsites/KnownSiteWordpress.java',
|
2016-02-24 21:55:35 +03:00
|
|
|
'feeds/parser/Feed.java',
|
|
|
|
'feeds/parser/Item.java',
|
|
|
|
'feeds/parser/SimpleFeedParser.java',
|
2016-02-25 01:27:31 +03:00
|
|
|
'feeds/subscriptions/FeedSubscription.java',
|
2014-02-15 00:02:05 +04:00
|
|
|
'FilePicker.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'FilePickerResultHandler.java',
|
|
|
|
'FindInPageBar.java',
|
2016-01-20 23:21:38 +03:00
|
|
|
'firstrun/DataPanel.java',
|
2015-12-15 03:01:17 +03:00
|
|
|
'firstrun/FirstrunAnimationContainer.java',
|
2015-01-29 05:41:20 +03:00
|
|
|
'firstrun/FirstrunPager.java',
|
|
|
|
'firstrun/FirstrunPagerConfig.java',
|
|
|
|
'firstrun/FirstrunPanel.java',
|
2015-08-07 22:01:00 +03:00
|
|
|
'firstrun/RestrictedWelcomePanel.java',
|
2015-09-17 03:16:56 +03:00
|
|
|
'firstrun/SyncPanel.java',
|
2016-05-17 04:02:53 +03:00
|
|
|
'firstrun/TabQueuePanel.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'FormAssistPopup.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'GeckoActivity.java',
|
|
|
|
'GeckoActivityStatus.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GeckoApp.java',
|
|
|
|
'GeckoApplication.java',
|
2017-02-05 15:22:49 +03:00
|
|
|
'GeckoFontScaleListener.java',
|
2016-09-21 00:42:08 +03:00
|
|
|
'GeckoJavaSampler.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoMessageReceiver.java',
|
2014-03-19 06:20:07 +04:00
|
|
|
'GeckoProfilesProvider.java',
|
2016-09-22 23:38:19 +03:00
|
|
|
'GeckoService.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GeckoUpdateReceiver.java',
|
|
|
|
'GlobalHistory.java',
|
2016-11-04 23:39:50 +03:00
|
|
|
'GlobalPageMetadata.java',
|
2014-09-17 07:22:41 +04:00
|
|
|
'GuestSession.java',
|
2014-02-05 07:41:29 +04:00
|
|
|
'health/HealthRecorder.java',
|
|
|
|
'health/SessionInformation.java',
|
|
|
|
'health/StubbedHealthRecorder.java',
|
2016-07-21 21:31:57 +03:00
|
|
|
'home/activitystream/ActivityStream.java',
|
2016-08-30 22:18:57 +03:00
|
|
|
'home/activitystream/ActivityStreamHomeFragment.java',
|
2016-08-30 01:33:32 +03:00
|
|
|
'home/activitystream/ActivityStreamHomeScreen.java',
|
2017-02-13 20:14:23 +03:00
|
|
|
'home/activitystream/HighlightsLoader.java',
|
2016-10-24 20:17:14 +03:00
|
|
|
'home/activitystream/menu/ActivityStreamContextMenu.java',
|
2016-11-02 22:57:05 +03:00
|
|
|
'home/activitystream/menu/BottomSheetContextMenu.java',
|
2016-11-02 23:01:43 +03:00
|
|
|
'home/activitystream/menu/PopupContextMenu.java',
|
2017-01-05 22:02:54 +03:00
|
|
|
'home/activitystream/model/Highlight.java',
|
2017-01-09 16:39:34 +03:00
|
|
|
'home/activitystream/model/Item.java',
|
2017-01-05 22:02:54 +03:00
|
|
|
'home/activitystream/model/Metadata.java',
|
2017-01-09 15:53:10 +03:00
|
|
|
'home/activitystream/model/TopSite.java',
|
2017-01-05 21:29:38 +03:00
|
|
|
'home/activitystream/stream/HighlightItem.java',
|
|
|
|
'home/activitystream/stream/HighlightsTitle.java',
|
|
|
|
'home/activitystream/stream/StreamItem.java',
|
|
|
|
'home/activitystream/stream/TopPanel.java',
|
|
|
|
'home/activitystream/stream/WelcomePanel.java',
|
Bug 1339520 - Keep existing TopPanel when cursor is swapped r=sebastian
By default RecyclerView assumes any item change *might* need animation. It then
creates a new copy of the item that has changed, and interpolates between the two
to "animate" the change. We don't need that for topsites (the RecyclerView's we use
inside each TopSitePanel already animate changes, the overall size doesn't change -
moreover ViewPager state gets lost if you create a new panel), so we override
this behaviour to retain the existing panel. This stops the previously visible
horrible flickering.
(Every time history changes, which can happen if sync is working, or even if a page
finishes loading in the background, the DB is changed, and a reload is triggered.
Prior to this commit, topsites would flicker horribly, and would reset back to the first
topsites page. After this commit the page is retained, and the visible topsites
are rearranged by the inner RecyclerView's animations. You can test this by pinning a
site on the first page, the pinned site will shift to the front, the other sites smoothly
move to the right.)
MozReview-Commit-ID: CnocNfdQ2FS
--HG--
extra : rebase_source : 3a4e1d86c786126aee1e08ab020b855056e4f921
2017-02-17 05:42:46 +03:00
|
|
|
'home/activitystream/StreamItemAnimator.java',
|
2016-08-16 23:38:19 +03:00
|
|
|
'home/activitystream/StreamRecyclerAdapter.java',
|
2016-08-30 19:42:59 +03:00
|
|
|
'home/activitystream/topsites/CirclePageIndicator.java',
|
2016-08-30 19:59:08 +03:00
|
|
|
'home/activitystream/topsites/TopSitesCard.java',
|
|
|
|
'home/activitystream/topsites/TopSitesPage.java',
|
|
|
|
'home/activitystream/topsites/TopSitesPageAdapter.java',
|
|
|
|
'home/activitystream/topsites/TopSitesPagerAdapter.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'home/BookmarkFolderView.java',
|
2016-03-01 03:32:43 +03:00
|
|
|
'home/BookmarkScreenshotRow.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/BookmarksListAdapter.java',
|
|
|
|
'home/BookmarksListView.java',
|
2014-01-11 05:18:07 +04:00
|
|
|
'home/BookmarksPanel.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/BrowserSearch.java',
|
2016-04-22 08:04:10 +03:00
|
|
|
'home/ClientsAdapter.java',
|
2016-02-23 22:00:42 +03:00
|
|
|
'home/CombinedHistoryAdapter.java',
|
|
|
|
'home/CombinedHistoryItem.java',
|
|
|
|
'home/CombinedHistoryPanel.java',
|
|
|
|
'home/CombinedHistoryRecyclerView.java',
|
2014-01-15 23:49:26 +04:00
|
|
|
'home/DynamicPanel.java',
|
2014-01-28 01:29:55 +04:00
|
|
|
'home/FramePanelLayout.java',
|
2016-03-17 10:18:37 +03:00
|
|
|
'home/HistorySectionsHelper.java',
|
2013-12-12 16:02:50 +04:00
|
|
|
'home/HomeAdapter.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'home/HomeBanner.java',
|
2013-12-12 16:04:31 +04:00
|
|
|
'home/HomeConfig.java',
|
|
|
|
'home/HomeConfigLoader.java',
|
2014-01-10 15:16:28 +04:00
|
|
|
'home/HomeConfigPrefsBackend.java',
|
2014-01-31 20:30:47 +04:00
|
|
|
'home/HomeContextMenuInfo.java',
|
2014-09-05 02:32:31 +04:00
|
|
|
'home/HomeExpandableListView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/HomeFragment.java',
|
|
|
|
'home/HomeListView.java',
|
|
|
|
'home/HomePager.java',
|
2014-04-23 18:22:34 +04:00
|
|
|
'home/HomePanelsManager.java',
|
2016-07-21 18:48:23 +03:00
|
|
|
'home/HomeScreen.java',
|
2014-07-15 23:56:48 +04:00
|
|
|
'home/ImageLoader.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/MultiTypeCursorAdapter.java',
|
2014-03-27 20:25:04 +04:00
|
|
|
'home/PanelAuthCache.java',
|
2014-03-27 20:25:04 +04:00
|
|
|
'home/PanelAuthLayout.java',
|
2014-03-05 03:15:44 +04:00
|
|
|
'home/PanelBackItemView.java',
|
2015-07-06 11:47:38 +03:00
|
|
|
'home/PanelHeaderView.java',
|
2014-04-23 18:22:33 +04:00
|
|
|
'home/PanelInfoManager.java',
|
2014-02-19 21:37:00 +04:00
|
|
|
'home/PanelItemView.java',
|
2014-01-28 01:29:55 +04:00
|
|
|
'home/PanelLayout.java',
|
|
|
|
'home/PanelListView.java',
|
2015-06-21 22:08:30 +03:00
|
|
|
'home/PanelRecyclerView.java',
|
|
|
|
'home/PanelRecyclerViewAdapter.java',
|
2014-04-15 17:50:00 +04:00
|
|
|
'home/PanelRefreshLayout.java',
|
2014-02-19 21:37:00 +04:00
|
|
|
'home/PanelViewAdapter.java',
|
2014-02-25 03:23:29 +04:00
|
|
|
'home/PanelViewItemHandler.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/PinSiteDialog.java',
|
2016-05-14 00:52:24 +03:00
|
|
|
'home/RecentTabsAdapter.java',
|
2014-09-17 02:41:10 +04:00
|
|
|
'home/RemoteTabsExpandableListState.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/SearchEngine.java',
|
2015-07-23 07:06:33 +03:00
|
|
|
'home/SearchEngineAdapter.java',
|
2015-04-22 02:25:33 +03:00
|
|
|
'home/SearchEngineBar.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/SearchEngineRow.java',
|
|
|
|
'home/SearchLoader.java',
|
|
|
|
'home/SimpleCursorLoader.java',
|
2015-06-21 22:08:30 +03:00
|
|
|
'home/SpacingDecoration.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/TabMenuStrip.java',
|
2014-04-24 01:37:31 +04:00
|
|
|
'home/TabMenuStripLayout.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/TopSitesGridItemView.java',
|
|
|
|
'home/TopSitesGridView.java',
|
2014-01-11 05:18:07 +04:00
|
|
|
'home/TopSitesPanel.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/TopSitesThumbnailView.java',
|
|
|
|
'home/TwoLinePageRow.java',
|
2016-08-17 19:08:51 +03:00
|
|
|
'icons/decoders/FaviconDecoder.java',
|
|
|
|
'icons/decoders/ICODecoder.java',
|
|
|
|
'icons/decoders/IconDirectoryEntry.java',
|
|
|
|
'icons/decoders/LoadFaviconResult.java',
|
2016-08-16 12:36:22 +03:00
|
|
|
'icons/IconCallback.java',
|
|
|
|
'icons/IconDescriptor.java',
|
|
|
|
'icons/IconDescriptorComparator.java',
|
|
|
|
'icons/IconRequest.java',
|
|
|
|
'icons/IconRequestBuilder.java',
|
|
|
|
'icons/IconRequestExecutor.java',
|
|
|
|
'icons/IconResponse.java',
|
|
|
|
'icons/Icons.java',
|
|
|
|
'icons/IconsHelper.java',
|
|
|
|
'icons/IconTask.java',
|
|
|
|
'icons/loader/ContentProviderLoader.java',
|
|
|
|
'icons/loader/DataUriLoader.java',
|
|
|
|
'icons/loader/DiskLoader.java',
|
|
|
|
'icons/loader/IconDownloader.java',
|
|
|
|
'icons/loader/IconGenerator.java',
|
|
|
|
'icons/loader/IconLoader.java',
|
|
|
|
'icons/loader/JarLoader.java',
|
|
|
|
'icons/loader/LegacyLoader.java',
|
|
|
|
'icons/loader/MemoryLoader.java',
|
2017-02-09 02:15:12 +03:00
|
|
|
'icons/loader/SuggestedSiteLoader.java',
|
2016-08-16 12:36:22 +03:00
|
|
|
'icons/preparation/AboutPagesPreparer.java',
|
|
|
|
'icons/preparation/AddDefaultIconUrl.java',
|
|
|
|
'icons/preparation/FilterKnownFailureUrls.java',
|
|
|
|
'icons/preparation/FilterMimeTypes.java',
|
|
|
|
'icons/preparation/FilterPrivilegedUrls.java',
|
|
|
|
'icons/preparation/LookupIconUrl.java',
|
|
|
|
'icons/preparation/Preparer.java',
|
2017-02-09 02:15:12 +03:00
|
|
|
'icons/preparation/SuggestedSitePreparer.java',
|
2016-08-16 12:36:22 +03:00
|
|
|
'icons/processing/ColorProcessor.java',
|
|
|
|
'icons/processing/DiskProcessor.java',
|
|
|
|
'icons/processing/MemoryProcessor.java',
|
|
|
|
'icons/processing/Processor.java',
|
|
|
|
'icons/processing/ResizingProcessor.java',
|
|
|
|
'icons/storage/DiskStorage.java',
|
|
|
|
'icons/storage/FailureCache.java',
|
|
|
|
'icons/storage/MemoryStorage.java',
|
2014-04-25 18:28:00 +04:00
|
|
|
'IntentHelper.java',
|
2015-06-18 07:47:29 +03:00
|
|
|
'javaaddons/JavaAddonManager.java',
|
|
|
|
'javaaddons/JavaAddonManagerV1.java',
|
2016-05-15 15:25:12 +03:00
|
|
|
'LauncherActivity.java',
|
2014-12-05 23:21:42 +03:00
|
|
|
'lwt/LightweightTheme.java',
|
|
|
|
'lwt/LightweightThemeDrawable.java',
|
2015-07-15 06:23:00 +03:00
|
|
|
'mdns/MulticastDNSManager.java',
|
2016-04-18 13:48:19 +03:00
|
|
|
'media/AudioFocusAgent.java',
|
2016-06-01 05:26:01 +03:00
|
|
|
'media/MediaControlService.java',
|
2016-08-12 22:45:13 +03:00
|
|
|
'media/VideoPlayer.java',
|
2014-01-21 02:26:30 +04:00
|
|
|
'MediaCastingBar.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'MemoryMonitor.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'menu/GeckoMenu.java',
|
|
|
|
'menu/GeckoMenuInflater.java',
|
|
|
|
'menu/GeckoMenuItem.java',
|
|
|
|
'menu/GeckoSubMenu.java',
|
|
|
|
'menu/MenuItemActionBar.java',
|
|
|
|
'menu/MenuItemDefault.java',
|
2015-10-16 00:48:06 +03:00
|
|
|
'menu/MenuItemSwitcherLayout.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'menu/MenuPanel.java',
|
|
|
|
'menu/MenuPopup.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'MotionEventInterceptor.java',
|
2016-09-22 23:38:19 +03:00
|
|
|
'notifications/NotificationClient.java',
|
|
|
|
'notifications/NotificationHelper.java',
|
|
|
|
'notifications/NotificationReceiver.java',
|
|
|
|
'notifications/NotificationService.java',
|
2016-02-24 23:16:46 +03:00
|
|
|
'notifications/WhatsNewReceiver.java',
|
2015-11-27 23:51:02 +03:00
|
|
|
'overlays/OverlayConstants.java',
|
|
|
|
'overlays/service/OverlayActionService.java',
|
|
|
|
'overlays/service/ShareData.java',
|
|
|
|
'overlays/service/sharemethods/AddBookmark.java',
|
|
|
|
'overlays/service/sharemethods/SendTab.java',
|
|
|
|
'overlays/service/sharemethods/ShareMethod.java',
|
|
|
|
'overlays/ui/OverlayDialogButton.java',
|
|
|
|
'overlays/ui/SendTabDeviceListArrayAdapter.java',
|
|
|
|
'overlays/ui/SendTabList.java',
|
|
|
|
'overlays/ui/SendTabTargetSelectedListener.java',
|
|
|
|
'overlays/ui/ShareDialog.java',
|
2016-08-26 16:36:37 +03:00
|
|
|
'PackageReplacedReceiver.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/AlignRightLinkPreference.java',
|
|
|
|
'preferences/AndroidImport.java',
|
|
|
|
'preferences/AndroidImportPreference.java',
|
2016-03-29 00:32:07 +03:00
|
|
|
'preferences/AppCompatPreferenceActivity.java',
|
2014-06-19 11:04:00 +04:00
|
|
|
'preferences/ClearOnShutdownPref.java',
|
2014-08-19 10:35:20 +04:00
|
|
|
'preferences/CustomCheckBoxPreference.java',
|
2014-01-22 22:10:51 +04:00
|
|
|
'preferences/CustomListCategory.java',
|
|
|
|
'preferences/CustomListPreference.java',
|
2015-10-08 18:35:32 +03:00
|
|
|
'preferences/DistroSharedPrefsImport.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'preferences/GeckoPreferenceFragment.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'preferences/GeckoPreferences.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/LinkPreference.java',
|
2014-06-19 11:04:00 +04:00
|
|
|
'preferences/ListCheckboxPreference.java',
|
2014-05-14 07:50:27 +04:00
|
|
|
'preferences/LocaleListPreference.java',
|
2014-02-21 01:11:25 +04:00
|
|
|
'preferences/ModifiableHintPreference.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/MultiChoicePreference.java',
|
2014-06-19 11:04:00 +04:00
|
|
|
'preferences/MultiPrefMultiChoicePreference.java',
|
2013-12-17 08:37:16 +04:00
|
|
|
'preferences/PanelsPreference.java',
|
|
|
|
'preferences/PanelsPreferenceCategory.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/PrivateDataPreference.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'preferences/SearchEnginePreference.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'preferences/SearchPreferenceCategory.java',
|
2015-09-14 16:36:38 +03:00
|
|
|
'preferences/SetHomepagePreference.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/SyncPreference.java',
|
2016-10-03 12:12:57 +03:00
|
|
|
'PresentationView.java',
|
2015-09-01 00:54:23 +03:00
|
|
|
'PrintHelper.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'PrivateTab.java',
|
2016-04-06 10:41:34 +03:00
|
|
|
'promotion/AddToHomeScreenPromotion.java',
|
|
|
|
'promotion/HomeScreenPrompt.java',
|
2016-05-02 20:00:52 +03:00
|
|
|
'promotion/ReaderViewBookmarkPromotion.java',
|
2016-04-23 11:56:17 +03:00
|
|
|
'promotion/SimpleHelperUI.java',
|
2013-12-12 03:51:01 +04:00
|
|
|
'prompts/ColorPickerInput.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'prompts/IconGridInput.java',
|
2014-02-07 04:21:00 +04:00
|
|
|
'prompts/IntentChooserPrompt.java',
|
|
|
|
'prompts/IntentHandler.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'prompts/Prompt.java',
|
|
|
|
'prompts/PromptInput.java',
|
2014-02-07 04:16:00 +04:00
|
|
|
'prompts/PromptListAdapter.java',
|
2014-02-07 04:13:00 +04:00
|
|
|
'prompts/PromptListItem.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'prompts/PromptService.java',
|
2014-02-07 04:24:00 +04:00
|
|
|
'prompts/TabInput.java',
|
2016-03-01 05:03:15 +03:00
|
|
|
'reader/ReaderModeUtils.java',
|
|
|
|
'reader/ReadingListHelper.java',
|
2016-04-08 00:29:54 +03:00
|
|
|
'reader/SavedReaderViewHelper.java',
|
2014-09-17 02:41:14 +04:00
|
|
|
'RemoteClientsDialogFragment.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Restarter.java',
|
2016-09-14 19:43:36 +03:00
|
|
|
'restrictions/DefaultConfiguration.java',
|
|
|
|
'restrictions/GuestProfileConfiguration.java',
|
|
|
|
'restrictions/Restrictable.java',
|
|
|
|
'restrictions/RestrictedProfileConfiguration.java',
|
|
|
|
'restrictions/RestrictionCache.java',
|
|
|
|
'restrictions/RestrictionConfiguration.java',
|
|
|
|
'restrictions/RestrictionProvider.java',
|
|
|
|
'restrictions/Restrictions.java',
|
2016-01-25 15:16:35 +03:00
|
|
|
'ScreenshotObserver.java',
|
2016-02-24 04:27:24 +03:00
|
|
|
'search/SearchEngine.java',
|
|
|
|
'search/SearchEngineManager.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'SessionParser.java',
|
|
|
|
'SharedPreferencesHelper.java',
|
2013-12-12 04:28:15 +04:00
|
|
|
'SiteIdentity.java',
|
2016-07-11 17:42:01 +03:00
|
|
|
'SnackbarBuilder.java',
|
2014-08-15 04:17:29 +04:00
|
|
|
'SuggestClient.java',
|
2017-01-29 00:26:13 +03:00
|
|
|
'switchboard/AsyncConfigLoader.java',
|
|
|
|
'switchboard/DeviceUuidFactory.java',
|
|
|
|
'switchboard/Preferences.java',
|
|
|
|
'switchboard/Switch.java',
|
|
|
|
'switchboard/SwitchBoard.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Tab.java',
|
2015-03-19 12:17:22 +03:00
|
|
|
'tabqueue/TabQueueHelper.java',
|
2015-04-09 12:55:13 +03:00
|
|
|
'tabqueue/TabQueuePrompt.java',
|
2015-03-18 15:15:53 +03:00
|
|
|
'tabqueue/TabQueueService.java',
|
2015-10-27 00:18:58 +03:00
|
|
|
'tabqueue/TabReceivedService.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Tabs.java',
|
2016-11-29 22:22:37 +03:00
|
|
|
'tabs/AutoFitTabsGridLayout.java',
|
|
|
|
'tabs/CompactTabsGridLayout.java',
|
2014-08-06 18:59:41 +04:00
|
|
|
'tabs/PrivateTabsPanel.java',
|
2014-08-21 20:14:28 +04:00
|
|
|
'tabs/TabCurve.java',
|
2014-11-05 21:13:56 +03:00
|
|
|
'tabs/TabHistoryController.java',
|
|
|
|
'tabs/TabHistoryFragment.java',
|
|
|
|
'tabs/TabHistoryItemRow.java',
|
|
|
|
'tabs/TabHistoryPage.java',
|
2015-01-21 15:42:52 +03:00
|
|
|
'tabs/TabPanelBackButton.java',
|
2014-09-23 18:06:36 +04:00
|
|
|
'tabs/TabsGridLayout.java',
|
2016-09-12 19:21:51 +03:00
|
|
|
'tabs/TabsGridLayoutAnimator.java',
|
2016-09-12 18:33:02 +03:00
|
|
|
'tabs/TabsLayout.java',
|
2014-09-05 12:28:25 +04:00
|
|
|
'tabs/TabsLayoutAdapter.java',
|
2014-08-27 20:11:56 +04:00
|
|
|
'tabs/TabsLayoutItemView.java',
|
2015-09-10 12:51:54 +03:00
|
|
|
'tabs/TabsListLayout.java',
|
2016-09-12 18:50:04 +03:00
|
|
|
'tabs/TabsListLayoutAnimator.java',
|
2014-08-06 18:59:41 +04:00
|
|
|
'tabs/TabsPanel.java',
|
2015-08-24 17:34:24 +03:00
|
|
|
'tabs/TabsPanelThumbnailView.java',
|
2016-09-12 18:46:30 +03:00
|
|
|
'tabs/TabsTouchHelperCallback.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Telemetry.java',
|
2016-07-19 23:58:28 +03:00
|
|
|
'telemetry/measurements/CampaignIdMeasurements.java',
|
2016-05-13 03:06:43 +03:00
|
|
|
'telemetry/measurements/SearchCountMeasurements.java',
|
2016-05-18 00:56:00 +03:00
|
|
|
'telemetry/measurements/SessionMeasurements.java',
|
2016-04-30 01:31:56 +03:00
|
|
|
'telemetry/pingbuilders/TelemetryCorePingBuilder.java',
|
|
|
|
'telemetry/pingbuilders/TelemetryPingBuilder.java',
|
2016-04-29 00:57:00 +03:00
|
|
|
'telemetry/schedulers/TelemetryUploadAllPingsImmediatelyScheduler.java',
|
2016-04-29 00:38:21 +03:00
|
|
|
'telemetry/schedulers/TelemetryUploadScheduler.java',
|
2016-04-29 03:10:19 +03:00
|
|
|
'telemetry/stores/TelemetryJSONFilePingStore.java',
|
2016-04-29 00:38:21 +03:00
|
|
|
'telemetry/stores/TelemetryPingStore.java',
|
2016-01-26 04:47:35 +03:00
|
|
|
'telemetry/TelemetryConstants.java',
|
2016-06-01 01:39:58 +03:00
|
|
|
'telemetry/TelemetryCorePingDelegate.java',
|
2016-04-29 01:36:56 +03:00
|
|
|
'telemetry/TelemetryDispatcher.java',
|
2016-04-29 00:24:26 +03:00
|
|
|
'telemetry/TelemetryPing.java',
|
2016-06-09 03:20:31 +03:00
|
|
|
'telemetry/TelemetryPreferences.java',
|
2016-01-28 03:25:27 +03:00
|
|
|
'telemetry/TelemetryUploadService.java',
|
2014-03-29 02:36:55 +04:00
|
|
|
'TelemetryContract.java',
|
2016-03-14 13:57:05 +03:00
|
|
|
'text/FloatingActionModeCallback.java',
|
|
|
|
'text/FloatingToolbarTextSelection.java',
|
|
|
|
'text/TextAction.java',
|
|
|
|
'text/TextSelection.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'ThumbnailHelper.java',
|
2013-11-19 19:46:48 +04:00
|
|
|
'toolbar/AutocompleteHandler.java',
|
|
|
|
'toolbar/BackButton.java',
|
|
|
|
'toolbar/BrowserToolbar.java',
|
2014-08-28 02:34:03 +04:00
|
|
|
'toolbar/BrowserToolbarPhone.java',
|
|
|
|
'toolbar/BrowserToolbarPhoneBase.java',
|
2015-01-30 03:30:46 +03:00
|
|
|
'toolbar/BrowserToolbarTablet.java',
|
2014-08-28 02:34:03 +04:00
|
|
|
'toolbar/BrowserToolbarTabletBase.java',
|
2013-11-19 19:46:48 +04:00
|
|
|
'toolbar/CanvasDelegate.java',
|
|
|
|
'toolbar/ForwardButton.java',
|
2014-10-20 19:05:46 +04:00
|
|
|
'toolbar/NavButton.java',
|
2013-11-19 19:46:48 +04:00
|
|
|
'toolbar/PageActionLayout.java',
|
2014-08-21 20:14:28 +04:00
|
|
|
'toolbar/PhoneTabsButton.java',
|
2017-03-09 10:17:36 +03:00
|
|
|
'toolbar/SecurityModeUtil.java',
|
2013-11-19 19:46:48 +04:00
|
|
|
'toolbar/ShapedButton.java',
|
2015-09-11 23:51:17 +03:00
|
|
|
'toolbar/ShapedButtonFrameLayout.java',
|
2013-12-12 04:28:14 +04:00
|
|
|
'toolbar/SiteIdentityPopup.java',
|
2013-11-19 19:46:48 +04:00
|
|
|
'toolbar/TabCounter.java',
|
2014-01-09 18:55:28 +04:00
|
|
|
'toolbar/ToolbarDisplayLayout.java',
|
2013-11-22 19:34:29 +04:00
|
|
|
'toolbar/ToolbarEditLayout.java',
|
2013-11-22 17:47:42 +04:00
|
|
|
'toolbar/ToolbarEditText.java',
|
2014-08-14 22:40:49 +04:00
|
|
|
'toolbar/ToolbarPrefs.java',
|
2014-01-18 08:03:59 +04:00
|
|
|
'toolbar/ToolbarProgressView.java',
|
2015-07-15 13:23:37 +03:00
|
|
|
'trackingprotection/TrackingProtectionPrompt.java',
|
2016-06-09 04:37:06 +03:00
|
|
|
'updater/PostUpdateHandler.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'updater/UpdateService.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'updater/UpdateServiceHelper.java',
|
2016-09-18 20:27:01 +03:00
|
|
|
'util/ColorUtil.java',
|
2016-10-22 01:51:38 +03:00
|
|
|
'util/DrawableUtil.java',
|
2017-02-03 02:15:27 +03:00
|
|
|
'util/JavaUtil.java',
|
2016-10-22 01:51:38 +03:00
|
|
|
'util/ResourceDrawableUtils.java',
|
2016-10-31 17:42:30 +03:00
|
|
|
'util/TouchTargetUtil.java',
|
2016-11-08 18:11:02 +03:00
|
|
|
'util/ViewUtil.java',
|
2017-03-15 18:39:01 +03:00
|
|
|
'webapps/WebAppActivity.java',
|
2017-03-29 20:44:30 +03:00
|
|
|
'webapps/WebAppIndexer.java',
|
|
|
|
'webapps/WebApps.java',
|
2017-04-18 13:12:43 +03:00
|
|
|
'widget/ActionModePresenter.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/ActivityChooserModel.java',
|
2013-11-11 22:41:12 +04:00
|
|
|
'widget/AllCapsTextView.java',
|
2015-03-05 05:09:25 +03:00
|
|
|
'widget/AnchoredPopup.java',
|
2013-11-11 22:41:12 +04:00
|
|
|
'widget/AnimatedHeightLayout.java',
|
2013-12-12 03:51:01 +04:00
|
|
|
'widget/BasicColorPicker.java',
|
2013-11-11 22:41:12 +04:00
|
|
|
'widget/CheckableLinearLayout.java',
|
|
|
|
'widget/ClickableWhenDisabledEditText.java',
|
2015-07-09 01:42:11 +03:00
|
|
|
'widget/ContentSecurityDoorHanger.java',
|
2015-08-24 17:34:24 +03:00
|
|
|
'widget/CropImageView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/DateTimePicker.java',
|
2015-03-19 01:51:10 +03:00
|
|
|
'widget/DefaultDoorHanger.java',
|
2016-10-27 08:08:05 +03:00
|
|
|
'widget/DefaultItemAnimatorBase.java',
|
2013-12-12 04:28:13 +04:00
|
|
|
'widget/DoorHanger.java',
|
2015-03-24 06:27:21 +03:00
|
|
|
'widget/DoorhangerConfig.java',
|
2014-02-19 03:16:26 +04:00
|
|
|
'widget/EllipsisTextView.java',
|
2015-09-18 04:41:53 +03:00
|
|
|
'widget/ExternalIntentDuringPrivateBrowsingPromptFragment.java',
|
2014-12-31 23:31:17 +03:00
|
|
|
'widget/FadedMultiColorTextView.java',
|
2014-12-31 23:31:17 +03:00
|
|
|
'widget/FadedSingleColorTextView.java',
|
2014-09-03 19:21:32 +04:00
|
|
|
'widget/FadedTextView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/FaviconView.java',
|
2016-08-23 23:35:46 +03:00
|
|
|
'widget/FilledCardView.java',
|
2013-11-11 22:41:12 +04:00
|
|
|
'widget/FlowLayout.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'widget/GeckoActionProvider.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'widget/GeckoPopupMenu.java',
|
2016-09-22 06:51:27 +03:00
|
|
|
'widget/GridSpacingDecoration.java',
|
2016-07-14 21:57:43 +03:00
|
|
|
'widget/HistoryDividerItemDecoration.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/IconTabWidget.java',
|
2015-03-27 02:34:29 +03:00
|
|
|
'widget/LoginDoorHanger.java',
|
2015-08-06 02:53:30 +03:00
|
|
|
'widget/RecyclerViewClickSupport.java',
|
2014-11-07 14:27:17 +03:00
|
|
|
'widget/ResizablePathDrawable.java',
|
2015-07-14 20:11:49 +03:00
|
|
|
'widget/RoundedCornerLayout.java',
|
2015-05-08 01:35:56 +03:00
|
|
|
'widget/SiteLogins.java',
|
2014-01-31 20:57:56 +04:00
|
|
|
'widget/SquaredImageView.java',
|
2015-06-16 14:53:59 +03:00
|
|
|
'widget/SquaredRelativeLayout.java',
|
2016-09-21 00:42:08 +03:00
|
|
|
'widget/SwipeDismissListViewTouchListener.java',
|
2014-04-02 22:32:30 +04:00
|
|
|
'widget/TabThumbnailWrapper.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/ThumbnailView.java',
|
2016-09-22 01:49:06 +03:00
|
|
|
'widget/TouchDelegateWithReset.java',
|
2015-01-21 07:59:23 +03:00
|
|
|
'ZoomedView.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2014-11-21 22:04:58 +03:00
|
|
|
# The following sources are checked in to version control but
|
2015-12-04 23:02:06 +03:00
|
|
|
# generated by a script (java/org/mozilla/gecko/widget/themed/generate_themed_views.py).
|
2015-08-27 00:28:05 +03:00
|
|
|
# If you're editing this list, make sure to edit that script.
|
2015-12-04 23:02:06 +03:00
|
|
|
gbjar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
2015-08-27 00:28:05 +03:00
|
|
|
'widget/themed/ThemedEditText.java',
|
|
|
|
'widget/themed/ThemedFrameLayout.java',
|
|
|
|
'widget/themed/ThemedImageButton.java',
|
|
|
|
'widget/themed/ThemedImageView.java',
|
|
|
|
'widget/themed/ThemedLinearLayout.java',
|
|
|
|
'widget/themed/ThemedRelativeLayout.java',
|
|
|
|
'widget/themed/ThemedTextSwitcher.java',
|
|
|
|
'widget/themed/ThemedTextView.java',
|
|
|
|
'widget/themed/ThemedView.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2013-11-14 07:32:55 +04:00
|
|
|
android_package_dir = CONFIG['ANDROID_PACKAGE_NAME'].replace('.', '/')
|
2014-11-25 02:37:30 +03:00
|
|
|
gbjar.generated_sources = [] # Keep it this way.
|
|
|
|
gbjar.extra_jars += [
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
2014-11-25 02:37:30 +03:00
|
|
|
'constants.jar'
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
|
|
|
if CONFIG['MOZ_CRASHREPORTER']:
|
2015-12-04 23:02:06 +03:00
|
|
|
gbjar.sources += [ 'java/org/mozilla/gecko/CrashReporter.java' ]
|
2015-08-12 21:03:44 +03:00
|
|
|
ANDROID_RES_DIRS += [ 'crashreporter/res' ]
|
2013-12-12 09:20:07 +04:00
|
|
|
|
2016-03-03 03:44:23 +03:00
|
|
|
if CONFIG['MOZ_ANDROID_GCM']:
|
|
|
|
gbjar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
|
|
|
'gcm/GcmInstanceIDListenerService.java',
|
|
|
|
'gcm/GcmMessageListenerService.java',
|
|
|
|
'gcm/GcmTokenClient.java',
|
|
|
|
'push/Fetched.java',
|
|
|
|
'push/PushClient.java',
|
|
|
|
'push/PushManager.java',
|
|
|
|
'push/PushRegistration.java',
|
|
|
|
'push/PushService.java',
|
|
|
|
'push/PushState.java',
|
|
|
|
'push/PushSubscription.java',
|
|
|
|
]]
|
|
|
|
|
2014-10-03 14:47:46 +04:00
|
|
|
if (CONFIG['MOZ_ANDROID_MAX_SDK_VERSION']):
|
|
|
|
max_sdk_version = int(CONFIG['MOZ_ANDROID_MAX_SDK_VERSION'])
|
|
|
|
else:
|
|
|
|
max_sdk_version = 999
|
|
|
|
|
2014-12-15 20:13:42 +03:00
|
|
|
# Only bother to include new tablet code if we're building for tablet-capable
|
|
|
|
# OS releases.
|
2015-02-04 04:03:45 +03:00
|
|
|
if max_sdk_version >= 11:
|
2015-12-04 23:02:06 +03:00
|
|
|
gbjar.sources += ['java/org/mozilla/gecko/' + x for x in [
|
2014-10-03 14:47:46 +04:00
|
|
|
'tabs/TabStrip.java',
|
|
|
|
'tabs/TabStripAdapter.java',
|
2016-10-17 05:03:50 +03:00
|
|
|
'tabs/TabStripDividerItem.java',
|
2016-10-18 04:45:13 +03:00
|
|
|
'tabs/TabStripItemAnimator.java',
|
2014-10-03 14:47:46 +04:00
|
|
|
'tabs/TabStripItemView.java',
|
|
|
|
'tabs/TabStripView.java'
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2014-10-03 14:47:46 +04:00
|
|
|
|
2014-11-25 02:37:30 +03:00
|
|
|
gbjar.extra_jars += [
|
2015-06-18 07:47:29 +03:00
|
|
|
OBJDIR + '/../javaaddons/javaaddons-1.0.jar',
|
2014-03-05 20:57:09 +04:00
|
|
|
'gecko-R.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gecko-mozglue.jar',
|
2014-09-26 16:29:14 +04:00
|
|
|
'gecko-thirdparty.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gecko-util.jar',
|
2016-09-16 22:13:47 +03:00
|
|
|
'gecko-view.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
'sync-thirdparty.jar',
|
2015-10-27 00:19:35 +03:00
|
|
|
'services.jar',
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
2014-06-11 22:00:17 +04:00
|
|
|
|
2014-08-14 22:28:31 +04:00
|
|
|
moz_native_devices_jars = [
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
CONFIG['ANDROID_MEDIAROUTER_V7_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_MEDIAROUTER_V7_AAR_INTERNAL_LIB'],
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR_LIB'],
|
2015-10-05 15:59:53 +03:00
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB'],
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_CAST_AAR_LIB'],
|
2014-08-14 22:28:31 +04:00
|
|
|
]
|
2015-12-04 23:02:06 +03:00
|
|
|
moz_native_devices_sources = ['java/org/mozilla/gecko/' + x for x in [
|
2016-09-21 15:24:57 +03:00
|
|
|
'ChromeCastDisplay.java',
|
|
|
|
'ChromeCastPlayer.java',
|
2014-09-04 11:16:47 +04:00
|
|
|
'GeckoMediaPlayer.java',
|
2016-09-21 15:24:57 +03:00
|
|
|
'GeckoPresentationDisplay.java',
|
2014-08-14 22:28:31 +04:00
|
|
|
'MediaPlayerManager.java',
|
2015-04-17 03:59:58 +03:00
|
|
|
'PresentationMediaPlayerManager.java',
|
2016-10-03 12:12:57 +03:00
|
|
|
'RemotePresentationService.java',
|
2015-12-04 23:02:06 +03:00
|
|
|
]]
|
2014-07-09 22:59:36 +04:00
|
|
|
if CONFIG['MOZ_NATIVE_DEVICES']:
|
2014-08-14 22:28:31 +04:00
|
|
|
gbjar.extra_jars += moz_native_devices_jars
|
|
|
|
gbjar.sources += moz_native_devices_sources
|
2015-08-15 04:13:11 +03:00
|
|
|
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
if CONFIG['ANDROID_MEDIAROUTER_V7_AAR']:
|
2015-08-20 02:48:55 +03:00
|
|
|
ANDROID_EXTRA_PACKAGES += ['android.support.v7.mediarouter']
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_MEDIAROUTER_V7_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/android/support/v7/mediarouter/R.java']
|
2015-08-15 04:13:11 +03:00
|
|
|
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR']:
|
2015-10-05 15:59:53 +03:00
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.base']
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/base/R.java']
|
2015-10-05 15:59:53 +03:00
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/R.java']
|
2015-08-15 04:13:11 +03:00
|
|
|
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_CAST_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.cast']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_CAST_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/cast/R.java']
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
|
2015-10-28 03:41:49 +03:00
|
|
|
if CONFIG['MOZ_ANDROID_GCM']:
|
|
|
|
gbjar.extra_jars += [
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_GCM_AAR_LIB'],
|
2016-05-23 18:51:27 +03:00
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_LIB'],
|
2015-10-28 03:41:49 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_BASE_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/R.java']
|
2015-10-28 03:41:49 +03:00
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/R.java']
|
2015-10-28 03:41:49 +03:00
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_GCM_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.gcm']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_GCM_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/com/google/android/gms/gcm/R.java']
|
2015-10-28 03:41:49 +03:00
|
|
|
|
2016-05-23 18:51:27 +03:00
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.measurement']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_MEASUREMENT_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
# (no resources) resjar.generated_sources += ['generated/android/support/v7/palette/R.java']
|
2016-05-23 18:51:27 +03:00
|
|
|
|
Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.
When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics. That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present! This patch restores the
Play Services libraries that Adjust relies on. (Sadly, this bloats
our APK tremendously.)
There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23! However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code. This compiles
just fine, breaks the Proguard global optimization pass. To give
Proguard the information, we add the library as a Proguard "library
JAR". This is equivalent to the Google-provided Gradle `useLibrary`
directive.
--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-05 03:10:29 +03:00
|
|
|
if CONFIG['MOZ_INSTALL_TRACKING']:
|
|
|
|
gbjar.extra_jars += [
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_ADS_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_LIB'],
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_ADS_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms.ads']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_ADS_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/ads/R.java']
|
Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.
When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics. That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present! This patch restores the
Play Services libraries that Adjust relies on. (Sadly, this bloats
our APK tremendously.)
There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23! However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code. This compiles
just fine, breaks the Proguard global optimization pass. To give
Proguard the information, we add the library as a Proguard "library
JAR". This is equivalent to the Google-provided Gradle `useLibrary`
directive.
--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-05 03:10:29 +03:00
|
|
|
|
|
|
|
if CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR']:
|
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms']
|
|
|
|
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_PLAY_SERVICES_BASEMENT_AAR_RES']]
|
2016-11-15 09:17:27 +03:00
|
|
|
resjar.generated_sources += ['generated/com/google/android/gms/R.java']
|
Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.
When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics. That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present! This patch restores the
Play Services libraries that Adjust relies on. (Sadly, this bloats
our APK tremendously.)
There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23! However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code. This compiles
just fine, breaks the Proguard global optimization pass. To give
Proguard the information, we add the library as a Proguard "library
JAR". This is equivalent to the Google-provided Gradle `useLibrary`
directive.
--HG--
extra : commitid : I4rTyC8lxLd
extra : rebase_source : 96f30d735e898cb9853d53f236ac8e2337186814
extra : amend_source : 3e4d68789b3ef980e4e1d7f743e332bdbb6be176
2016-02-05 03:10:29 +03:00
|
|
|
|
2015-09-28 13:10:42 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_APPCOMPAT_V7_AAR_LIB']]
|
2016-09-30 19:16:23 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_SUPPORT_VECTOR_DRAWABLE_AAR_LIB']]
|
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_ANIMATED_VECTOR_DRAWABLE_AAR_LIB']]
|
2016-05-10 00:05:21 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_CARDVIEW_V7_AAR_LIB']]
|
2015-10-15 14:01:32 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_DESIGN_AAR_LIB']]
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_RECYCLERVIEW_V7_AAR_LIB']]
|
2016-06-10 12:01:11 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_CUSTOMTABS_AAR_LIB']]
|
2016-09-06 09:39:16 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_PALETTE_V7_AAR_LIB']]
|
2014-06-11 22:00:17 +04:00
|
|
|
|
2014-09-19 03:23:55 +04:00
|
|
|
gbjar.javac_flags += ['-Xlint:all,-deprecation,-fallthrough', '-J-Xmx512m', '-J-Xms128m']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
2014-09-26 16:29:14 +04:00
|
|
|
# gecko-thirdparty is a good place to put small independent libraries
|
|
|
|
gtjar = add_java_jar('gecko-thirdparty')
|
|
|
|
gtjar.sources += [ thirdparty_source_dir + f for f in [
|
2017-03-21 08:47:23 +03:00
|
|
|
'com/booking/rtlviewpager/PagerAdapterWrapper.java',
|
|
|
|
'com/booking/rtlviewpager/RtlViewPager.java',
|
2016-07-27 17:20:00 +03:00
|
|
|
'com/jakewharton/disklrucache/DiskLruCache.java',
|
|
|
|
'com/jakewharton/disklrucache/StrictLineReader.java',
|
|
|
|
'com/jakewharton/disklrucache/Util.java',
|
2016-01-21 14:35:21 +03:00
|
|
|
'com/squareup/leakcanary/LeakCanary.java',
|
|
|
|
'com/squareup/leakcanary/RefWatcher.java',
|
2014-02-07 01:06:38 +04:00
|
|
|
'com/squareup/picasso/Action.java',
|
|
|
|
'com/squareup/picasso/AssetBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/BitmapHunter.java',
|
|
|
|
'com/squareup/picasso/Cache.java',
|
|
|
|
'com/squareup/picasso/Callback.java',
|
|
|
|
'com/squareup/picasso/ContactsPhotoBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/ContentStreamBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/DeferredRequestCreator.java',
|
|
|
|
'com/squareup/picasso/Dispatcher.java',
|
|
|
|
'com/squareup/picasso/Downloader.java',
|
|
|
|
'com/squareup/picasso/FetchAction.java',
|
|
|
|
'com/squareup/picasso/FileBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/GetAction.java',
|
|
|
|
'com/squareup/picasso/ImageViewAction.java',
|
|
|
|
'com/squareup/picasso/LruCache.java',
|
|
|
|
'com/squareup/picasso/MarkableInputStream.java',
|
|
|
|
'com/squareup/picasso/MediaStoreBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/NetworkBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/Picasso.java',
|
|
|
|
'com/squareup/picasso/PicassoDrawable.java',
|
|
|
|
'com/squareup/picasso/PicassoExecutorService.java',
|
|
|
|
'com/squareup/picasso/Request.java',
|
|
|
|
'com/squareup/picasso/RequestCreator.java',
|
|
|
|
'com/squareup/picasso/ResourceBitmapHunter.java',
|
|
|
|
'com/squareup/picasso/Stats.java',
|
|
|
|
'com/squareup/picasso/StatsSnapshot.java',
|
|
|
|
'com/squareup/picasso/Target.java',
|
|
|
|
'com/squareup/picasso/TargetAction.java',
|
|
|
|
'com/squareup/picasso/Transformation.java',
|
|
|
|
'com/squareup/picasso/UrlConnectionDownloader.java',
|
2014-09-26 16:29:14 +04:00
|
|
|
'com/squareup/picasso/Utils.java'
|
2014-02-07 01:06:38 +04:00
|
|
|
] ]
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
gtjar.extra_jars = [
|
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
|
|
|
]
|
2014-09-26 16:29:14 +04:00
|
|
|
|
2014-10-10 21:32:24 +04:00
|
|
|
if not CONFIG['MOZILLA_OFFICIAL']:
|
|
|
|
gtjar.sources += [ thirdparty_source_dir + f for f in [
|
|
|
|
'org/lucasr/dspec/DesignSpec.java',
|
|
|
|
'org/lucasr/dspec/RawResource.java'
|
|
|
|
] ]
|
2014-02-07 01:06:38 +04:00
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
if CONFIG['MOZ_INSTALL_TRACKING']:
|
|
|
|
adjustjar = add_java_jar('gecko-thirdparty-adjust_sdk')
|
|
|
|
adjustjar.sources += [ thirdparty_source_dir + f for f in [
|
|
|
|
'com/adjust/sdk/ActivityHandler.java',
|
|
|
|
'com/adjust/sdk/ActivityKind.java',
|
|
|
|
'com/adjust/sdk/ActivityPackage.java',
|
|
|
|
'com/adjust/sdk/ActivityState.java',
|
|
|
|
'com/adjust/sdk/Adjust.java',
|
|
|
|
'com/adjust/sdk/AdjustAttribution.java',
|
|
|
|
'com/adjust/sdk/AdjustConfig.java',
|
|
|
|
'com/adjust/sdk/AdjustEvent.java',
|
|
|
|
'com/adjust/sdk/AdjustFactory.java',
|
|
|
|
'com/adjust/sdk/AdjustInstance.java',
|
|
|
|
'com/adjust/sdk/AdjustReferrerReceiver.java',
|
|
|
|
'com/adjust/sdk/AttributionHandler.java',
|
|
|
|
'com/adjust/sdk/Constants.java',
|
|
|
|
'com/adjust/sdk/DeviceInfo.java',
|
|
|
|
'com/adjust/sdk/IActivityHandler.java',
|
|
|
|
'com/adjust/sdk/IAttributionHandler.java',
|
|
|
|
'com/adjust/sdk/ILogger.java',
|
|
|
|
'com/adjust/sdk/IPackageHandler.java',
|
|
|
|
'com/adjust/sdk/IRequestHandler.java',
|
|
|
|
'com/adjust/sdk/Logger.java',
|
|
|
|
'com/adjust/sdk/LogLevel.java',
|
|
|
|
'com/adjust/sdk/OnAttributionChangedListener.java',
|
|
|
|
'com/adjust/sdk/PackageBuilder.java',
|
|
|
|
'com/adjust/sdk/PackageHandler.java',
|
|
|
|
'com/adjust/sdk/plugin/AndroidIdUtil.java',
|
|
|
|
'com/adjust/sdk/plugin/MacAddressUtil.java',
|
|
|
|
'com/adjust/sdk/plugin/Plugin.java',
|
|
|
|
'com/adjust/sdk/Reflection.java',
|
|
|
|
'com/adjust/sdk/RequestHandler.java',
|
|
|
|
'com/adjust/sdk/UnitTestActivity.java',
|
|
|
|
'com/adjust/sdk/Util.java'
|
|
|
|
] ]
|
2015-12-15 07:26:34 +03:00
|
|
|
adjustjar.extra_jars += [
|
|
|
|
'sync-thirdparty.jar',
|
|
|
|
]
|
2015-04-09 08:49:16 +03:00
|
|
|
|
2015-02-18 00:47:53 +03:00
|
|
|
# Putting branding earlier allows branders to override default resources.
|
2013-12-12 09:20:07 +04:00
|
|
|
ANDROID_RES_DIRS += [
|
2015-08-12 21:03:44 +03:00
|
|
|
'/' + CONFIG['MOZ_BRANDING_DIRECTORY'] + '/res',
|
|
|
|
'resources',
|
2015-12-01 21:56:09 +03:00
|
|
|
'/mobile/android/services/src/main/res',
|
2015-08-12 21:03:44 +03:00
|
|
|
'!res',
|
2013-10-10 03:19:00 +04:00
|
|
|
]
|
2013-11-20 18:16:00 +04:00
|
|
|
|
2013-12-12 09:20:07 +04:00
|
|
|
ANDROID_GENERATED_RESFILES += [
|
2015-10-20 03:01:26 +03:00
|
|
|
'res/raw/browsersearch.json',
|
2014-05-09 12:39:14 +04:00
|
|
|
'res/raw/suggestedsites.json',
|
2013-12-12 09:20:07 +04:00
|
|
|
'res/values/strings.xml',
|
2013-11-20 18:16:00 +04:00
|
|
|
]
|
|
|
|
|
2015-08-12 21:04:03 +03:00
|
|
|
ANDROID_ASSETS_DIRS += [
|
|
|
|
'/mobile/android/app/assets',
|
|
|
|
]
|
|
|
|
|
2016-01-27 23:25:04 +03:00
|
|
|
if CONFIG['MOZ_ANDROID_DISTRIBUTION_DIRECTORY']:
|
2016-01-28 02:28:31 +03:00
|
|
|
# If you change this, also change its equivalent in mobile/android/bouncer.
|
|
|
|
if not CONFIG['MOZ_ANDROID_PACKAGE_INSTALL_BOUNCER']:
|
|
|
|
# If we are packaging the bouncer, it will have the distribution, so don't put
|
|
|
|
# it in the main APK as well.
|
|
|
|
ANDROID_ASSETS_DIRS += [
|
|
|
|
'%' + CONFIG['MOZ_ANDROID_DISTRIBUTION_DIRECTORY'] + '/assets',
|
|
|
|
]
|
2016-01-27 23:25:04 +03:00
|
|
|
|
2014-06-30 22:21:50 +04:00
|
|
|
if CONFIG['MOZ_ANDROID_SEARCH_ACTIVITY']:
|
|
|
|
# The Search Activity is mostly independent of Fennec proper, but
|
|
|
|
# it does depend on Geckoview. Therefore, we build it as a jar
|
|
|
|
# that depends on the Geckoview jars.
|
|
|
|
search_source_dir = SRCDIR + '/../search'
|
|
|
|
include('../search/search_activity_sources.mozbuild')
|
|
|
|
|
|
|
|
search_activity = add_java_jar('search-activity')
|
|
|
|
search_activity.sources += [search_source_dir + '/' + f for f in search_activity_sources]
|
|
|
|
search_activity.javac_flags += ['-Xlint:all']
|
|
|
|
search_activity.extra_jars = [
|
Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build. This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).
By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.
It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption. We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.
The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.
AARs have both required and optional components. Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables. If the
component is not expected and not present, no action is taken. A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.
Many AAR files have empty assets/ directories. This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.
There's a lot not to like in this approach, including:
* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.
However, it's closer to what we want than what we have!
--HG--
extra : commitid : 11kUhDAkCn5
extra : rebase_source : 2454c9842ab3296d53ca5fa394a5a962aa382c8d
extra : histedit_source : e2f97502d215016925e93500b8fd93f8b32fba3a
2015-09-22 20:04:26 +03:00
|
|
|
CONFIG['ANDROID_SUPPORT_ANNOTATIONS_JAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_LIB'],
|
|
|
|
CONFIG['ANDROID_SUPPORT_V4_AAR_INTERNAL_LIB'],
|
2014-11-25 02:37:30 +03:00
|
|
|
'constants.jar',
|
2014-06-30 22:21:50 +04:00
|
|
|
'gecko-R.jar',
|
|
|
|
'gecko-browser.jar',
|
|
|
|
'gecko-mozglue.jar',
|
2014-09-26 16:29:14 +04:00
|
|
|
'gecko-thirdparty.jar',
|
2016-09-16 22:13:47 +03:00
|
|
|
'gecko-util.jar',
|
|
|
|
'gecko-view.jar',
|
2014-06-30 22:21:50 +04:00
|
|
|
]
|
|
|
|
|
2017-04-17 23:47:41 +03:00
|
|
|
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
2015-11-27 03:09:07 +03:00
|
|
|
FINAL_TARGET_PP_FILES += ['package-name.txt.in']
|
2016-02-09 08:36:07 +03:00
|
|
|
|
2017-03-01 19:17:09 +03:00
|
|
|
gvjar.sources += ['generated/org/mozilla/gecko/' + x for x in [
|
|
|
|
'IGeckoEditableChild.java',
|
|
|
|
'IGeckoEditableParent.java',
|
2016-08-05 10:28:04 +03:00
|
|
|
'media/ICodec.java',
|
|
|
|
'media/ICodecCallbacks.java',
|
2016-11-01 14:27:18 +03:00
|
|
|
'media/IMediaDrmBridge.java',
|
|
|
|
'media/IMediaDrmBridgeCallbacks.java',
|
2016-09-14 06:07:45 +03:00
|
|
|
'media/IMediaManager.java',
|
2016-10-06 02:50:48 +03:00
|
|
|
'process/IChildProcess.java',
|
Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin
Bug 1343075 - 1a. Add TextEventDispatcherListener::GetIMEUpdatePreference; r=masayuki
Add a GetIMEUpdatePreference method to TextEventDispatcherListener to
optionally control which IME notifications are received by NotifyIME.
This patch also makes nsBaseWidget forward its GetIMEUpdatePreference
call to the widget's native TextEventDispatcherListener.
Bug 1343075 - 1b. Implement GetIMEUpdatePreference for all TextEventDispatcherListener; r=masayuki
This patch implements GetIMEUpdatePreference for all
TextEventDispatcherListener implementations, by moving previous
implementations of nsIWidget::GetIMEUpdatePreference.
Bug 1343075 - 2. Allow setting a PuppetWidget's native TextEventDispatcherListener; r=masayuki
In PuppetWidget, add getter and setter for the widget's native
TextEventDispatcherListener. This allows overriding of PuppetWidget's
default IME handling. For example, on Android, the PuppetWidget's native
TextEventDispatcherListener will communicate directly with Java IME code
in the main process.
Bug 1343075 - 3. Add AIDL interface for main process; r=rbarker
Add AIDL definition and implementation for an interface for the main
process that child processes can access.
Bug 1343075 - 4. Set Gecko thread JNIEnv for child process; r=snorp
Add a JNIEnv* parameter to XRE_SetAndroidChildFds, which is used to set
the Gecko thread JNIEnv for child processes. XRE_SetAndroidChildFds is
the only Android-specific entry point for child processes, so I think
it's the most logical place to initialize JNI.
Bug 1343075 - 5. Support multiple remote GeckoEditableChild; r=esawin
Support remote GeckoEditableChild instances that are created in the
content processes and connect to the parent process GeckoEditableParent
through binders.
Support having multiple GeckoEditableChild instances in GeckoEditable by
keeping track of which child is currently focused, and only allow
calls to/from the focused child by using access tokens.
Bug 1343075 - 6. Add method to get GeckoEditableParent instance; r=esawin
Add IProcessManager.getEditableParent, which a content process can call
to get the GeckoEditableParent instance that corresponds to a given
content process tab, from the main process.
Bug 1343075 - 7. Support GeckoEditableSupport in content processes; r=esawin
Support creating and running GeckoEditableSupport attached to a
PuppetWidget in content processes.
Because we don't know PuppetWidget's lifetime as well as nsWindow's,
when attached to PuppetWidget, we need to attach/detach our native
object on focus/blur, respectively.
Bug 1343075 - 8. Connect GeckoEditableSupport on PuppetWidget creation; r=esawin
Listen to the "tab-child-created" notification and attach our content
process GeckoEditableSupport to the new PuppetWidget.
Bug 1343075 - 9. Update auto-generated bindings; r=me
2017-03-08 06:34:39 +03:00
|
|
|
'process/IProcessManager.java',
|
2016-10-06 02:50:48 +03:00
|
|
|
]]
|