Age | Commit message (Collapse) | Author |
|
The modules were moved from developement/build to frameworks/base.
Reflect that change here.
Bug: N/A
Test: m
Change-Id: Ia2edbf6dd54b891083e71c8bc02b0c5d177e3fe4
|
|
Takes advantage of a new mechanism for specifying the default visibility
of all modules in a package to restrict the visibility of libcore
modules as much as possible:
package {default_visibility: ["//visibility:private"]}
Bug: 133290645
Bug: 134379140
Test: m droid
Change-Id: I2ba1a6131993d218fd65cd4a8f0ad29a7a83df14
|
|
Build file tidy ups based on ccross@ comments in:
https://android-review.googlesource.com/c/platform/libcore/+/745848
Test: build only
Bug: 113148576
Change-Id: I70ed383ddbb9aead566629abcad6443a72fde237
|
|
This commit introduces the term "mmodule" in place of
"module" for the thing that is being prototyped;
"module" is a heavily overloaded term so
the extra "m" is intended to make it easier to track /
understand what "type of" module is involved.
Important parts of this commit:
+ {simple mmodule}.TestClass has been renamed to
DemoSimpleClass to distinguish it from a test and new
similar class being added in libart (DemoLibartClass).
+ Adds the @IntraCoreMModuleApi annotation; it is used to
indicate API members that form part of a "core" mmodule
contract (either incoming or outgoing dependency of a
libcore mmodule) that must be kept stable.
+ Annotates parts of the DemoSimpleClass to make them part
of the "simple mmodule API" contract.
+ Adds a method in the simple mmodule that isn't annotated
to demonstrate (Java) public methods that are not part
of the mmodule contract.
+ Includes a new target "core-simple.mmodule.stubs"
which generates the simple mmodule API stubs.
+ Includes a new target "core-all.mmodule.stubs"
which generates the mmodule API stubs for the core-all
library.
+ Adds bi-direction dependencies between parts of the
boot classpath. This makes the code a more realistic part
of "core" for prototyping / demostration purposes:
- DemoSimpleClass (now) has a method that calls through
to a method on DemoLibartClass to demonstrate a
dependency from {simple mmodule} onto core-libart.
- DemoLibartClass has a similar arrangement going in the
other direction making core-libart depend on {simple
mmodule} (making a bi-dir dependency but without an
infinite loop at runtime).
+ A test has been added for DemoLibartClass in the
CtsLibcoreSimpleMModuleTestCases to confirm the bi-dir
behavior in an automated test.
Bug: 113148576
Test: make checkbuild / make cts
Test: CTS: run cts -m CtsLibcoreSimpleModuleTestCases
Change-Id: I5564d6be61eba4c0116e91c601e32208da104f02
|
|
A trivial jar / class for prototyping and associated
directory structure. The location and structure may
change in future.
Later changes will add core-simple.jar to the boot
classpath, etc. See http://go/simple-module
Bug: 113148576
Test: build only
Change-Id: I319a97fac9b87f1f826aa48a5efcfcc55e50ebaf
|
|
This removes ojluni.jaif, which no longer contains any annotations
data. It removes annotated_java_files.bp, which contained a list of
files mentioned in ojluni.jaif. It removes the tooling and build rules
around keeping annotated_java_files.bp up to date. And it removes all
references to the generated source files from the libcore droiddoc
targets.
Bug: 111639530
Test: `make docs` output is unaffected
Test: `make core-docs`
Change-Id: I44ae36c3940abb0173a64669564b244b72c7ff9f
|
|
Bug: b/70351683
Test: m api-stubs-doc
Change-Id: I6902eefcead830e1c5fe89dc198dbdae75ba3e5d
|
|
And make annotated_ojluni_files generation as genrule
The droiddoc gen for frameworks depends on:
LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES)
framework_docs_LOCAL_GENERATED_SOURCES come from ojluni_annotate_output.
In order to use ojluni_annotate_output in Soong properly, make the
annotated ojluni srcs generation as genrule in Soong.
Test: m -j checkbuild and check out srcjar content.
Bug: b/70351683
Change-Id: Ie2682625288bc86c9845177e94c765d591495db3
|
|
This reverts commit 9762264100d81d3dd653cbca2996b288c52f9546.
Jack is disabled everywhere now. This reapplies
I20a0f0327172bc51db47c7c56ccc806e20cf1244 with updates for changes
to Soong and to add sources to the core-lambda-stubs jar.
Test: m -j checkbuild
Change-Id: I77c9dc558bc6c0f3833b1b79a0707c498e560628
|
|
This reverts commit 70d863fdc17969b4638caf830d0567adc20a6100.
Reason for revert: Broke the few remaining builds that still use jack
Change-Id: I437d583cf33d68e6d8fa3367e1ea54848b56e05b
|
|
See build/soong/README.md for more information.
Test: m -j checkbuild
Test: classes.dex for core-oj is identical
Test: classes.dex for core-libart only has extra bridge methods (b/65645120)
Change-Id: I0f81937dcc6efba87e7f61b2d5840b18068cd587
|
|
See build/soong/README.md for more information.
Reapplies Ibf27f08e22f544582271bbe04af17cff278bd996 with fix for
CtsLibcoreTestCases.
Test: m -j checkbuild
Test: libjavacore-unit-tests
Test: cts-tradefed run cts -m CtsLibcoreTestCases -t dalvik.system.JniTest
Change-Id: Ia4d7eb3f8ba4b97428606bb60df34dc1256eeaa1
|
|
This reverts commit ae545c35af04cc4097ae78b65084ac57a28a597f.
Reason for revert: Broke libcore CTS tests
Bug: 65664537
Change-Id: Ia7cf6604efc870e4d121f4acec0da97f48ea219b
|
|
See build/soong/README.md for more information.
Test: m -j checkbuild
Test: libjavacore-unit-tests
Change-Id: Ibf27f08e22f544582271bbe04af17cff278bd996
|