platform_build_soong/snapshot
Ivan Lozano 872d579a22 rust: rust_proc_macro host snapshot support.
Adds support for capturing rust_proc_macros as part of the host
snapshot. Proc macros target the host and can be thought of as compiler
plugins. Because of this, they don't have vendor image variants and
can't be easily captured as part of the vendor snapshot. Instead we
capture them as part of the host snapshot.

This adds a rust_prebuilt_proc_macro module type.

Bug: 204304380
Test: m HOST_FAKE_SNAPSHOT_ENABLE=true host-fake-snapshot dist
Test: python3 development/vendor_snapshot/update.py --image=host
  --install-dir=vendor/vendor_name/ 31 --local out/dist
Test: Checked Android.bp for rust_prebuilt_proc_macro modules.
Change-Id: I4a8c4d9c41b7ca361b5b97d3f74973918c2a5fe3
2022-03-25 09:25:07 -04:00
..
Android.bp Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
host_fake_snapshot.go rust: rust_proc_macro host snapshot support. 2022-03-25 09:25:07 -04:00
host_snapshot.go rust: rust_proc_macro host snapshot support. 2022-03-25 09:25:07 -04:00
host_test.go Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
recovery_snapshot.go Support for rust recovery snapshot. 2021-11-09 08:40:50 -08:00
snapshot.go Separate snapshot definition 2021-07-19 11:42:32 +09:00
snapshot_base.go rust: rust_proc_macro host snapshot support. 2022-03-25 09:25:07 -04:00
test.go Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
util.go Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
vendor_snapshot.go Separate snapshot definition 2021-07-19 11:42:32 +09:00