Merge "Modify sdk_library to dist exportable api files by default" into main
This commit is contained in:
@@ -1997,8 +1997,10 @@ func (module *SdkLibrary) createStubsSourcesAndApi(mctx android.DefaultableHookC
|
|||||||
tag string
|
tag string
|
||||||
pattern string
|
pattern string
|
||||||
}{
|
}{
|
||||||
{tag: ".api.txt", pattern: "%s.txt"},
|
// "exportable" api files are copied to the dist directory instead of the
|
||||||
{tag: ".removed-api.txt", pattern: "%s-removed.txt"},
|
// "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{
|
props.Dists = append(props.Dists, android.Dist{
|
||||||
Targets: []string{"sdk", "win_sdk"},
|
Targets: []string{"sdk", "win_sdk"},
|
||||||
|
Reference in New Issue
Block a user