Consider only preferred modules for jdeps
Bug: 263327259 Test: run atest and see modules to be built Change-Id: I208a07e2453b924f8af25db340d970ec039c5f32
This commit is contained in:
@@ -52,6 +52,11 @@ func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonCont
|
||||
return
|
||||
}
|
||||
|
||||
// Prevent including both prebuilts and matching source modules when one replaces the other.
|
||||
if !android.IsModulePreferred(module) {
|
||||
return
|
||||
}
|
||||
|
||||
ideInfoProvider, ok := module.(android.IDEInfo)
|
||||
if !ok {
|
||||
return
|
||||
|
Reference in New Issue
Block a user