Revert "Soong support for namespaces"
This reverts commit 63a250a336a1b910836eeb4caebcf5b4f8d91c2a.
Reason for revert: Some failures:
namespace_test.go:648: dir1/Blueprints:2:4: a namespace must be the first module in the file
such as New Build Breakage: aosp-master/build_test @ 4475274
Change-Id: I1b5db8eb934e51ff22241bfca44199d886b1393b
diff --git a/android/testing.go b/android/testing.go
index 60189d3..03572b3 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -23,16 +23,9 @@
)
func NewTestContext() *TestContext {
- ctx := &TestContext{
+ return &TestContext{
Context: blueprint.NewContext(),
}
-
- namespaceExportFilter := func(namespace *Namespace) bool {
- return true
- }
- ctx.SetNameInterface(NewNameResolver(namespaceExportFilter))
-
- return ctx
}
func NewTestArchContext() *TestContext {