Export hidden api related types and fields
This will export some hidden api related types and fields so they can be used from outside the java package. This is needed to allow a follow up change to move the TestPlatformBootclasspath_Fragments from the java to the apex package. Bug: 179354495 Test: m nothing Change-Id: Ib69eea9d79cc83b8e3fc29919a29f071e1ec17b5
This commit is contained in:
@@ -763,7 +763,7 @@ func (b *bootclasspathFragmentSdkMemberProperties) AddToPropertySet(ctx android.
|
||||
|
||||
// Copy manually curated flag files specified on the bootclasspath_fragment.
|
||||
if b.Flag_files_by_category != nil {
|
||||
for _, category := range hiddenAPIFlagFileCategories {
|
||||
for _, category := range HiddenAPIFlagFileCategories {
|
||||
paths := b.Flag_files_by_category[category]
|
||||
if len(paths) > 0 {
|
||||
dests := []string{}
|
||||
@@ -772,7 +772,7 @@ func (b *bootclasspathFragmentSdkMemberProperties) AddToPropertySet(ctx android.
|
||||
builder.CopyToSnapshot(p, dest)
|
||||
dests = append(dests, dest)
|
||||
}
|
||||
hiddenAPISet.AddProperty(category.propertyName, dests)
|
||||
hiddenAPISet.AddProperty(category.PropertyName, dests)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user