| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 141747409
Test: atest CtsLibcoreOjTestCases CtsLibcoreTestCases CtsIcuTestCases
Merged-In: I81647efb6e56c6f5561eb9d51d0ae0bb6911ed0a
Change-Id: I81647efb6e56c6f5561eb9d51d0ae0bb6911ed0a
|
| |/
|
|
|
|
|
|
|
| |
This module is used in the definition of `art-run-test-defaults`, used
by ART run-test modules defined under art/test.
Test: n/a
Bug: 147814778
Change-Id: Iaf677783f96196f00d9b9b739b64fabc14cdb9d0
|
| |
|
|
|
|
| |
Test: m
Bug: 157734636
Change-Id: I1af703536373c431d6d69f401c9d8472ce6b7d0a
|
| |
|
|
|
|
|
|
|
|
| |
The classes used to generate core-current-stubs-system-modules
need to be distributed in the SDK so that other build systems
can link their own system modules.
Bug: 143209928
Test: m TARGET_PRODUCT=sdk_phone_x86 TARGET_BUILD_VARIANT=userdebug sdk sdk_repo dist
Change-Id: Id6ebfbfcd26c379b6721ef04fb5d0c437bbe37cf
|
| |
|
|
|
|
|
|
|
|
| |
Moving few more tests from cores-tests to libcore-crypto-tests, so they
become part of Conscrypt MTS.
Test: mts-tradefed mts-consrypt on Q and R
Bug: 150644609
Change-Id: I9ae2e6f14abb519886db4fa0fc0c72039c2f4e51
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Some tests that validate Conscrypt dependencies live outside of
Conscrypt - luni tests in this case. Extracting relevant ones into a
separate lib so it can be referenced by MtsConscryptTestCases.
Test: mts mts-conscrypt
Bug: 150644123
Bug: 150644835
Change-Id: Ib595a01bde5806bfd3a73ab92e03159525c52ca6
|
| |
|
|
|
|
|
|
|
| |
Removes an extra aggregation step in the process of building the public
APIs.
Test: m nothing
Bug: 142935992
Change-Id: I25d1c2e89a5f4ae1f5db101681326301b4707fb6
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
ART doesn't need them anymore.
Test: run-libcore-tests
Change-Id: Ibdd887b3aa3bec0b9426c5d9744d6c7793937211
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Making core-test-rules visible to MtsConscryptTestCases since it fails
to find EnableDeprecatedBouncyCastleAlgorithmsRule type.
Test: atest MtsConscryptTestCases
Bug: 148097409
Change-Id: I1cfba6ebb44b2d39ce63bbaea142432b6528f497
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Needed to test public API android.util.CloseGuard.
Note that dalvik.system.CloseGuard is already tested
in CtsLibcoreTestCases.
Bug: 150692734
Test: atest CloseGuardTest
Change-Id: Ieac08c9b9f0556bbffc24491cb56a009074da00c
|
| |/
|
|
|
|
|
|
| |
Libcore depends on the source files directly via a filegroup; framework and others depend on a java_library that exports a java_plugin. Manually specific that the annotation processor must run on libcore/ targets as well.
Bug: 145132366
Change-Id: Ie7034c901761898989cc7150f8399737c2adc8da
Test: m
|
| |
|
|
|
|
| |
Bug: 142935992
Test: m art-module-sdk art-module-host-exports art-module-test-exports
Change-Id: I6afecb78893a99d8c880d4eb1fbcf5b4c3b03fe6
|
| |
|
|
|
|
|
|
|
| |
It was currently disabled, and Play are going to bundle their own known
version.
Bug: http://b/135038583
Test: treehugger
Change-Id: I9c90d4464293fd7e89aadf4fa40d82ff22f23016
|
| |
|
|
|
|
| |
Bug: 142935992
Test: m art-module-sdk art-module-host-exports art-module-test-exports
Change-Id: Id9e0deb00ae5382a48f0ad7a0b353d84d14dd76e
|
| |
|
|
|
|
|
|
|
|
|
| |
truth-prebuilt ends up depending on android stubs, but running
libcore tests shouldn't depend on android stubs.
Required after:
https://android-review.googlesource.com/q/topic:%22apistubs_cleanup%22
Test: art/tools/run-libcore-tests.sh
Change-Id: Iabc2076dcd5b7896ee0aec8046055308e8d743ef
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add explicit test coverage to ensure that StackTraceElement data
corresponds to the debug data encoded in the owning dex file. We use
smali source to have full control over the generated dex file we use as
a test fixture.
Test cases added include methods with & without any line information.
In the future we can fix and test the DBG_SET_FILE opcode which is
currently not respected / following the dex-format specification.
Test: atest CtsLibcoreTestCases:libcore.java.lang.ThreadTest
Change-Id: I7adb3d71b86af03a3cd49dcc46bcb825be38f54b
Signed-off-by: Dan Zimmerman <danzimm@fb.com>
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reason for revert: relanding with fix
Reverted Changes:
Ic4119368c:Revert submission 1191937-art_apex_available
Ia084976bb:Revert submission 1191937-art_apex_available
Iada86226d:Revert submission 1191937-art_apex_available
Ic76735eac:Revert submission 1191937-art_apex_available
I1eb30e355:Revert submission 1191937-art_apex_available
Icaf95d260:Revert submission 1191937-art_apex_available
Ie8bace4be:Revert submission 1191937-art_apex_available
I8961702cf:Revert submission 1191937-art_apex_available
I39316f9ef:Revert submission 1191937-art_apex_available
I522a7e83b:Revert submission 1191937-art_apex_available
I8b9424976:Revert submission 1191937-art_apex_available
I48b998629:Revert submission 1191937-art_apex_available
Change-Id: Id409b14e0fcb26fe943ad057a0e8d5d127e5cde9
|
| |
|
|
|
|
|
|
|
|
|
|
| |
FrameworksWifiApiTests is moving from mk to bp.
mk did not respect Soong's visibility rules, so
it was able to reference core-test-rules.
With bp, we need to explicit whitelist it.
Bug: 140299412
Test: atest FrameworksWifiApiTests
Change-Id: Ibb5816754ad85f8eb810abbbda64cd06bbcf3d05
Merged-In: Ibb5816754ad85f8eb810abbbda64cd06bbcf3d05
|
| |
|
|
|
|
|
|
|
|
| |
Expose "core-test-rules" containing
CloseGuardSupport.java to test
android.util.CloseGuard.
Bug: 145831809
Test: compiles
Change-Id: Ib1b97345aeb19734f1006d9013c807e30bdbc27d
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d38b50d216334359b9969606cc611b8be217887f.
The art buildbot was previously failing due to a transitive
dependency on "api-stubs-docs" and "framework-res", via the
unneeded "app-compat-annotations". This fix removes that dependency.
Bug: 140367850
Test: atest CoreCompatChangeRuleTest
Test: art/tools/buildbot-build.sh --host
Change-Id: I34ca27ca5c56ebb23bbb858c287809bc93671427
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Reason for revert: Breaks master-art builds with this error:
FAILED: out/soong/.intermediates/development/build/android_stubs_current/android_common/turbine-combined/android_stubs_current.jar
echo "module android_stubs_current missing dependencies: api-stubs-docs, framework-res" && false
module android_stubs_current missing dependencies: api-stubs-docs, framework-res
Test: art/tools/buildbot-build.sh --host
Bug: 140367850
Exempt-From-Owner-Approval: Reverting change breaking ART builds
Change-Id: I48f9505342cf035822b445df0fb8b2b778ef36d4
|
| |
|
|
|
|
|
|
|
|
| |
A separate implementation will be provided in Framework, to prevent
cumbersome dependencies in libcore specific tests.
Bug: 140367850
Test: atest CoreCompatChangeRuleTest
Test: atest PlatformCompatGating
Change-Id: Ieaf64174e016f946ec86c1521771af0a2a0ac3e5
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Test: m + flash
Bug: 142650523
Change-Id: I4c50bebb9fbfc3df89d948004c6c16dbb60ce8c7
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moves the rewriting from frameworks/base to libcore as it is libcore
specific.
Test: m offline-sdk-docs
diffed against previous version to ensure this did not change it
Bug: 129765390
Change-Id: I6e20f6faee5fe7ec834d8da3800f294911c3e7de
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The metalava-manual droiddoc_exported_dir provides some annotations
(in tools/metalava/manual/master.txt) that are merged into libcore
stubs. They were provided in the API signature file because metalava
does not support TYPE_USE annotations correctly when specified on
Java code and so adding the libcore.util.Nullable/NonNull TYPE_USE
annotations to the appropriate file in the
ojluni/annotations/sdk/nullability directory did not work because
they were discarded.
This change works around that issue by allowing
libcore.util.Nullable/NonNull to be specified on other element types
like methods and fields. That allows them to be used in places where
TYPE_USE annotations are not allowed and metalava merges them
in correctly.
Bug: 111116803
Test: m checkbuild
tested that this does not change offline-sdk-docs
Change-Id: I6fb0cfcfe158a61537b6706ef97f4f2c4359fe7a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the ojluni-annotated-sdk-stubs droiddoc_exported_dir
blueprint module was exported to frameworks/base so that it could merge
the annotations from those directories into the public API (stubs, docs
and signature files).
This change applies the annotations to the stubs that libcore generates
which are used by frameworks/base to generate the public API stubs so
frameworks/base no longer has to do that work and the sources that
provide those stubs are not required.
Bug: 142113521
Test: m checkbuild
made sure that this change does not affect offline-sdk-docs
Change-Id: Iaa00f1041e44a5229f9ffa20a155a051538bf8a0
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Reason for revert: breaks https://ci.chromium.org/p/art/builders/ci/angler-armv7-non-gen-cc/443
Change-Id: If849f0d15f121cfe44ba120c82a84c4bb8a5d324
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CompatChangeRule can now be used host-side, which means that the system
server specific api is ignored.
This change also moves it to a different package, to avoid collision
with android.compat.Compatibility.
Bug: 140367850
Test: atest CompatChangeRuleTest
Test: https://r.android.com/1158973
Change-Id: I661daf7dead3245f3b828355c8a2a0243776164a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed issue with hiddenapi-mappings that caused it to be reverted.
Switches from using a filegroup referencing ART implementation
classes to a srcjar containing ART public API stubs source.
Adds i18n.module.intra.core.api.stubs to
art-module-public-api-stubs-source to ensure that the generated stubs
have the correct values for constants defined using i18n classes.
Bug: 142113521
Test: m checkbuild && m hiddenapi-mappings && m hiddenapi-list-docs
Change-Id: I7b76fa3bf7bbc4f1c633bc603516249cce6dfc75
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit d2879e5ee5705a4ce4d49bf3641abd5b19a737d2.
Reason for revert: Looks like it caused the failing of all sdk targets on aosp-master
Change-Id: Idf7b3d3ef0c64c81460e0b51bf1948bc9feda14e
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switches from using a filegroup referencing ART implementation
classes to a srcjar containing ART public API stubs source.
Adds i18n.module.intra.core.api.stubs to
art-module-public-api-stubs-source to ensure that the generated stubs
have the correct values for constants defined using i18n classes.
Bug: 142113521
Test: m checkbuild
Change-Id: I7eefbb82e1dc3d68d7899d541d8f208b04bafb27
ge-Id: I7c7f6ace9b32847192cace818fdeb32525382f29
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Rename the filegroup to indicate it contains only subset for public
APIs.
Bug: 142690826
Test: m droid
Change-Id: If128c5a873899ab037ab78637180f9f9083cf890
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Switches from using a filegroup referencing conscrypt implementation
classes to a srcjar containing public API stubs source.
Bug: 142113521
Bug: 141742596
Test: m checkbuild
Change-Id: Ide5596dbb5a40d43312703961f0bc4428248560a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Passes --include-annotation flag to metalava to cause it to generate androidx
nullability annotations in the output stubs.
Creates a special set of system modules that includes a minimal set of self
consistent classes that can be used in a system module (i.e. must include
java.lang classes) as well as android/androidx nullability annotations. The set
of classes was constructed by starting with the classes in java.lang and then
adding all of their transitive dependencies.
That is needed to build the art module public stubs + annotations. Without it
the compiler cannot see the annotations when targeting language level >= 1.9.
Uses the stub-annotations which is a copy of android and androidx annotations
provided by metalava that are used by the public SDK stubs.
Bug: 142546485
Test: m checkbuild
Change-Id: I77443b29a06d55631764e3447b2b81315527a59e
|
| | |
| |
| |
| |
| |
| | |
Bug: 142113521
Test: m nothing
Change-Id: I1041702f4232f896468470034c0c1bbd0393afef
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Avoids splitting packages that are part of java.base.
Removes patch_module: "java.base" that was used to work around this
issue.
Bug: 143057012
Test: m checkbuild
Change-Id: Iad65343fd3fde55f2d3b0e68c4bbcd51377d85d9
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This target builds dalvik.system.VersionCodes. Several dalvik.system
classes (DexFile and the various *ClassLoader classes) are in
java.base when sdk_version is core_current. The package is therefore
split across modules. This hasn't been a problem until now since
everything built with and sdk_version of core_current has implicitly
had a java_version of 1.8, but that needs to change (see
https://r.android.com/1145829).
This change explicitly opts this target into java_version 1.9, which
triggers the issue ahead of the Soong change, and then using
patch_module to fix the issue.
Bug: 142896162
Test: m art.module.api.annotations
Change-Id: I71abeded2f1c922f844b8a91c38b8819ca9f7285
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This java_library_static (introduced in https://r.android.com/1113075)
builds classes which are in the Java module java.base. To avoid a
split packages error when building with Java language level 9, it
needs a patch_module attribute. (This seems appropriate since it these
are rules for testing code that is in java.base.)
Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make platform_compat-test-rules
Bug: 115604102
Change-Id: I966751cc6d90ab97a67b2144ab0c787ab11c4f09
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A change to add system_modules to droidstubs build rules allows the
same system modules to be used to create the stubs as will be used to
compile them. That avoids the need to duplicate the libs from the
system modules on the droidstubs and allows their visibility to be
restricted.
When sdk_version: "none" is specified it is required that the
system_modules property is also set; consistent with how it behaves on
java_library. That requires system_modules: "none" to be added to
droidstubs rules.
Bug: 142534789
Test: m checkbuild
built offline-sdk-docs without my changes and took base copy
repeated with my changes and compared with base copy
verified that only the timestamp.js file had changed.
Change-Id: Id62970a91e86253c122358c26891c9d9c8765507
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Adds support for toggling gated changes at test time.
Bug: 140367850
Test: http://aosp/1113771
Change-Id: I7980eb4d69d2f012b62731d93f43fa58d5ee7d54
|