diff options
author | Colin Cross <ccross@android.com> | 2019-11-20 13:35:50 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-12-06 12:37:14 -0800 |
commit | ae6c5207cc5faddcdbb480e5a58773e278fddebc (patch) | |
tree | 73ea1f0896c45fab8750e5b838e543da6de877b4 /cc/genrule_test.go | |
parent | f3c24c12efff1a6b8307eeea460310afbc80e131 (diff) | |
download | build_soong-ae6c5207cc5faddcdbb480e5a58773e278fddebc.tar.gz build_soong-ae6c5207cc5faddcdbb480e5a58773e278fddebc.tar.bz2 build_soong-ae6c5207cc5faddcdbb480e5a58773e278fddebc.zip |
Move ImageMutator after archMutator
Move the ImageMutator to be registered just after the archMutator
in preparation for moving it between osMutator and archMutator.
Requries updating variants in a few tests that now run the
ImageMutator.
Bug: 142286466
Test: no change to build.ninja
Test: all soong tests
Change-Id: Ia9d2a7bc0e225bedec3c9a83ea04f471a931bf47
Diffstat (limited to 'cc/genrule_test.go')
-rw-r--r-- | cc/genrule_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/genrule_test.go b/cc/genrule_test.go index 785e3e1e..9f159e54 100644 --- a/cc/genrule_test.go +++ b/cc/genrule_test.go @@ -74,13 +74,13 @@ func TestArchGenruleCmd(t *testing.T) { t.Fatal(errs) } - gen := ctx.ModuleForTests("gen", "android_arm_armv7-a-neon").Output("out_arm") + gen := ctx.ModuleForTests("gen", "android_arm_armv7-a-neon_core").Output("out_arm") expected := []string{"foo"} if !reflect.DeepEqual(expected, gen.Inputs.Strings()) { t.Errorf(`want arm inputs %v, got %v`, expected, gen.Inputs.Strings()) } - gen = ctx.ModuleForTests("gen", "android_arm64_armv8-a").Output("out_arm64") + gen = ctx.ModuleForTests("gen", "android_arm64_armv8-a_core").Output("out_arm64") expected = []string{"bar"} if !reflect.DeepEqual(expected, gen.Inputs.Strings()) { t.Errorf(`want arm64 inputs %v, got %v`, expected, gen.Inputs.Strings()) |