aboutsummaryrefslogtreecommitdiffstats
path: root/context_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-10-29 15:32:56 -0700
committerColin Cross <ccross@android.com>2015-10-29 16:03:37 -0700
commit763b6f18fa865a52f64fda453f471ee02f63a50a (patch)
tree30cd3cf46aec8526a8b70d881defca5c2de8fd93 /context_test.go
parent45021dcbbdf762b57878704adc1443e96169ea2e (diff)
downloadandroid_build_blueprint-763b6f18fa865a52f64fda453f471ee02f63a50a.tar.gz
android_build_blueprint-763b6f18fa865a52f64fda453f471ee02f63a50a.tar.bz2
android_build_blueprint-763b6f18fa865a52f64fda453f471ee02f63a50a.zip
Deprecate EarlyMutator and DynamicDependencies
DynamicDependencies can be implemented more flexibly by a BottomUpMutator. If there are no DynamicDependencies, then EarlyMutators are identical to BottomUpMutators. Deperecate both, and reimplement DynamicDependencies inside a BottomUpMutator that is guaranteed to be registered first.
Diffstat (limited to 'context_test.go')
-rw-r--r--context_test.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/context_test.go b/context_test.go
index 8877be9..acf0c1c 100644
--- a/context_test.go
+++ b/context_test.go
@@ -92,7 +92,7 @@ func TestContextParse(t *testing.T) {
t.FailNow()
}
- errs = ctx.resolveDependencies(nil)
+ errs = ctx.ResolveDependencies(nil)
if len(errs) > 0 {
t.Errorf("unexpected dep errors:")
for _, err := range errs {
@@ -100,16 +100,6 @@ func TestContextParse(t *testing.T) {
}
t.FailNow()
}
-
- errs = ctx.updateDependencies()
- if len(errs) > 0 {
- t.Errorf("unexpected dep cycle errors:")
- for _, err := range errs {
- t.Errorf(" %s", err)
- }
- t.FailNow()
- }
-
}
// |---B===D - represents a non-walkable edge