From dfe75b389c44f45e9556fb1d6eb70f8675e796bf Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Tue, 23 Jul 2019 16:53:32 +0100 Subject: [PATCH] Fix some typos in Soong. Test: m Change-Id: I5b332ce12d70f13eca93b23060620c0ea4f46db7 --- android/testing.go | 4 ++-- apex/apex.go | 2 +- cc/vndk.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/testing.go b/android/testing.go index 12e30ec58..b59f399d0 100644 --- a/android/testing.go +++ b/android/testing.go @@ -376,7 +376,7 @@ func AndroidMkEntriesForTest(t *testing.T, config Config, bpPath string, mod blu var p AndroidMkEntriesProvider var ok bool 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.fillInEntries(config, bpPath, mod) @@ -387,7 +387,7 @@ func AndroidMkDataForTest(t *testing.T, config Config, bpPath string, mod bluepr var p AndroidMkDataProvider var ok bool 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.fillInData(config, bpPath, mod) diff --git a/apex/apex.go b/apex/apex.go index 8b0f3852c..0466ccbe4 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -944,7 +944,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) { } if a.apexTypes.image() { // Build rule for unflattened APEX is created even when ctx.Config().FlattenApex() - // is true. This is to support referencing APEX via ":" syntax // in other modules. It is in AndroidMk where the selection of flattened // or unflattened APEX is made. a.buildUnflattenedApex(ctx, imageApex) diff --git a/cc/vndk.go b/cc/vndk.go index f9f376432..2c78047b5 100644 --- a/cc/vndk.go +++ b/cc/vndk.go @@ -31,7 +31,7 @@ type VndkProperties struct { // declared as a VNDK or VNDK-SP module. The vendor variant // 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}`. Enabled *bool