cosmetic: 1)typos 2)parameters named for clarity
Test: n/a Bug: n/a Change-Id: I49faa1d8dec4b729409a45e87212b271ecf9e9d1
This commit is contained in:
@@ -188,7 +188,7 @@ a functionally equivalent module. Enter Soong namespaces.
|
|||||||
|
|
||||||
#### Namespaces
|
#### Namespaces
|
||||||
|
|
||||||
A presense of the `soong_namespace {..}` in an Android.bp file defines a
|
The presence of the `soong_namespace {..}` in an Android.bp file defines a
|
||||||
**namespace**. For instance, having
|
**namespace**. For instance, having
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@@ -323,13 +323,13 @@ type BottomUpMutatorContext interface {
|
|||||||
// AddVariationDependencies adds deps as dependencies of the current module, but uses the variations
|
// AddVariationDependencies adds deps as dependencies of the current module, but uses the variations
|
||||||
// argument to select which variant of the dependency to use. It returns a slice of modules for
|
// argument to select which variant of the dependency to use. It returns a slice of modules for
|
||||||
// each dependency (some entries may be nil). A variant of the dependency must exist that matches
|
// each dependency (some entries may be nil). A variant of the dependency must exist that matches
|
||||||
// the all of the non-local variations of the current module, plus the variations argument.
|
// all the non-local variations of the current module, plus the variations argument.
|
||||||
//
|
//
|
||||||
// If the mutator is parallel (see MutatorHandle.Parallel), this method will pause until the
|
// If the mutator is parallel (see MutatorHandle.Parallel), this method will pause until the
|
||||||
// new dependencies have had the current mutator called on them. If the mutator is not
|
// new dependencies have had the current mutator called on them. If the mutator is not
|
||||||
// parallel this method does not affect the ordering of the current mutator pass, but will
|
// parallel this method does not affect the ordering of the current mutator pass, but will
|
||||||
// be ordered correctly for all future mutator passes.
|
// be ordered correctly for all future mutator passes.
|
||||||
AddVariationDependencies([]blueprint.Variation, blueprint.DependencyTag, ...string) []blueprint.Module
|
AddVariationDependencies(variations []blueprint.Variation, tag blueprint.DependencyTag, names ...string) []blueprint.Module
|
||||||
|
|
||||||
// AddFarVariationDependencies adds deps as dependencies of the current module, but uses the
|
// AddFarVariationDependencies adds deps as dependencies of the current module, but uses the
|
||||||
// variations argument to select which variant of the dependency to use. It returns a slice of
|
// variations argument to select which variant of the dependency to use. It returns a slice of
|
||||||
|
@@ -74,7 +74,7 @@ func (s *sortedNamespaces) index(namespace *Namespace) int {
|
|||||||
|
|
||||||
// A NameResolver implements blueprint.NameInterface, and implements the logic to
|
// A NameResolver implements blueprint.NameInterface, and implements the logic to
|
||||||
// find a module from namespaces based on a query string.
|
// find a module from namespaces based on a query string.
|
||||||
// A query string can be a module name or can be be "//namespace_path:module_path"
|
// A query string can be a module name or can be "//namespace_path:module_path"
|
||||||
type NameResolver struct {
|
type NameResolver struct {
|
||||||
rootNamespace *Namespace
|
rootNamespace *Namespace
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ import (
|
|||||||
type sortableComponent interface {
|
type sortableComponent interface {
|
||||||
// componentName returns the name of the component.
|
// componentName returns the name of the component.
|
||||||
//
|
//
|
||||||
// Uniquely identifies the components within the set of components used at runtimr and during
|
// Uniquely identifies the components within the set of components used at runtime and during
|
||||||
// tests.
|
// tests.
|
||||||
componentName() string
|
componentName() string
|
||||||
|
|
||||||
|
@@ -129,7 +129,7 @@ type variableProperties struct {
|
|||||||
Exclude_srcs []string
|
Exclude_srcs []string
|
||||||
}
|
}
|
||||||
|
|
||||||
// eng is true for -eng builds, and can be used to turn on additionaly heavyweight debugging
|
// eng is true for -eng builds, and can be used to turn on additional heavyweight debugging
|
||||||
// features.
|
// features.
|
||||||
Eng struct {
|
Eng struct {
|
||||||
Cflags []string
|
Cflags []string
|
||||||
|
Reference in New Issue
Block a user