diff options
| author | 2020-07-10 18:57:44 +0000 | |
|---|---|---|
| committer | 2020-07-10 18:57:44 +0000 | |
| commit | c76b0fd5f3676fce8c4417f6c1d40cb63eb0bee0 (patch) | |
| tree | 7f21e811bf0226b6170857a755f82b1b1d4d5ad4 /rust/rust.go | |
| parent | fd1e267e409556b77735f7c88802806243e7cad8 (diff) | |
| parent | 9c3f56a3aa5dd0f92155a8d5e137e79318b76a0e (diff) | |
Merge "Specify module dependency in the srcs list" am: 21143a601c am: 9c3f56a3aa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356365
Change-Id: I5e4cbd9d86ee9f99d2bbc08fce40dd4b56d9dcbc
Diffstat (limited to 'rust/rust.go')
| -rw-r--r-- | rust/rust.go | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index 72301a718..7a98c6468 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -239,6 +239,9 @@ type PathDeps struct {  	CrtBegin android.OptionalPath  	CrtEnd   android.OptionalPath + +	// Paths to generated source files +	SrcDeps android.Paths  }  type RustLibraries []RustLibrary @@ -843,6 +846,7 @@ func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps {  	// Dedup exported flags from dependencies  	depPaths.linkDirs = android.FirstUniqueStrings(depPaths.linkDirs)  	depPaths.depFlags = android.FirstUniqueStrings(depPaths.depFlags) +	depPaths.SrcDeps = android.FirstUniquePaths(depPaths.SrcDeps)  	return depPaths  }  |