platform_system_sepolicy/build
Paul Duffin 532bde121b Stop using deprecated functionality for managing path deps
This change stops using deprecated functionality and migrates this
repository's custom Soong code to support current practices to manage
path property related dependencies. i.e. when a property includes
something that looks like ":module".

ExtractSourcesDeps has been deprecated in favor of tagging properties
with `android:"path"` which will cause the pathDepsMutator to add the
dependencies automatically.

android.SourceDepTag has been deprecated as the underlying type needs
to be changed and this will no longer work for its current uses.

* ctx.GetDirectDepWithTag(moduleName, android.SourceDepTag) will not
  work to retrieve a reference to the module dependency added for
  path properties. GetModuleFromPathDep(ctx, moduleName, "") must be
  used instead.

* depTag == android.SourceDepTag can no longer be used to check to
  see if depTag was used to add a module dependency for a module
  reference in a path property without any output tag.
  IsSourceDepTagWithOutputTag(depTag, "") must be used instead.

Bug: 193228441
Test: m nothing
Change-Id: I307039612f0f2a541ac7dbfddd052ef78c290f60
2021-07-09 23:15:17 +01:00
..
soong Stop using deprecated functionality for managing path deps 2021-07-09 23:15:17 +01:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/sepolicy 2021-02-05 01:28:24 -08:00
build_sepolicy.py Replace "grep -f" with python util. 2018-12-17 16:57:57 -08:00
file_utils.py build/file_utils: Newline for mapping files 2020-03-31 17:56:49 +02:00