diff options
author | 2023-12-20 02:37:52 +0000 | |
---|---|---|
committer | 2024-01-03 02:01:36 +0000 | |
commit | f3c706868a6252ba50f7433e456935a3b25bc531 (patch) | |
tree | 90430131787f5c87f2f70aba048becc16e42e349 /rust/rust.go | |
parent | ad579a8c713215e60ac9f560bd32684f604cda7b (diff) |
Enable Soong to correctly add dependencies to .PHONY targets.
Previously, Soong's phony simply added "required" or "host_required"
to LOCAL_REQUIRED_MODULES and `include BUILD_PHONY_PACKAGE` without
correctly adding them to the dependency list.
This change add a new `phony_rule` module type to Soong that acts like
`.PHONY` instead of `BUILD_PHONY_PACKAGE`
Bug: 316838256
Bug: 309730110
Test: 1. Use `phony_rule` and adding "phony_deps: [dep_modules]" to
Android.bp.
2. make target and check the dep_modules be built.
Change-Id: I3e9e9ac26ecc456668f1b6baf5c08f9c9139b3b2
Diffstat (limited to 'rust/rust.go')
0 files changed, 0 insertions, 0 deletions