Merge "Update language to comply with inclusive guidance"

This commit is contained in:
Treehugger Robot
2020-07-29 03:41:51 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -337,8 +337,8 @@ func NewConfig(srcDir, buildDir string, moduleListFile string) (Config, error) {
config: config,
}
// Sanity check the build and source directories. This won't catch strange
// configurations with symlinks, but at least checks the obvious cases.
// Soundness check of the build and source directories. This won't catch strange
// configurations with symlinks, but at least checks the obvious case.
absBuildDir, err := filepath.Abs(buildDir)
if err != nil {
return Config{}, err

View File

@@ -489,7 +489,7 @@ func TestHostBinaryNoJavaDebugInfoOverride(t *testing.T) {
ctx, _ := testJavaWithConfig(t, config)
// first, sanity check that the -g flag is added to target modules
// first, check that the -g flag is added to target modules
targetLibrary := ctx.ModuleForTests("target_library", "android_common")
targetJavaFlags := targetLibrary.Module().VariablesForTests()["javacFlags"]
if !strings.Contains(targetJavaFlags, "-g:source,lines") {