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

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

Merge "'m fuzz' shared lib package should be per-fuzzer."

parents 69c01369 13ed3f5e
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -338,6 +338,9 @@ func (s *fuzzPackager) GenerateBuildActions(ctx android.SingletonContext) {
		collectAllSharedDependencies(module, sharedLibraries, ctx)

		for _, library := range sharedLibraries {
			archDirs[archDir] = append(archDirs[archDir],
				fileToZip{library, ccModule.Name() + "/lib"})

			if _, exists := archSharedLibraryDeps[archAndLibraryKey{archDir, library}]; exists {
				continue
			}
@@ -379,12 +382,6 @@ func (s *fuzzPackager) GenerateBuildActions(ctx android.SingletonContext) {
		}
	})

	// Add the shared library deps for packaging.
	for key, _ := range archSharedLibraryDeps {
		archDirs[key.ArchDir] = append(archDirs[key.ArchDir],
			fileToZip{key.Library, "lib"})
	}

	for archDir, filesToZip := range archDirs {
		arch := archDir.Base()
		hostOrTarget := filepath.Base(filepath.Dir(archDir.String()))