Files
build_soong/java
Paul Duffin d446d282ed 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.
Merged-In: Id38fe280c79e5505ee4555b845c6da2ae6747bc4
Change-Id: Id38fe280c79e5505ee4555b845c6da2ae6747bc4
(cherry picked from commit 08a18bf74a)
2021-10-05 10:01:56 +01:00
..
2020-11-30 14:16:02 -08:00
2021-04-12 13:46:21 +09:00
2021-06-18 21:02:10 +01:00
2020-12-21 12:31:51 -08:00
2021-03-31 13:17:42 -07:00
2021-03-15 13:58:44 -07:00
2021-04-12 13:46:21 +09:00
2021-09-17 14:21:24 +01:00
2019-10-18 15:14:15 -07:00