Remove IsDependencyRoot from interface
This is equivalent to Binary() -- reduce the interface and improve clarity. Test: go test soong tests Change-Id: I770f5ce79fd4d888586d31ec5e67be88153626b6
This commit is contained in:
@@ -183,11 +183,6 @@ func (binary *binaryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
|
||||
return deps
|
||||
}
|
||||
|
||||
func (binary *binaryDecorator) isDependencyRoot() bool {
|
||||
// Binaries are always the dependency root.
|
||||
return true
|
||||
}
|
||||
|
||||
// NewBinary builds and returns a new Module corresponding to a C++ binary.
|
||||
// Individual module implementations which comprise a C++ binary should call this function,
|
||||
// set some fields on the result, and then call the Init function.
|
||||
|
Reference in New Issue
Block a user