platform_build_soong/rust
Ivan Lozano 5ca5ef6788 Fix proc_macro dependency handling.
Currently proc_macros don't pull in the correct arch dependencies when
the host arch differs from the target arch.

This fixes how proc_macro dependencies are handled by defining them as
always being host-only and including them as dependencies for
device-modules by using AddFarVariationDependencies.

Bug: 141491501
Test: Example device rust module builds with proc_macro dependency.
Change-Id: Ic037dc406ce90526f8b68c92fffc0d93a498a4ff
2019-09-24 10:35:20 -07:00
..
config Merge "Amend list of required Rust stdlib libraries." 2019-09-20 23:59:20 +00:00
androidmk.go Move splitFileExt to the android package. 2019-09-09 20:29:31 -07:00
binary.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
binary_test.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
builder.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
compiler.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
compiler_test.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
library.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
library_test.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
prebuilt.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00
proc_macro.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
rust.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
rust_test.go Fix proc_macro dependency handling. 2019-09-24 10:35:20 -07:00
testing.go Add Rust support to Soong. 2019-08-28 14:11:07 -07:00