Commit Graph

4 Commits

Author SHA1 Message Date
Jiakai Zhang
89b88df157 Add STANDALONE_SYSTEMSERVER_JARS to classpath.proto.
This is an environment variable that lists the jars that system server
loads dynamically using separate classloaders. The list is derived from
PRODUCT_STANDALONE_SYSTEM_SERVER_JARS and
PRODUCT_APEX_PRODUCT_STANDALONE_SYSTEM_SERVER_JARS in Makefile. It will
be comsumed by odrefresh to determine what jars to preopt on early boot.

Note that the variable should not end with "CLASSPATH" because the list
is not used by runtime as a classpath. It is just a colon-separated list
of jars. System server loads the jars separately with paths hardcoded in
the code.

Bug: 203198541
Test: manual - 1. Build an image.
  2. Flash the image to a device.
  3. adb shell echo \$STANDALONE_SYSTEMSERVER_JARS
  4. See the correct list of jars.
Change-Id: I5a9653c606969aaa8083e8c8daa9d48b99663790
2021-11-25 10:48:25 +00:00
satayev
94b1430ffe Change min max sdk version type to string.
This allows support of codenames, instead of pure integer version codes.

This is a safe change, since the fields are currently unused.

Bug: 190818041
Test: presubmit
Change-Id: Ic80330413c35f16d274fef721ff908f1fe380e55
2021-11-09 14:41:18 +00:00
satayev
4239d7b57b Use absolute paths in classpaths.proto.
The intention before was to use relative paths to a partition where a
config is defined. However, jars in /system_ext partition are planned to
be declared in /system's classpaths.proto config.

Bug: 180105615
Test: atest derive_classpath_test
Change-Id: I4f955303631ba84b47d6e287c7b4f59c1e198da1
2021-05-18 19:32:02 +01:00
satayev
075d07c591 Move SdkExtensions/proto to packages/modules/common.
The proto definitions may be needed at build time to generate appropriate
configs for the modules. Unbundled ART branches do not include
packages/modules/SdkExtenstion in their manifest; so put the proto in a
project that should be visible to all unbundled modules.

Move any relevant tools to packages/modules/common/tools as well.

Bug: 180105615
Test: m nothing
Change-Id: I4efa4300553af6b321f46adb29b8cc90e4556955
2021-05-10 18:27:54 +01:00