Add support for lint baseline files
Test: m droid Test: go test ^TestJavaLint # (from soong/build/java) Change-Id: I249a0a0597b0bf8495460ed283b476ad2eb36edc
This commit is contained in:
@@ -127,7 +127,7 @@ type config struct {
|
||||
|
||||
// If testAllowNonExistentPaths is true then PathForSource and PathForModuleSrc won't error
|
||||
// in tests when a path doesn't exist.
|
||||
testAllowNonExistentPaths bool
|
||||
TestAllowNonExistentPaths bool
|
||||
|
||||
// The list of files that when changed, must invalidate soong_build to
|
||||
// regenerate build.ninja.
|
||||
@@ -254,7 +254,7 @@ func TestConfig(buildDir string, env map[string]string, bp string, fs map[string
|
||||
|
||||
// Set testAllowNonExistentPaths so that test contexts don't need to specify every path
|
||||
// passed to PathForSource or PathForModuleSrc.
|
||||
testAllowNonExistentPaths: true,
|
||||
TestAllowNonExistentPaths: true,
|
||||
|
||||
BazelContext: noopBazelContext{},
|
||||
}
|
||||
|
Reference in New Issue
Block a user