Commit Graph

7 Commits

Author SHA1 Message Date
Bob Badour
b6b93309a8 [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/common
Added SPDX-license-identifier-Apache-2.0 to:
  java/com/android/modules/targetprep/proto/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I97b92ff8cc572f8cf1a097421a5931fcac1468a2
2022-12-01 08:19:04 -08:00
Andrei Onea
9212ed5d43 Create proto entries for SJP test
Add proto messages relevant to the SJP test. The test may fetch jars
from any of the *CLASSPATH env variables, shared library jars and
apk-in-apex.

Test: m classpath_classes_proto_java
Bug: 254647172
Change-Id: Ie77a489901dc6b4b31f92f457af845f23a16babb
2022-11-16 15:19:01 +00:00
Andrei Onea
7cede5aa6a Create basic reentrant ClasspathFetcher targetprep
This will take over the responsibilities of StrictJavaPackagesTest's
setup code, and by fetching and processing all classpath data, as
defined in go/stricter-java-packages-test .

Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I93d2651994f7602d60ae91ca2401b83ae8c57baf
2022-11-03 15:53:26 +00:00
Pedro Loureiro
f958e846e4 Rename target for ApexInstallHelper.java
To make the naming consistent with other targets.

Test: m
Change-Id: I07208ae1c4770f8cb9a2cf1152d9012322bdf7ca
2022-09-02 16:43:15 +00:00
Pedro Loureiro
4d21852ef1 Add ApexInstallHelper
This is a utility to help installing and updating apexes in tests as
well as cleaning them up when the test finishes.

Test: manually by using the code to install apexes, make sure they were
installed and also that they were removed after the test.

Change-Id: Iac881661b90332c9612c11f916f6df7d8e671aa8
2022-08-19 15:14:42 +00:00
Bob Badour
f3aa76929d [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/common
Added SPDX-license-identifier-Apache-2.0 to:
  java/com/android/modules/annotation/Android.bp
  sdk/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work

Change-Id: Ia45708593b339ddbc4e7643b9974bf60fd9a4e2d
Merged-in: I2934cb172c2a335a8fa0044219f362d80cb44a0e
2021-02-17 09:46:27 -08:00
Mathew Inwood
f0fe178b84 Add MinSdk annotation.
Bug: 177884215
Test: m modules-annotation-minsdk-soong
Change-Id: I8bf4d5c05450e8255daa2b291373ecf32775f8a8
2021-02-10 13:28:55 +00:00