Stop java_sdk_library_import from depending on source modules am: 44f1d8404b
am: ad18b5c676
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1351595 Change-Id: I98193c398be14e639aae36983ce3cb30c81a7b6e
This commit is contained in:
@@ -228,6 +228,16 @@ type Module interface {
|
||||
// For more information, see Module.GenerateBuildActions within Blueprint's module_ctx.go
|
||||
GenerateAndroidBuildActions(ModuleContext)
|
||||
|
||||
// Add dependencies to the components of a module, i.e. modules that are created
|
||||
// by the module and which are considered to be part of the creating module.
|
||||
//
|
||||
// This is called before prebuilts are renamed so as to allow a dependency to be
|
||||
// added directly to a prebuilt child module instead of depending on a source module
|
||||
// and relying on prebuilt processing to switch to the prebuilt module if preferred.
|
||||
//
|
||||
// A dependency on a prebuilt must include the "prebuilt_" prefix.
|
||||
ComponentDepsMutator(ctx BottomUpMutatorContext)
|
||||
|
||||
DepsMutator(BottomUpMutatorContext)
|
||||
|
||||
base() *ModuleBase
|
||||
@@ -770,6 +780,8 @@ type ModuleBase struct {
|
||||
prefer32 func(ctx BaseModuleContext, base *ModuleBase, class OsClass) bool
|
||||
}
|
||||
|
||||
func (m *ModuleBase) ComponentDepsMutator(BottomUpMutatorContext) {}
|
||||
|
||||
func (m *ModuleBase) DepsMutator(BottomUpMutatorContext) {}
|
||||
|
||||
func (m *ModuleBase) AddProperties(props ...interface{}) {
|
||||
|
Reference in New Issue
Block a user