diff options
author | 2017-09-27 17:01:44 -0700 | |
---|---|---|
committer | 2017-10-18 18:06:02 +0000 | |
commit | af3cc2d23c4473828c9e4596bce36c2ba762e992 (patch) | |
tree | 7db84020037e4f83ff17fae7e033dfb85c46987e /android/module.go | |
parent | 16b9ce4dff7d522aca993b38e4e44be309ba658b (diff) |
Some clarifications in preparation to automatically order linker dependencies
Test: Browse the code and determine whether it's easier to understand
Bug: 66260943
Change-Id: I88c24a8a31ef68f428919087d206433659265684
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/android/module.go b/android/module.go index 9d7f9420c..9afc8a7c3 100644 --- a/android/module.go +++ b/android/module.go @@ -61,7 +61,7 @@ type androidBaseContext interface { Windows() bool Debug() bool PrimaryArch() bool - Vendor() bool + InstallOnVendorPartition() bool AConfig() Config DeviceConfig() DeviceConfig } @@ -99,7 +99,11 @@ type ModuleContext interface { type Module interface { blueprint.Module + // GenerateAndroidBuildActions is analogous to Blueprints' GenerateBuildActions, + // but GenerateAndroidBuildActions also has access to Android-specific information. + // For more information, see Module.GenerateBuildActions within Blueprint's module_ctx.go GenerateAndroidBuildActions(ModuleContext) + DepsMutator(BottomUpMutatorContext) base() *ModuleBase @@ -690,7 +694,7 @@ func (a *androidBaseContextImpl) DeviceConfig() DeviceConfig { return DeviceConfig{a.config.deviceConfig} } -func (a *androidBaseContextImpl) Vendor() bool { +func (a *androidBaseContextImpl) InstallOnVendorPartition() bool { return a.vendor } |