2013-04-01 22:36:59 +04: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/.
|
|
|
|
|
|
|
|
DIRS += ['locales']
|
2014-03-22 02:59:57 +04:00
|
|
|
SPHINX_TREES['fennec'] = 'docs'
|
2013-10-10 03:19:00 +04:00
|
|
|
|
|
|
|
include('android-services.mozbuild')
|
|
|
|
|
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')
|
2015-01-21 08:20:48 +03:00
|
|
|
constants_jar.sources = [
|
2015-04-09 08:49:16 +03:00
|
|
|
'adjust/AdjustHelperInterface.java',
|
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',
|
2015-01-21 08:20:48 +03:00
|
|
|
'SysInfo.java',
|
|
|
|
]
|
2014-11-25 02:37:30 +03:00
|
|
|
constants_jar.generated_sources = [
|
2015-05-30 01:52:42 +03:00
|
|
|
'preprocessed/org/mozilla/gecko/AdjustConstants.java',
|
2014-11-21 01:25:52 +03:00
|
|
|
'preprocessed/org/mozilla/gecko/AppConstants.java',
|
2014-11-25 02:37:30 +03:00
|
|
|
]
|
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
if CONFIG['MOZ_INSTALL_TRACKING']:
|
|
|
|
constants_jar.sources += [
|
|
|
|
'adjust/AdjustHelper.java',
|
|
|
|
]
|
|
|
|
constants_jar.extra_jars = [
|
|
|
|
'gecko-thirdparty-adjust_sdk.jar',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
constants_jar.sources += [
|
|
|
|
'adjust/StubAdjustHelper.java',
|
|
|
|
]
|
|
|
|
|
2014-03-05 20:57:09 +04:00
|
|
|
resjar = add_java_jar('gecko-R')
|
|
|
|
resjar.sources = []
|
|
|
|
resjar.generated_sources += [
|
|
|
|
'org/mozilla/gecko/R.java',
|
|
|
|
]
|
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']]
|
|
|
|
resjar.generated_sources += ['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']]
|
|
|
|
resjar.generated_sources += ['android/support/v7/appcompat/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']]
|
2015-08-20 02:48:55 +03:00
|
|
|
resjar.generated_sources += ['android/support/v7/recyclerview/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')
|
|
|
|
mgjar.sources += [
|
|
|
|
'mozglue/ByteBufferInputStream.java',
|
2014-10-29 00:28:31 +03:00
|
|
|
'mozglue/ContextUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'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',
|
|
|
|
]
|
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 += [
|
|
|
|
'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')
|
|
|
|
gujar.sources += [
|
|
|
|
'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',
|
2013-10-25 02:38:22 +04:00
|
|
|
'util/Clipboard.java',
|
2015-08-11 12:09:37 +03:00
|
|
|
'util/ColorUtils.java',
|
2015-07-31 05:16:41 +03:00
|
|
|
'util/DrawableUtil.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',
|
|
|
|
'util/GeckoEventListener.java',
|
|
|
|
'util/GeckoJarReader.java',
|
2014-08-12 06:37:39 +04:00
|
|
|
'util/GeckoRequest.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',
|
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',
|
2014-04-04 20:33:50 +04:00
|
|
|
'util/NativeEventListener.java',
|
2014-04-01 23:16:52 +04:00
|
|
|
'util/NativeJSContainer.java',
|
|
|
|
'util/NativeJSObject.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',
|
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',
|
2015-06-25 02:49:25 +03:00
|
|
|
'util/WeakReferenceHandler.java',
|
2014-04-25 18:29:00 +04:00
|
|
|
'util/WebActivityMapper.java',
|
2015-01-23 23:30:05 +03:00
|
|
|
'util/WindowUtils.java',
|
2013-10-25 02:38:22 +04: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
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
2013-11-08 05:07:47 +04:00
|
|
|
video_root = TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/'
|
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/'
|
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 += [
|
|
|
|
video_root + 'CaptureCapabilityAndroid.java',
|
|
|
|
video_root + 'VideoCaptureAndroid.java',
|
|
|
|
video_root + 'VideoCaptureDeviceInfoAndroid.java',
|
2014-05-30 01:05:14 +04:00
|
|
|
video_render_root + 'ViEAndroidGLES20.java',
|
|
|
|
video_render_root + 'ViERenderer.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
]
|
|
|
|
wrjar.sources += [
|
2013-11-14 05:11:58 +04:00
|
|
|
audio_root + 'AudioManagerAndroid.java',
|
2014-05-30 01:05:14 +04:00
|
|
|
audio_root + 'WebRtcAudioRecord.java',
|
|
|
|
audio_root + 'WebRtcAudioTrack.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-util.jar',
|
|
|
|
'gecko-mozglue.jar',
|
|
|
|
]
|
2013-11-14 07:32:55 +04:00
|
|
|
wrjar.javac_flags += ['-Xlint:all,-deprecation,-cast']
|
2013-10-25 02:38:22 +04:00
|
|
|
|
|
|
|
gbjar = add_java_jar('gecko-browser')
|
|
|
|
gbjar.sources += [
|
2013-11-22 11:33:28 +04:00
|
|
|
'AboutPages.java',
|
2015-08-20 20:03:20 +03:00
|
|
|
'AccountsHelper.java',
|
2013-11-19 23:57:35 +04:00
|
|
|
'ActionModeCompat.java',
|
|
|
|
'ActionModeCompatView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'ActivityHandlerHelper.java',
|
2014-04-22 18:53:48 +04:00
|
|
|
'AndroidGamepadManager.java',
|
2013-12-04 20:35:58 +04:00
|
|
|
'animation/AnimationUtils.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'animation/AnimatorProxy.java',
|
2015-05-05 11:09:29 +03:00
|
|
|
'animation/BounceAnimatorBuilder.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'animation/HeightChangeAnimation.java',
|
|
|
|
'animation/PropertyAnimator.java',
|
|
|
|
'animation/Rotate3DAnimation.java',
|
2014-11-24 19:34:22 +03:00
|
|
|
'animation/TransitionsTracker.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'animation/ViewHelper.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'ANRReporter.java',
|
|
|
|
'AppNotificationClient.java',
|
2014-04-25 22:45:52 +04:00
|
|
|
'Assert.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'BaseGeckoInterface.java',
|
|
|
|
'BrowserApp.java',
|
2014-04-16 02:07:14 +04:00
|
|
|
'BrowserLocaleManager.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'ContactService.java',
|
|
|
|
'ContextGetter.java',
|
2014-10-21 00:39:20 +04:00
|
|
|
'CrashHandler.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'CustomEditText.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',
|
2013-11-14 07:32:55 +04:00
|
|
|
'db/BrowserContract.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-02-11 03:42:13 +03:00
|
|
|
'db/LocalReadingListAccessor.java',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/LocalSearches.java',
|
|
|
|
'db/LocalTabsAccessor.java',
|
|
|
|
'db/LocalURLMetadata.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-02-11 03:42:13 +03:00
|
|
|
'db/ReadingListAccessor.java',
|
2014-03-04 03:34:57 +04:00
|
|
|
'db/ReadingListProvider.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',
|
2015-01-12 07:45:09 +03:00
|
|
|
'db/StubBrowserDB.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',
|
2014-04-15 19:31:55 +04:00
|
|
|
'db/TopSitesCursorWrapper.java',
|
2014-06-10 17:22:47 +04:00
|
|
|
'db/URLMetadata.java',
|
|
|
|
'db/URLMetadataTable.java',
|
2015-07-06 20:15:24 +03:00
|
|
|
'DevToolsAuthHelper.java',
|
2014-05-23 04:34:04 +04:00
|
|
|
'distribution/Distribution.java',
|
2014-07-04 06:45:24 +04:00
|
|
|
'distribution/ReferrerDescriptor.java',
|
|
|
|
'distribution/ReferrerReceiver.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',
|
2014-02-11 21:16:00 +04:00
|
|
|
'EventDispatcher.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'favicons/cache/FaviconCache.java',
|
|
|
|
'favicons/cache/FaviconCacheElement.java',
|
|
|
|
'favicons/cache/FaviconsForURL.java',
|
2014-01-18 07:24:28 +04:00
|
|
|
'favicons/decoders/FaviconDecoder.java',
|
|
|
|
'favicons/decoders/ICODecoder.java',
|
|
|
|
'favicons/decoders/IconDirectoryEntry.java',
|
|
|
|
'favicons/decoders/LoadFaviconResult.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'favicons/Favicons.java',
|
|
|
|
'favicons/LoadFaviconTask.java',
|
|
|
|
'favicons/OnFaviconLoadedListener.java',
|
2014-11-05 00:41:20 +03:00
|
|
|
'favicons/RemoteFavicon.java',
|
2014-02-15 00:02:05 +04:00
|
|
|
'FilePicker.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'FilePickerResultHandler.java',
|
|
|
|
'FindInPageBar.java',
|
2015-01-29 05:41:20 +03:00
|
|
|
'firstrun/FirstrunPager.java',
|
|
|
|
'firstrun/FirstrunPagerConfig.java',
|
|
|
|
'firstrun/FirstrunPane.java',
|
|
|
|
'firstrun/FirstrunPanel.java',
|
2015-09-17 03:16:56 +03:00
|
|
|
'firstrun/ImportPanel.java',
|
2015-08-07 22:01:00 +03:00
|
|
|
'firstrun/RestrictedWelcomePanel.java',
|
2015-09-17 03:16:56 +03:00
|
|
|
'firstrun/SyncPanel.java',
|
2015-01-29 05:41:20 +03:00
|
|
|
'firstrun/WelcomePanel.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'FormAssistPopup.java',
|
|
|
|
'GeckoAccessibility.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',
|
|
|
|
'GeckoAppShell.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoBatteryManager.java',
|
|
|
|
'GeckoConnectivityReceiver.java',
|
|
|
|
'GeckoEditable.java',
|
2014-09-08 23:48:08 +04:00
|
|
|
'GeckoEditableClient.java',
|
|
|
|
'GeckoEditableListener.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoEvent.java',
|
|
|
|
'GeckoHalDefines.java',
|
|
|
|
'GeckoInputConnection.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GeckoJavaSampler.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoMessageReceiver.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GeckoNetworkManager.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoProfile.java',
|
2014-03-04 03:27:42 +04:00
|
|
|
'GeckoProfileDirectories.java',
|
2014-03-19 06:20:07 +04:00
|
|
|
'GeckoProfilesProvider.java',
|
2014-02-20 21:50:18 +04:00
|
|
|
'GeckoScreenOrientation.java',
|
2014-04-01 18:02:14 +04:00
|
|
|
'GeckoSharedPrefs.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoSmsManager.java',
|
|
|
|
'GeckoThread.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GeckoUpdateReceiver.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'GeckoView.java',
|
2013-11-07 02:58:29 +04:00
|
|
|
'GeckoViewChrome.java',
|
2013-11-07 02:59:07 +04:00
|
|
|
'GeckoViewContent.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gfx/Axis.java',
|
|
|
|
'gfx/BitmapUtils.java',
|
2015-01-29 01:04:50 +03:00
|
|
|
'gfx/BufferedImage.java',
|
|
|
|
'gfx/BufferedImageGLInfo.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gfx/DisplayPortCalculator.java',
|
|
|
|
'gfx/DisplayPortMetrics.java',
|
|
|
|
'gfx/DrawTimingQueue.java',
|
2015-08-18 21:27:18 +03:00
|
|
|
'gfx/DynamicToolbarAnimator.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gfx/FloatSize.java',
|
2014-05-07 23:22:14 +04:00
|
|
|
'gfx/FullScreenState.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gfx/GeckoLayerClient.java',
|
|
|
|
'gfx/GLController.java',
|
|
|
|
'gfx/ImmutableViewportMetrics.java',
|
|
|
|
'gfx/InputConnectionHandler.java',
|
|
|
|
'gfx/IntSize.java',
|
|
|
|
'gfx/JavaPanZoomController.java',
|
|
|
|
'gfx/Layer.java',
|
|
|
|
'gfx/LayerRenderer.java',
|
|
|
|
'gfx/LayerView.java',
|
|
|
|
'gfx/NativePanZoomController.java',
|
|
|
|
'gfx/Overscroll.java',
|
2013-10-23 20:12:28 +04:00
|
|
|
'gfx/OverscrollEdgeEffect.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'gfx/PanningPerfAPI.java',
|
|
|
|
'gfx/PanZoomController.java',
|
|
|
|
'gfx/PanZoomTarget.java',
|
|
|
|
'gfx/PluginLayer.java',
|
|
|
|
'gfx/PointUtils.java',
|
|
|
|
'gfx/ProgressiveUpdateData.java',
|
|
|
|
'gfx/RectUtils.java',
|
|
|
|
'gfx/RenderTask.java',
|
|
|
|
'gfx/ScrollbarLayer.java',
|
|
|
|
'gfx/SimpleScaleGestureDetector.java',
|
|
|
|
'gfx/SubdocumentScrollHelper.java',
|
|
|
|
'gfx/TextureGenerator.java',
|
|
|
|
'gfx/TextureReaper.java',
|
|
|
|
'gfx/TouchEventHandler.java',
|
|
|
|
'gfx/ViewTransform.java',
|
|
|
|
'gfx/VirtualLayer.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'GlobalHistory.java',
|
2014-09-17 07:22:41 +04:00
|
|
|
'GuestSession.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'health/BrowserHealthRecorder.java',
|
|
|
|
'health/BrowserHealthReporter.java',
|
2014-02-05 07:41:29 +04:00
|
|
|
'health/HealthRecorder.java',
|
|
|
|
'health/SessionInformation.java',
|
|
|
|
'health/StubbedHealthRecorder.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'home/BookmarkFolderView.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',
|
2014-01-15 23:49:26 +04:00
|
|
|
'home/DynamicPanel.java',
|
2014-01-28 01:29:55 +04:00
|
|
|
'home/FramePanelLayout.java',
|
2015-08-12 20:16:07 +03:00
|
|
|
'home/HistoryHeaderListCursorAdapter.java',
|
2015-08-13 02:49:11 +03:00
|
|
|
'home/HistoryItemAdapter.java',
|
2014-06-23 00:26:48 +04:00
|
|
|
'home/HistoryPanel.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',
|
|
|
|
'home/HomePagerTabStrip.java',
|
2014-04-23 18:22:34 +04:00
|
|
|
'home/HomePanelsManager.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',
|
2014-01-11 05:18:07 +04:00
|
|
|
'home/ReadingListPanel.java',
|
2014-04-04 11:57:37 +04:00
|
|
|
'home/ReadingListRow.java',
|
2014-06-23 00:26:49 +04:00
|
|
|
'home/RecentTabsPanel.java',
|
2015-01-20 23:45:47 +03:00
|
|
|
'home/RemoteTabsBaseFragment.java',
|
2014-09-05 02:32:29 +04:00
|
|
|
'home/RemoteTabsExpandableListFragment.java',
|
2014-09-17 02:41:10 +04:00
|
|
|
'home/RemoteTabsExpandableListState.java',
|
2014-09-05 02:32:26 +04:00
|
|
|
'home/RemoteTabsPanel.java',
|
2015-01-20 23:45:48 +03:00
|
|
|
'home/RemoteTabsSplitPlaneFragment.java',
|
2014-09-05 02:32:28 +04:00
|
|
|
'home/RemoteTabsStaticFragment.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',
|
2014-11-24 19:34:23 +03:00
|
|
|
'home/TransitionAwareCursorLoaderCallbacks.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
'home/TwoLinePageRow.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'InputMethods.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',
|
2015-01-29 21:43:40 +03:00
|
|
|
'LayoutInterceptor.java',
|
2013-12-04 03:05:43 +04:00
|
|
|
'LocaleManager.java',
|
2014-12-09 21:07:07 +03:00
|
|
|
'Locales.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',
|
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/MenuItemActionView.java',
|
|
|
|
'menu/MenuItemDefault.java',
|
|
|
|
'menu/MenuPanel.java',
|
|
|
|
'menu/MenuPopup.java',
|
2015-03-06 05:59:01 +03:00
|
|
|
'menu/QuickShareBarActionView.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'MotionEventInterceptor.java',
|
|
|
|
'NotificationClient.java',
|
|
|
|
'NotificationHandler.java',
|
|
|
|
'NotificationHelper.java',
|
|
|
|
'NotificationService.java',
|
|
|
|
'NSSBridge.java',
|
|
|
|
'OrderedBroadcastHelper.java',
|
2015-01-29 21:43:40 +03:00
|
|
|
'OuterLayout.java',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/AlignRightLinkPreference.java',
|
|
|
|
'preferences/AndroidImport.java',
|
|
|
|
'preferences/AndroidImportPreference.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',
|
2013-11-11 22:41:16 +04:00
|
|
|
'preferences/FontSizePreference.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',
|
2013-11-14 07:32:55 +04:00
|
|
|
'PrefsHelper.java',
|
2015-09-01 00:54:23 +03:00
|
|
|
'PrintHelper.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'PrivateTab.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',
|
2013-11-14 07:32:55 +04:00
|
|
|
'ReaderModeUtils.java',
|
2014-10-18 10:45:34 +04:00
|
|
|
'ReadingListHelper.java',
|
2014-09-17 02:41:14 +04:00
|
|
|
'RemoteClientsDialogFragment.java',
|
2014-08-29 22:56:41 +04:00
|
|
|
'RemoteTabsExpandableListAdapter.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Restarter.java',
|
2014-09-10 02:08:37 +04:00
|
|
|
'RestrictedProfiles.java',
|
2015-07-24 20:47:31 +03:00
|
|
|
'restrictions/DefaultConfiguration.java',
|
|
|
|
'restrictions/GuestProfileConfiguration.java',
|
|
|
|
'restrictions/RestrictedProfileConfiguration.java',
|
|
|
|
'restrictions/Restriction.java',
|
|
|
|
'restrictions/RestrictionConfiguration.java',
|
|
|
|
'restrictions/RestrictionProvider.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'ServiceNotificationClient.java',
|
|
|
|
'SessionParser.java',
|
|
|
|
'SharedPreferencesHelper.java',
|
2013-12-12 04:28:15 +04:00
|
|
|
'SiteIdentity.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'SmsManager.java',
|
|
|
|
'sqlite/ByteBufferInputStream.java',
|
|
|
|
'sqlite/MatrixBlobCursor.java',
|
|
|
|
'sqlite/SQLiteBridge.java',
|
|
|
|
'sqlite/SQLiteBridgeException.java',
|
2014-08-15 04:17:29 +04:00
|
|
|
'SuggestClient.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'SurfaceBits.java',
|
|
|
|
'Tab.java',
|
2015-03-18 15:15:53 +03:00
|
|
|
'tabqueue/TabQueueDispatcher.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',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Tabs.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',
|
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',
|
2014-08-06 18:59:41 +04:00
|
|
|
'tabs/TabsPanel.java',
|
2015-08-24 17:34:24 +03:00
|
|
|
'tabs/TabsPanelThumbnailView.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'Telemetry.java',
|
2014-03-29 02:36:55 +04:00
|
|
|
'TelemetryContract.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'TextSelection.java',
|
|
|
|
'TextSelectionHandle.java',
|
|
|
|
'ThumbnailHelper.java',
|
2014-11-05 23:14:34 +03:00
|
|
|
'tiles/Tile.java',
|
|
|
|
'tiles/TilesRecorder.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',
|
|
|
|
'toolbar/BrowserToolbarPreHC.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',
|
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',
|
2013-11-14 07:32:55 +04:00
|
|
|
'TouchEventInterceptor.java',
|
2015-07-15 13:23:37 +03:00
|
|
|
'trackingprotection/TrackingProtectionPrompt.java',
|
2013-11-14 05:11:58 +04:00
|
|
|
'updater/UpdateService.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'updater/UpdateServiceHelper.java',
|
2014-06-25 05:20:13 +04:00
|
|
|
'Webapp.java',
|
2014-01-25 09:57:13 +04:00
|
|
|
'webapp/Allocator.java',
|
2014-01-09 22:18:55 +04:00
|
|
|
'webapp/ApkResources.java',
|
2014-01-25 09:57:13 +04:00
|
|
|
'webapp/Dispatcher.java',
|
|
|
|
'webapp/EventListener.java',
|
2014-01-09 22:18:55 +04:00
|
|
|
'webapp/InstallHelper.java',
|
|
|
|
'webapp/InstallListener.java',
|
2014-03-25 22:12:58 +04:00
|
|
|
'webapp/TaskKiller.java',
|
2014-01-09 22:18:55 +04:00
|
|
|
'webapp/UninstallListener.java',
|
2014-02-12 11:41:05 +04:00
|
|
|
'webapp/WebappImpl.java',
|
2014-06-25 05:20:14 +04:00
|
|
|
'webapp/Webapps.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-10-25 02:38:22 +04:00
|
|
|
'widget/ButtonToast.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',
|
2013-10-25 02:38:22 +04:00
|
|
|
'widget/Divider.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',
|
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',
|
2014-05-23 20:50:17 +04:00
|
|
|
'widget/FloatingHintEditText.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',
|
2014-01-28 21:15:36 +04:00
|
|
|
'widget/GeckoViewFlipper.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',
|
2014-09-23 02:20:31 +04: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',
|
|
|
|
'widget/TwoWayView.java',
|
2013-11-14 07:32:55 +04:00
|
|
|
'ZoomConstraints.java',
|
2015-01-21 07:59:23 +03:00
|
|
|
'ZoomedView.java',
|
2013-10-25 02:38:22 +04:00
|
|
|
]
|
2014-11-21 22:04:58 +03:00
|
|
|
# The following sources are checked in to version control but
|
2015-08-27 00:28:05 +03:00
|
|
|
# generated by a script (widget/themed/generate_themed_views.py).
|
|
|
|
# If you're editing this list, make sure to edit that script.
|
2014-11-21 22:04:58 +03:00
|
|
|
gbjar.sources += [
|
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',
|
2014-11-21 22:04:58 +03:00
|
|
|
]
|
2013-10-25 02:38:22 +04:00
|
|
|
gbjar.sources += [ thirdparty_source_dir + f for f in [
|
|
|
|
'com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java',
|
|
|
|
'com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java',
|
|
|
|
'com/googlecode/eyesfree/braille/selfbraille/WriteData.java',
|
|
|
|
] ]
|
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']:
|
2013-12-12 09:20:07 +04:00
|
|
|
gbjar.sources += [ 'CrashReporter.java' ]
|
2015-08-12 21:03:44 +03:00
|
|
|
ANDROID_RES_DIRS += [ 'crashreporter/res' ]
|
2013-12-12 09:20:07 +04:00
|
|
|
|
2014-08-28 05:59:41 +04:00
|
|
|
if CONFIG['MOZ_ANDROID_SHARE_OVERLAY']:
|
|
|
|
gbjar.sources += [
|
|
|
|
'overlays/OverlayConstants.java',
|
|
|
|
'overlays/service/OverlayActionService.java',
|
2014-09-06 03:53:51 +04:00
|
|
|
'overlays/service/ShareData.java',
|
2014-08-28 05:59:41 +04:00
|
|
|
'overlays/service/sharemethods/AddBookmark.java',
|
|
|
|
'overlays/service/sharemethods/AddToReadingList.java',
|
|
|
|
'overlays/service/sharemethods/SendTab.java',
|
|
|
|
'overlays/service/sharemethods/ShareMethod.java',
|
2014-09-06 03:53:51 +04:00
|
|
|
'overlays/ui/OverlayDialogButton.java',
|
2014-08-25 15:24:47 +04:00
|
|
|
'overlays/ui/OverlayToastHelper.java',
|
|
|
|
'overlays/ui/SendTabDeviceListArrayAdapter.java',
|
|
|
|
'overlays/ui/SendTabList.java',
|
|
|
|
'overlays/ui/SendTabTargetSelectedListener.java',
|
|
|
|
'overlays/ui/ShareDialog.java',
|
2014-08-28 05:59:41 +04:00
|
|
|
]
|
|
|
|
|
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:
|
2014-10-03 14:47:46 +04:00
|
|
|
gbjar.sources += [
|
|
|
|
'tabs/TabStrip.java',
|
|
|
|
'tabs/TabStripAdapter.java',
|
|
|
|
'tabs/TabStripItemView.java',
|
|
|
|
'tabs/TabStripView.java'
|
|
|
|
]
|
|
|
|
|
2015-02-10 08:08:05 +03:00
|
|
|
# Selectively include reading list service code.
|
|
|
|
if CONFIG['MOZ_ANDROID_READING_LIST_SERVICE']:
|
|
|
|
gbjar.sources += reading_list_service_java_files
|
|
|
|
|
2013-10-25 02:38:22 +04:00
|
|
|
gbjar.sources += sync_java_files
|
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',
|
|
|
|
'sync-thirdparty.jar',
|
|
|
|
]
|
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'],
|
|
|
|
CONFIG['ANDROID_PLAY_SERVICES_CAST_AAR_LIB'],
|
2014-08-14 22:28:31 +04:00
|
|
|
]
|
|
|
|
moz_native_devices_sources = [
|
|
|
|
'ChromeCast.java',
|
2014-09-04 11:16:47 +04:00
|
|
|
'GeckoMediaPlayer.java',
|
2014-08-14 22:28:31 +04:00
|
|
|
'MediaPlayerManager.java',
|
2015-04-17 03:59:58 +03:00
|
|
|
'PresentationMediaPlayerManager.java',
|
2014-08-14 22:28:31 +04: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']]
|
2015-08-20 02:48:55 +03:00
|
|
|
resjar.generated_sources += ['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-08-20 02:48:55 +03:00
|
|
|
ANDROID_EXTRA_PACKAGES += ['com.google.android.gms']
|
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']]
|
2015-08-20 02:48:55 +03:00
|
|
|
resjar.generated_sources += ['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']]
|
|
|
|
resjar.generated_sources += ['com/google/android/gms/cast/R.java']
|
|
|
|
|
2015-09-28 13:10:42 +03:00
|
|
|
gbjar.extra_jars += [CONFIG['ANDROID_APPCOMPAT_V7_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']]
|
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 [
|
2015-08-27 20:49:30 +03:00
|
|
|
'com/keepsafe/switchboard/AsyncConfigLoader.java',
|
|
|
|
'com/keepsafe/switchboard/DeviceUuidFactory.java',
|
|
|
|
'com/keepsafe/switchboard/Preferences.java',
|
|
|
|
'com/keepsafe/switchboard/Switch.java',
|
|
|
|
'com/keepsafe/switchboard/SwitchBoard.java',
|
2014-07-26 02:20:13 +04:00
|
|
|
'com/nineoldandroids/animation/Animator.java',
|
|
|
|
'com/nineoldandroids/animation/AnimatorInflater.java',
|
|
|
|
'com/nineoldandroids/animation/AnimatorListenerAdapter.java',
|
|
|
|
'com/nineoldandroids/animation/AnimatorSet.java',
|
|
|
|
'com/nineoldandroids/animation/ArgbEvaluator.java',
|
|
|
|
'com/nineoldandroids/animation/FloatEvaluator.java',
|
|
|
|
'com/nineoldandroids/animation/FloatKeyframeSet.java',
|
|
|
|
'com/nineoldandroids/animation/IntEvaluator.java',
|
|
|
|
'com/nineoldandroids/animation/IntKeyframeSet.java',
|
|
|
|
'com/nineoldandroids/animation/Keyframe.java',
|
|
|
|
'com/nineoldandroids/animation/KeyframeSet.java',
|
|
|
|
'com/nineoldandroids/animation/ObjectAnimator.java',
|
|
|
|
'com/nineoldandroids/animation/PreHoneycombCompat.java',
|
|
|
|
'com/nineoldandroids/animation/PropertyValuesHolder.java',
|
|
|
|
'com/nineoldandroids/animation/TimeAnimator.java',
|
|
|
|
'com/nineoldandroids/animation/TypeEvaluator.java',
|
|
|
|
'com/nineoldandroids/animation/ValueAnimator.java',
|
|
|
|
'com/nineoldandroids/util/FloatProperty.java',
|
|
|
|
'com/nineoldandroids/util/IntProperty.java',
|
|
|
|
'com/nineoldandroids/util/NoSuchPropertyException.java',
|
|
|
|
'com/nineoldandroids/util/Property.java',
|
|
|
|
'com/nineoldandroids/util/ReflectiveProperty.java',
|
|
|
|
'com/nineoldandroids/view/animation/AnimatorProxy.java',
|
|
|
|
'com/nineoldandroids/view/ViewHelper.java',
|
|
|
|
'com/nineoldandroids/view/ViewPropertyAnimator.java',
|
|
|
|
'com/nineoldandroids/view/ViewPropertyAnimatorHC.java',
|
|
|
|
'com/nineoldandroids/view/ViewPropertyAnimatorICS.java',
|
2014-09-26 16:29:14 +04:00
|
|
|
'com/nineoldandroids/view/ViewPropertyAnimatorPreHC.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-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',
|
|
|
|
'!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 += [
|
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',
|
|
|
|
]
|
|
|
|
|
2015-04-09 08:49:16 +03:00
|
|
|
# We do not expose MOZ_INSTALL_TRACKING_ADJUST_SDK_APP_TOKEN here because that
|
|
|
|
# would leak the value to build logs. Instead we expose the token quietly where
|
|
|
|
# appropriate in Makefile.in.
|
2014-06-30 22:21:49 +04:00
|
|
|
for var in ('MOZ_ANDROID_ANR_REPORTER', 'MOZ_LINKER_EXTRACT', 'MOZILLA_OFFICIAL', 'MOZ_DEBUG',
|
2014-08-06 01:37:59 +04:00
|
|
|
'MOZ_ANDROID_SEARCH_ACTIVITY', 'MOZ_NATIVE_DEVICES', 'MOZ_ANDROID_MLS_STUMBLER',
|
2015-04-09 08:49:16 +03:00
|
|
|
'MOZ_ANDROID_SHARE_OVERLAY', 'MOZ_ANDROID_DOWNLOADS_INTEGRATION', 'MOZ_INSTALL_TRACKING',
|
2015-06-11 07:22:00 +03:00
|
|
|
'MOZ_ANDROID_TAB_QUEUE', 'MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES'):
|
2013-11-27 17:55:07 +04:00
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = 1
|
|
|
|
|
|
|
|
for var in ('MOZ_UPDATER', 'MOZ_PKG_SPECIAL'):
|
|
|
|
if CONFIG[var]:
|
|
|
|
DEFINES[var] = CONFIG[var]
|
|
|
|
|
2015-01-21 08:20:48 +03:00
|
|
|
for var in ('ANDROID_PACKAGE_NAME', 'ANDROID_CPU_ARCH',
|
2015-02-07 01:08:35 +03:00
|
|
|
'GRE_MILESTONE', 'MOZ_APP_BASENAME', 'MOZ_MOZILLA_API_KEY',
|
2013-11-27 17:55:07 +04:00
|
|
|
'MOZ_APP_DISPLAYNAME', 'MOZ_APP_ID', 'MOZ_APP_NAME',
|
|
|
|
'MOZ_APP_VENDOR', 'MOZ_APP_VERSION', 'MOZ_CHILD_PROCESS_NAME',
|
2015-05-06 05:10:50 +03:00
|
|
|
'MOZ_ANDROID_APPLICATION_CLASS', 'MOZ_ANDROID_BROWSER_INTENT_CLASS', 'MOZ_ANDROID_SEARCH_INTENT_CLASS',
|
2013-11-27 17:55:07 +04:00
|
|
|
'MOZ_CRASHREPORTER', 'MOZ_UPDATE_CHANNEL', 'OMNIJAR_NAME',
|
|
|
|
'OS_TARGET', 'TARGET_XPCOM_ABI'):
|
|
|
|
DEFINES[var] = CONFIG[var]
|
|
|
|
|
|
|
|
# Mangle our package name to avoid Bug 750548.
|
|
|
|
DEFINES['MANGLED_ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME'].replace('fennec', 'f3nn3c')
|
|
|
|
DEFINES['MOZ_APP_ABI'] = CONFIG['TARGET_XPCOM_ABI']
|
2015-05-01 23:42:15 +03:00
|
|
|
if not CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
# These should really come from the included binaries, but that's not easy.
|
|
|
|
DEFINES['MOZ_APP_ABI'] = 'arm-eabi-gcc3' # Observe quote differences here ...
|
|
|
|
DEFINES['TARGET_XPCOM_ABI'] = '"arm-eabi-gcc3"' # ... and here.
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
if '-march=armv7' in CONFIG['OS_CFLAGS']:
|
|
|
|
DEFINES['MOZ_MIN_CPU_VERSION'] = 7
|
|
|
|
else:
|
|
|
|
DEFINES['MOZ_MIN_CPU_VERSION'] = 5
|
2014-02-14 10:19:50 +04: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',
|
|
|
|
'gecko-util.jar'
|
2014-06-30 22:21:50 +04:00
|
|
|
]
|
|
|
|
|
2015-04-15 23:04:49 +03:00
|
|
|
DIST_FILES += ['package-name.txt.in']
|