commit | 064ac0bf15e5b8f29481c0b4a795759aefb08d03 | [log] [tgz] |
---|---|---|
author | Nelson Li <nelsonli@google.com> | Mon Jun 17 05:02:56 2024 +0000 |
committer | Nelson Li <nelsonli@google.com> | Mon Jun 17 05:03:56 2024 +0000 |
tree | 2dca73e5d16eb4e32eee7849bc3569f23e40c3a5 | |
parent | a1188013f39300728b06336b37c4dcf6f55d1d49 [diff] |
Convert `init_vendor` to Android.bp `init_first_stage` is a dependency of `init_vendor` only when `BOARD_USES_RECOVERY_AS_BOOT` is false. Since `BOARD_USES_RECOVERY_AS_BOOT` is already defined in `build/make/core/android_soong_config_vars.mk` within a soong_namespace, we can use the `soong_config_module_type` to easily convert this to Android.bp. Bug: 347600829 Test: m init_vendor Change-Id: I1ddcd5fb62983b01e51452c9b7367750e03e7f48