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

Commit eb0f7716 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Let header ABI checker load core variants' version scripts" into main

parents 86cc1e89 f1f276c9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1893,6 +1893,10 @@ func (library *libraryDecorator) symbolFileForAbiCheck(ctx ModuleContext) *strin
	if library.hasStubsVariants() && library.Properties.Stubs.Symbol_file != nil {
		return library.Properties.Stubs.Symbol_file
	}
	// TODO(b/309880485): Distinguish platform, NDK, LLNDK, and APEX version scripts.
	if library.baseLinker.Properties.Version_script != nil {
		return library.baseLinker.Properties.Version_script
	}
	return nil
}