Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ea25038 authored by Cole Faust's avatar Cole Faust
Browse files

Make vintf_fragment modules use the common arch

The common arch can easily be transitioned to, unlike real
architectures. vintf_fragments shouldn't need to be arch-variant, so
making them common arch makes them easier to use.

Bug: 372091092
Test: m nothing
Change-Id: I26dcc412917870ac394407911a7fd2d9a3430e95
parent 481b6699
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ func vintfLibraryFactory() Module {
	m.AddProperties(
		&m.properties,
	)
	InitAndroidArchModule(m, DeviceSupported, MultilibFirst)
	InitAndroidArchModule(m, DeviceSupported, MultilibCommon)

	return m
}
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ func TestVintfManifestBuildAction(t *testing.T) {

	testResult := PrepareForTestWithAndroidBuildComponents.RunTestWithBp(t, bp)

	vintfFragmentBuild := testResult.TestContext.ModuleForTests("test_vintf_fragment", "android_arm64_armv8-a").Rule("assemble_vintf")
	vintfFragmentBuild := testResult.TestContext.ModuleForTests("test_vintf_fragment", "android_common").Rule("assemble_vintf")
	if !strings.Contains(vintfFragmentBuild.RuleParams.Command, "assemble_vintf") {
		t.Errorf("Vintf_manifest build command does not process with assemble_vintf : " + vintfFragmentBuild.RuleParams.Command)
	}