Fix some typos in Soong.

Test: m
Change-Id: I5b332ce12d70f13eca93b23060620c0ea4f46db7
This commit is contained in:
Roland Levillain
2019-07-23 16:53:32 +01:00
parent 2b78fda705
commit dfe75b389c
3 changed files with 4 additions and 4 deletions

View File

@@ -376,7 +376,7 @@ func AndroidMkEntriesForTest(t *testing.T, config Config, bpPath string, mod blu
var p AndroidMkEntriesProvider var p AndroidMkEntriesProvider
var ok bool var ok bool
if p, ok = mod.(AndroidMkEntriesProvider); !ok { if p, ok = mod.(AndroidMkEntriesProvider); !ok {
t.Errorf("module does not implmement AndroidMkEntriesProvider: " + mod.Name()) t.Errorf("module does not implement AndroidMkEntriesProvider: " + mod.Name())
} }
entries := p.AndroidMkEntries() entries := p.AndroidMkEntries()
entries.fillInEntries(config, bpPath, mod) entries.fillInEntries(config, bpPath, mod)
@@ -387,7 +387,7 @@ func AndroidMkDataForTest(t *testing.T, config Config, bpPath string, mod bluepr
var p AndroidMkDataProvider var p AndroidMkDataProvider
var ok bool var ok bool
if p, ok = mod.(AndroidMkDataProvider); !ok { if p, ok = mod.(AndroidMkDataProvider); !ok {
t.Errorf("module does not implmement AndroidMkDataProvider: " + mod.Name()) t.Errorf("module does not implement AndroidMkDataProvider: " + mod.Name())
} }
data := p.AndroidMk() data := p.AndroidMk()
data.fillInData(config, bpPath, mod) data.fillInData(config, bpPath, mod)

View File

@@ -944,7 +944,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
} }
if a.apexTypes.image() { if a.apexTypes.image() {
// Build rule for unflattened APEX is created even when ctx.Config().FlattenApex() // Build rule for unflattened APEX is created even when ctx.Config().FlattenApex()
// is true. This is to support referencing APEX via ":<module_name" syntax // is true. This is to support referencing APEX via ":<module_name>" syntax
// in other modules. It is in AndroidMk where the selection of flattened // in other modules. It is in AndroidMk where the selection of flattened
// or unflattened APEX is made. // or unflattened APEX is made.
a.buildUnflattenedApex(ctx, imageApex) a.buildUnflattenedApex(ctx, imageApex)

View File

@@ -31,7 +31,7 @@ type VndkProperties struct {
// declared as a VNDK or VNDK-SP module. The vendor variant // declared as a VNDK or VNDK-SP module. The vendor variant
// will be installed in /system instead of /vendor partition. // will be installed in /system instead of /vendor partition.
// //
// `vendor_vailable` must be explicitly set to either true or // `vendor_available` must be explicitly set to either true or
// false together with `vndk: {enabled: true}`. // false together with `vndk: {enabled: true}`.
Enabled *bool Enabled *bool