Merge changes Ia17b2bcb,Ic71892c3,Id2b23b9e,I435ee7aa,I85112506, ...

* changes:
  Consolidate *MutatorContext and ModuleContext into BaseModuleContext
  Add test for missing defaults modules with AllowMissingDependencies
  Capture missing dependency error rules
  Share buildDir for android/soong/android tests
  Reimplement AddMissingDependencies
  Add GenerateAndroidBuildActions to DefaultsModuleBase
This commit is contained in:
Colin Cross
2019-06-12 20:19:55 +00:00
committed by Gerrit Code Review
23 changed files with 495 additions and 346 deletions

View File

@@ -15,8 +15,6 @@
package android
import (
"io/ioutil"
"os"
"testing"
)
@@ -183,12 +181,6 @@ var neverallowTests = []struct {
}
func TestNeverallow(t *testing.T) {
buildDir, err := ioutil.TempDir("", "soong_neverallow_test")
if err != nil {
t.Fatal(err)
}
defer os.RemoveAll(buildDir)
config := TestConfig(buildDir, nil)
for _, test := range neverallowTests {