summaryrefslogtreecommitdiff
path: root/rust/clippy_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2020-11-17 22:21:02 +0900
committer Jiyong Park <jiyong@google.com> 2020-11-30 15:40:48 +0000
commit99644e92c86e400fb78595edf02184139574c2ca (patch)
tree42017649a604b8a75c3ac29734865c7f1a30458c /rust/clippy_test.go
parentd35d92a7b57c61deaa3316e624d6a9898475704d (diff)
rust modules can be included in apex
We will have some APEXes having rust binaries and libraries. So, adding the support for the types of modules. rust.Module now inherits from android.ApexModuleBase and implements the android.ApexModule interface. Bug: 172414324 Test: m Exempt-From-Owner-Approval: rebased after +2 from the owner Change-Id: I356ef4c45f782a6460f001e83af96d1710642d80
Diffstat (limited to 'rust/clippy_test.go')
-rw-r--r--rust/clippy_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/clippy_test.go b/rust/clippy_test.go
index 132b7b8fa..e24f666df 100644
--- a/rust/clippy_test.go
+++ b/rust/clippy_test.go
@@ -18,6 +18,7 @@ import (
"testing"
"android/soong/android"
+ "android/soong/cc"
)
func TestClippy(t *testing.T) {
@@ -45,6 +46,7 @@ func TestClippy(t *testing.T) {
}`
bp = bp + GatherRequiredDepsForTest()
+ bp = bp + cc.GatherRequiredDepsForTest(android.NoOsType)
fs := map[string][]byte{
// Reuse the same blueprint file for subdirectories.