Age | Commit message (Collapse) | Author |
|
am: 4056e654e2
Change-Id: I0b8fd33e8b27acebdc1dcc0fb31b9c309aa1fd3d
|
|
am: c87ce7d8da
Change-Id: I97976f795f5803a5009033b6847aaa0aaccc2324
|
|
am: ad9b610acf
Change-Id: I47651d14a6b32cb7bcb81362d94c9651cc8120d9
|
|
|
|
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: Iccca8c1115b3169fa5847e4513adfdfb44915637
|
|
Previous changes statically included legacy-android-test in preparation
for removing android.test.* and junit.* classes from the android.jar.
Unfortunately, that lead to duplicate classes between APKs and the
bootclasspath which caused build problems (Proguard) and also runtime
problems (when targeting and running on older releases).
Switching from statically including the classes to using the runtime
libraries cannot be done in one step because legacy-android-test is
statically included in libraries which are used in many APKs and so
removing it from those libraries requires that all APKs be updated at
once. Doing that atomically across dozens of projects is not practical.
This change modifies APKS that statically include the
legacy-android-test library indirectly.
* If the APK manifest uses the android.test.runner library then the APK
is modified to stop statically including legacy-android-test and
instead build against android.test.base/mock/runner libraries instead.
* Otherwise, the APK statically includes legacy-android-test.
Also, any libraries that statically include are modified to stop
statically including it and if it has source dependencies on the classes
is changed to build against the android.test.base/mock/runner libraries.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tck-android/Android.mk
Replaced 'legacy-android-test' with 'android.test.base' in
LOCAL_JAVA_LIBRARIES because ObjenesisTck's source depends on its
classes. The classes do not need to be statically included because
the classes will be provided by the runtime, either from the
default bootclasspath or from the android.test.runner library that
ObjenesisTck specifies in its manifest.
Bug: 30188076
Test: make checkbuild
Change-Id: I4a0a0ac4e1a9052fd7774f9687feace0ebb6304d
|
|
am: 02fa051894
Change-Id: I75c42a7b7282c8c0e7d6b83dfc1b2d3d51c19c33
|
|
Change-Id: I6ba9ac39ca4d29dcddbe9d7c0610890fc8cdcac5
|
|
Change-Id: I27a830897e70c835562798096fe397b0a157f40b
|
|
am: faa2cca788
Change-Id: Iad093b549719e72c51bcd7bd669981e447296fea
|
|
am: e5e9f043e4
Change-Id: I754c5a6b870b220de96265180fe3a1c61026244b
|
|
am: 3952d75432
Change-Id: I69d5f35c19f88e96990be568578f71e9d784ae78
|
|
|
|
See build/soong/README.md for more information.
Test: m checkbuild
Change-Id: If798f17c3470e804951ceaa9b3fa077d3f658bd9
|
|
30c85e8178 am: 577d18e542 am: fa27358374
am: c64fe4f2a8
Change-Id: If125945dc87e1e71d56ac23861a9d55fd02eac70
|
|
30c85e8178 am: 577d18e542
am: fa27358374
Change-Id: I932c83068da414a84a9ffd7e8f6127608d4a7092
|
|
am: 577d18e542
Change-Id: I4af448217e735b18f569f1d1fd18071843b0a863
|
|
am: 30c85e8178
Change-Id: Ib16772c93e263c54229ed975a8597d684351c478
|
|
|
|
A previous change added legacy-android-test as a static dependency to
all packages that build against the current, test_current or
system_current and failed to compile when the junit and android.test
classes were removed from the API. Unfortunately, those changes did not
take into account that some of those packages target earlier API
versions and so will always have the classes available at runtime.
This change replaces those static dependencies with dynamic dependencies
for any package that targets an earlier API version. The file changes
were made automatically by a tool that constructed and then analyzed a
full dependency graph of all the Android Java modules. The individual
changes were checked manually to ensure that the changes matched the
intent. The affected modules were built against an API with the junit
and android.test classes removed. Any issues found during this process
resulted in either the tool being updated to address the issue or a
separate change being made to fix an existing problem with the build. A
sample of the affected packages were run to ensure that they worked as
expected at runtime; no issues were found during testing.
The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.
* tck-android/Android.mk
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because ObjenesisTck's manifest file (AndroidManifest.xml) targets
API level 25 and dynamically includes the android.test.runner
library at runtime so there is no point in statically including the
classes.
Added 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module
ObjenesisTck uses classes from package android.test (possible
indirectly) and needs them available at compile time.
Dependency 'legacy-android-test' is used instead of
'android.test.runner' because the latter will conflict with
dependencies on junit.
Bug: 30188076
Test: make checkbuild and ran a sample of tests
Change-Id: Ib303c34dc1f47b6e720acabc582e217861d2a7e6
|
|
The recent upgrade of objenesis to 2.5 and the change to switch
mockito-updated-target to use objenesis-target means that this
code is no longer needed.
Bug: 32912773
Test: make checkbuild
Change-Id: I040c33b2a50fcdbb07e9a7cee27f05b0e7f1626e
|
|
* changes:
Made UnsafeFactoryInstantiator compile
Update to 2.5
Fixed update_source.sh script
Restructure files to match upstream objenesis
|
|
043ad1e610 am: a3ef09de71
am: 28bbd46e53 -s ours
Change-Id: I0a656c04c0e4f9637ea2b404a7457ac0eee036ec
|
|
Tested by installing and running ObjenesisTck as described in
the Android.mk file.
Bug: 32912773
Test: make checkbuild and install and ran ObjenesisTck
Change-Id: I9677ea078fe83c686e995b788125612cbe48c974
|
|
Updated using ./update_source.sh 2.5
Bug: 32912773
Test: Does not build yet; see following commit
(cherry picked from commit 4302006f904d6f8623062ea4f16d3a1822684f6d)
Change-Id: If02819bd12ac279e3e2924fd4ee0955e6da9ccef
|
|
Objenesis has moved from googlecode to github and the structure
has changed slightly; see previous commit. This change updates
the script to match. It also will update the README.version file
to ensure that it is up to date.
The tck-android/AndroidManifest.xml has moved to
tck-android/src/main/AndroidManifest.xml this change updates the
script to move it back in order for it to be found when
building ObjenesisTck.
Bug: 32912773
Test: Ran with ./update_source.sh 2.5 - see following commit
(cherry picked from commit 3c95c88031b5e7d709598fe86a036704c12e121a)
Change-Id: I91c141efd4b25da52d817504cd26dd23fb934f53
|
|
Makes the file structure match upstream objenesis so that it is
simpler to update in future. Moving the files as a separate
step to upgrading makes it easier for git to track renames and
simplifies future diffs and reviews.
Bug: 32912773
Test: make checkbuild
(cherry picked from commit d3bfa334632023b5401df247e60cb43844cdaa72)
Change-Id: I9a1b61c6967f3a3d1f618ce5c748281310e7b9f1
|
|
am: a3ef09de71
Change-Id: I163b1986f6d431d9c9582fa1816156c4baa090c9
|
|
am: 043ad1e610
Change-Id: Ia868312258d367b5a8c99d29f31fab0d3b1535a6
|
|
* changes:
Made UnsafeFactoryInstantiator compile
Update to 2.5
Fixed update_source.sh script
Restructure files to match upstream objenesis
Fix objenesis makefiles
|
|
Tested by installing and running ObjenesisTck as described in
the Android.mk file.
Bug: 32912773
Test: make checkbuild and install and ran ObjenesisTck
Change-Id: I9677ea078fe83c686e995b788125612cbe48c974
|
|
Updated using ./update_source.sh 2.5
Bug: 32912773
Test: Does not build yet; see following commit
Change-Id: I88f6252c2b17ea6c69255e7a607678fc9fa541a5
|
|
Objenesis has moved from googlecode to github and the structure
has changed slightly; see previous commit. This change updates
the script to match. It also will update the README.version file
to ensure that it is up to date.
The tck-android/AndroidManifest.xml has moved to
tck-android/src/main/AndroidManifest.xml this change updates the
script to move it back in order for it to be found when
building ObjenesisTck.
Bug: 32912773
Test: Ran with ./update_source.sh 2.5 - see following commit
Change-Id: Id4871f31d85c3be5ae13240de1012af2cc0cf53e
|
|
Makes the file structure match upstream objenesis so that it is
simpler to update in future. Moving the files as a separate
step to upgrading makes it easier for git to track renames and
simplifies future diffs and reviews.
Bug: 32912773
Test: make checkbuild
Change-Id: Iab45c5439b713dc600131c2cba243ca026c190a4
|
|
LOCAL_PATH should always be the path to the Android.mk file, don't
manually set it to a subdirectory.
Partial cherry pick, ignoring changes to new files.
(cherry picked from 403102914cb0a262f5d55735a7d3a8a1f6421e53)
Test: builds
Change-Id: Ib2ad67e383190a4df44a24050b487b2d75ea0936
Merged-In: I8de7331026650ef0888bd0f7a4e751fe80407359
|
|
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.
Bug: 30188076
Test: make checkbuild
Change-Id: Idf67b5d58260ea1baa74ee8f50053d68d57d72bd
|
|
LOCAL_PATH should always be the path to the Android.mk file, don't
manually set it to a subdirectory.
Don't include submakefiles until the end of the build, otherwise
LOCAL_PATH will get reset to the path to the submakefile. This was
causing ObjenesisTck to not contain any source files.
Fixes warning during makefile parsing:
FindEmulator: cd: external/objenesis/objenesis-updated/tck-android/tck-android: No such file or directory
Test: builds
Change-Id: I8de7331026650ef0888bd0f7a4e751fe80407359
|
|
Test: mm
Change-Id: If72eee3985bd7c53e93386f265e74202467eb5ba
|
|
|
|
|
|
Change-Id: I51c55f8e3f5210117bd72782a99cdd80dbba5aed
|
|
This will be used for automated notification of external vulnerability
reports.
Change-Id: I2970bc875598ed66bf9a96f2408420e1fe3a78ae
|
|
Change-Id: Id4d1711e3c8a31591220d3fe47056b0046e6d5ed
|
|
Change-Id: I6e287ad2f5081a3855db82afa40d6133b5ce0ae7
|
|
Change-Id: I35dd67b3f6a14b275e8a5bb883a952002c6bafcb
|
|
SDK 9 doesn't appear to be an officially supported API level.
The API 9 platform isn't available through the SDK manager.
Change-Id: I8a81821b0d01b7dbaafebd05d56f06d24f236e18
|
|
|
|
Change-Id: Ifd8144bafbd4fe25800284a2c33e75a2f7e43c40
|
|
Change-Id: Ia7b95c1abb7512272b3b6ae2c6db306e49a48450
|
|
Change-Id: I9482b807679c681c56abb82d19cb4930bd7ca9b1
|