cosmetic: 1)typos 2)parameters named for clarity

Test: n/a
Bug: n/a
Change-Id: I49faa1d8dec4b729409a45e87212b271ecf9e9d1
This commit is contained in:
Usta Shrestha
2022-01-11 02:44:21 -05:00
parent b3af19caa2
commit c725f47f5d
5 changed files with 6 additions and 6 deletions

View File

@@ -188,7 +188,7 @@ a functionally equivalent module. Enter Soong 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
```

View File

@@ -323,13 +323,13 @@ type BottomUpMutatorContext interface {
// 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
// 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
// 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
// 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
// variations argument to select which variant of the dependency to use. It returns a slice of

View File

@@ -74,7 +74,7 @@ func (s *sortedNamespaces) index(namespace *Namespace) int {
// A NameResolver implements blueprint.NameInterface, and implements the logic to
// 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 {
rootNamespace *Namespace

View File

@@ -31,7 +31,7 @@ import (
type sortableComponent interface {
// 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.
componentName() string

View File

@@ -129,7 +129,7 @@ type variableProperties struct {
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.
Eng struct {
Cflags []string