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

Commit cc24fce7 authored by Jihoon Kang's avatar Jihoon Kang Committed by Automerger Merge Worker
Browse files

Merge "Modify sdk_library to dist exportable api files by default" into main...

Merge "Modify sdk_library to dist exportable api files by default" into main am: 5135a0df am: c09ef10f

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2970651



Change-Id: I8f4f37a00d0be29616201c212f1e62b721a06bcf
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2f65cc24 c09ef10f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1997,8 +1997,10 @@ func (module *SdkLibrary) createStubsSourcesAndApi(mctx android.DefaultableHookC
			tag     string
			pattern string
		}{
			{tag: ".api.txt", pattern: "%s.txt"},
			{tag: ".removed-api.txt", pattern: "%s-removed.txt"},
			// "exportable" api files are copied to the dist directory instead of the
			// "everything" api files.
			{tag: ".exportable.api.txt", pattern: "%s.txt"},
			{tag: ".exportable.removed-api.txt", pattern: "%s-removed.txt"},
		} {
			props.Dists = append(props.Dists, android.Dist{
				Targets: []string{"sdk", "win_sdk"},