diff options
| author | 2021-10-01 13:19:58 +0100 | |
|---|---|---|
| committer | 2021-10-01 14:37:04 +0100 | |
| commit | 08a18bf74ae2c7609026e25e3f489a5bfec56d3b (patch) | |
| tree | b759870caceb0a8620bfe09f1366ced1172ea267 /java/systemserver_classpath_fragment.go | |
| parent | 1b5262bd69ad18b66166bd7279ef5cebd068c952 (diff) | |
Always perform permitted package check when building a library
Previously, the permitted package check was designed to only be run
when building checkbuild. Although, that appears to now be broken.
This change uses a Validation dependency to ensure that the package
check is performed whenever the output file of a java_library is built
as part of the build. The package check runs in parallel with any other
rules that depend on the file.
Bug: 201753898
Test: - change the permitted_packages property in
frameworks/base/test-mock so that the package check will fail.
m out/soong/.intermediates/frameworks/base/test-mock/android.test.mock/android_common/package-check.stamp
- as expected the package check failed.
m droid
- as expected the package check did not fail.
# Made these changes then:
m droid
- as expected the package check now failed.
Change-Id: Id38fe280c79e5505ee4555b845c6da2ae6747bc4
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions