diff options
author | Ivan Lozano <ivanlozano@google.com> | 2019-09-23 10:10:40 -0700 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2019-09-24 10:35:20 -0700 |
commit | 5ca5ef6788a557f28edb8feea89e4493af2f4a67 (patch) | |
tree | 3e851abd33938577cbf476355979b10d849faa53 /rust/rust_test.go | |
parent | 1a4d45b2f8dfbe73de9eb19923762131a17be4d1 (diff) |
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
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r-- | rust/rust_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go index f7c96dd6a..a54615d68 100644 --- a/rust/rust_test.go +++ b/rust/rust_test.go @@ -150,7 +150,6 @@ func TestDepsTracking(t *testing.T) { rust_proc_macro { name: "libpm", srcs: ["foo.rs"], - host_supported: true, } rust_binary_host { name: "fizz-buzz", |