Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 1 | // Copyright 2021 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package java |
| 16 | |
| 17 | import ( |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 18 | "fmt" |
| 19 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 20 | "android/soong/android" |
| 21 | "android/soong/dexpreopt" |
| 22 | ) |
| 23 | |
| 24 | func init() { |
| 25 | registerPlatformBootclasspathBuildComponents(android.InitRegistrationContext) |
| 26 | } |
| 27 | |
| 28 | func registerPlatformBootclasspathBuildComponents(ctx android.RegistrationContext) { |
| 29 | ctx.RegisterModuleType("platform_bootclasspath", platformBootclasspathFactory) |
| 30 | } |
| 31 | |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 32 | // The tag used for the dependency between the platform bootclasspath and any configured boot jars. |
Paul Duffin | b67d878 | 2021-04-22 11:49:41 +0100 | [diff] [blame] | 33 | var platformBootclasspathModuleDepTag = bootclasspathDependencyTag{name: "module"} |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 34 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 35 | type platformBootclasspathModule struct { |
| 36 | android.ModuleBase |
Artur Satayev | 97259dc | 2021-04-07 15:17:14 +0100 | [diff] [blame] | 37 | ClasspathFragmentBase |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 38 | |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 39 | properties platformBootclasspathProperties |
| 40 | |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 41 | // The apex:module pairs obtained from the configured modules. |
| 42 | // |
| 43 | // Currently only for testing. |
| 44 | configuredModules []android.Module |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 45 | |
| 46 | // The apex:module pairs obtained from the fragments. |
| 47 | // |
| 48 | // Currently only for testing. |
| 49 | fragments []android.Module |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 50 | |
| 51 | // Path to the monolithic hiddenapi-flags.csv file. |
Paul Duffin | 0b65986 | 2021-04-13 13:02:29 +0100 | [diff] [blame] | 52 | hiddenAPIFlagsCSV android.OutputPath |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 53 | |
| 54 | // Path to the monolithic hiddenapi-index.csv file. |
Paul Duffin | 0b65986 | 2021-04-13 13:02:29 +0100 | [diff] [blame] | 55 | hiddenAPIIndexCSV android.OutputPath |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 56 | |
| 57 | // Path to the monolithic hiddenapi-unsupported.csv file. |
Paul Duffin | 0b65986 | 2021-04-13 13:02:29 +0100 | [diff] [blame] | 58 | hiddenAPIMetadataCSV android.OutputPath |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 59 | } |
| 60 | |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 61 | type platformBootclasspathProperties struct { |
Paul Duffin | b67d878 | 2021-04-22 11:49:41 +0100 | [diff] [blame] | 62 | BootclasspathFragmentsDepsProperties |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 63 | |
Paul Duffin | 4616977 | 2021-04-14 15:01:56 +0100 | [diff] [blame] | 64 | Hidden_api HiddenAPIFlagFileProperties |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | func platformBootclasspathFactory() android.Module { |
| 68 | m := &platformBootclasspathModule{} |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 69 | m.AddProperties(&m.properties) |
Artur Satayev | 97259dc | 2021-04-07 15:17:14 +0100 | [diff] [blame] | 70 | // TODO(satayev): split systemserver and apex jars into separate configs. |
| 71 | initClasspathFragment(m) |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 72 | android.InitAndroidArchModule(m, android.DeviceSupported, android.MultilibCommon) |
| 73 | return m |
| 74 | } |
| 75 | |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 76 | var _ android.OutputFileProducer = (*platformBootclasspathModule)(nil) |
| 77 | |
Artur Satayev | 97259dc | 2021-04-07 15:17:14 +0100 | [diff] [blame] | 78 | func (b *platformBootclasspathModule) AndroidMkEntries() (entries []android.AndroidMkEntries) { |
| 79 | entries = append(entries, android.AndroidMkEntries{ |
| 80 | Class: "FAKE", |
| 81 | // Need at least one output file in order for this to take effect. |
| 82 | OutputFile: android.OptionalPathForPath(b.hiddenAPIFlagsCSV), |
| 83 | Include: "$(BUILD_PHONY_PACKAGE)", |
| 84 | }) |
| 85 | entries = append(entries, b.classpathFragmentBase().getAndroidMkEntries()...) |
| 86 | return |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 87 | } |
| 88 | |
| 89 | // Make the hidden API files available from the platform-bootclasspath module. |
| 90 | func (b *platformBootclasspathModule) OutputFiles(tag string) (android.Paths, error) { |
| 91 | switch tag { |
| 92 | case "hiddenapi-flags.csv": |
| 93 | return android.Paths{b.hiddenAPIFlagsCSV}, nil |
| 94 | case "hiddenapi-index.csv": |
| 95 | return android.Paths{b.hiddenAPIIndexCSV}, nil |
| 96 | case "hiddenapi-metadata.csv": |
| 97 | return android.Paths{b.hiddenAPIMetadataCSV}, nil |
| 98 | } |
| 99 | |
| 100 | return nil, fmt.Errorf("unknown tag %s", tag) |
| 101 | } |
| 102 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 103 | func (b *platformBootclasspathModule) DepsMutator(ctx android.BottomUpMutatorContext) { |
Paul Duffin | 74431d5 | 2021-04-21 14:10:42 +0100 | [diff] [blame] | 104 | b.hiddenAPIDepsMutator(ctx) |
| 105 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 106 | if SkipDexpreoptBootJars(ctx) { |
| 107 | return |
| 108 | } |
| 109 | |
| 110 | // Add a dependency onto the dex2oat tool which is needed for creating the boot image. The |
| 111 | // path is retrieved from the dependency by GetGlobalSoongConfig(ctx). |
| 112 | dexpreopt.RegisterToolDeps(ctx) |
| 113 | } |
| 114 | |
Paul Duffin | 74431d5 | 2021-04-21 14:10:42 +0100 | [diff] [blame] | 115 | func (b *platformBootclasspathModule) hiddenAPIDepsMutator(ctx android.BottomUpMutatorContext) { |
| 116 | if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") { |
| 117 | return |
| 118 | } |
| 119 | |
| 120 | // Add dependencies onto the stub lib modules. |
| 121 | sdkKindToStubLibModules := hiddenAPIComputeMonolithicStubLibModules(ctx.Config()) |
| 122 | hiddenAPIAddStubLibDependencies(ctx, sdkKindToStubLibModules) |
| 123 | } |
| 124 | |
Paul Duffin | 4994d26 | 2021-04-22 12:08:59 +0100 | [diff] [blame^] | 125 | func (b *platformBootclasspathModule) BootclasspathDepsMutator(ctx android.BottomUpMutatorContext) { |
| 126 | // Add dependencies on all the modules configured in the "art" boot image. |
| 127 | artImageConfig := genBootImageConfigs(ctx)[artBootImageName] |
| 128 | addDependenciesOntoBootImageModules(ctx, artImageConfig.modules) |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 129 | |
Paul Duffin | 4994d26 | 2021-04-22 12:08:59 +0100 | [diff] [blame^] | 130 | // Add dependencies on all the modules configured in the "boot" boot image. That does not |
| 131 | // include modules configured in the "art" boot image. |
| 132 | bootImageConfig := b.getImageConfig(ctx) |
| 133 | addDependenciesOntoBootImageModules(ctx, bootImageConfig.modules) |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 134 | |
Paul Duffin | 4994d26 | 2021-04-22 12:08:59 +0100 | [diff] [blame^] | 135 | // Add dependencies on all the updatable modules. |
| 136 | updatableModules := dexpreopt.GetGlobalConfig(ctx).UpdatableBootJars |
| 137 | addDependenciesOntoBootImageModules(ctx, updatableModules) |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 138 | |
Paul Duffin | 4994d26 | 2021-04-22 12:08:59 +0100 | [diff] [blame^] | 139 | // Add dependencies on all the fragments. |
| 140 | b.properties.BootclasspathFragmentsDepsProperties.addDependenciesOntoFragments(ctx) |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 141 | } |
| 142 | |
| 143 | func addDependenciesOntoBootImageModules(ctx android.BottomUpMutatorContext, modules android.ConfiguredJarList) { |
| 144 | for i := 0; i < modules.Len(); i++ { |
| 145 | apex := modules.Apex(i) |
| 146 | name := modules.Jar(i) |
| 147 | |
| 148 | addDependencyOntoApexModulePair(ctx, apex, name, platformBootclasspathModuleDepTag) |
| 149 | } |
| 150 | } |
| 151 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 152 | func (b *platformBootclasspathModule) GenerateAndroidBuildActions(ctx android.ModuleContext) { |
Artur Satayev | 97259dc | 2021-04-07 15:17:14 +0100 | [diff] [blame] | 153 | b.classpathFragmentBase().generateAndroidBuildActions(ctx) |
| 154 | |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 155 | ctx.VisitDirectDepsIf(isActiveModule, func(module android.Module) { |
| 156 | tag := ctx.OtherModuleDependencyTag(module) |
| 157 | if tag == platformBootclasspathModuleDepTag { |
| 158 | b.configuredModules = append(b.configuredModules, module) |
Paul Duffin | b67d878 | 2021-04-22 11:49:41 +0100 | [diff] [blame] | 159 | } else if tag == bootclasspathFragmentDepTag { |
Paul Duffin | 62d8c3b | 2021-04-07 20:35:11 +0100 | [diff] [blame] | 160 | b.fragments = append(b.fragments, module) |
Paul Duffin | b432df9 | 2021-03-22 22:09:42 +0000 | [diff] [blame] | 161 | } |
| 162 | }) |
| 163 | |
Paul Duffin | 9b381ef | 2021-04-08 23:01:37 +0100 | [diff] [blame] | 164 | b.generateHiddenAPIBuildActions(ctx, b.configuredModules, b.fragments) |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 165 | |
Paul Duffin | bb7f1ac | 2021-03-29 22:18:45 +0100 | [diff] [blame] | 166 | // Nothing to do if skipping the dexpreopt of boot image jars. |
| 167 | if SkipDexpreoptBootJars(ctx) { |
| 168 | return |
| 169 | } |
| 170 | |
| 171 | // Force the GlobalSoongConfig to be created and cached for use by the dex_bootjars |
| 172 | // GenerateSingletonBuildActions method as it cannot create it for itself. |
| 173 | dexpreopt.GetGlobalSoongConfig(ctx) |
| 174 | |
| 175 | imageConfig := b.getImageConfig(ctx) |
| 176 | if imageConfig == nil { |
| 177 | return |
| 178 | } |
| 179 | |
| 180 | // Construct the boot image info from the config. |
| 181 | info := BootImageInfo{imageConfig: imageConfig} |
| 182 | |
| 183 | // Make it available for other modules. |
| 184 | ctx.SetProvider(BootImageInfoProvider, info) |
| 185 | } |
| 186 | |
| 187 | func (b *platformBootclasspathModule) getImageConfig(ctx android.EarlyModuleContext) *bootImageConfig { |
| 188 | return defaultBootImageConfig(ctx) |
| 189 | } |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 190 | |
| 191 | // generateHiddenAPIBuildActions generates all the hidden API related build rules. |
Paul Duffin | 9b381ef | 2021-04-08 23:01:37 +0100 | [diff] [blame] | 192 | func (b *platformBootclasspathModule) generateHiddenAPIBuildActions(ctx android.ModuleContext, modules []android.Module, fragments []android.Module) { |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 193 | |
Paul Duffin | 90b8ad3 | 2021-04-13 12:25:01 +0100 | [diff] [blame] | 194 | // Save the paths to the monolithic files for retrieval via OutputFiles(). |
| 195 | b.hiddenAPIFlagsCSV = hiddenAPISingletonPaths(ctx).flags |
| 196 | b.hiddenAPIIndexCSV = hiddenAPISingletonPaths(ctx).index |
| 197 | b.hiddenAPIMetadataCSV = hiddenAPISingletonPaths(ctx).metadata |
Paul Duffin | 6a76645 | 2021-04-12 14:15:22 +0100 | [diff] [blame] | 198 | |
Paul Duffin | 0b65986 | 2021-04-13 13:02:29 +0100 | [diff] [blame] | 199 | // Don't run any hiddenapi rules if UNSAFE_DISABLE_HIDDENAPI_FLAGS=true. This is a performance |
| 200 | // optimization that can be used to reduce the incremental build time but as its name suggests it |
| 201 | // can be unsafe to use, e.g. when the changes affect anything that goes on the bootclasspath. |
| 202 | if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") { |
| 203 | paths := android.OutputPaths{b.hiddenAPIFlagsCSV, b.hiddenAPIIndexCSV, b.hiddenAPIMetadataCSV} |
| 204 | for _, path := range paths { |
| 205 | ctx.Build(pctx, android.BuildParams{ |
| 206 | Rule: android.Touch, |
| 207 | Output: path, |
| 208 | }) |
| 209 | } |
| 210 | return |
| 211 | } |
| 212 | |
Paul Duffin | 1ba2467 | 2021-04-12 23:26:14 +0100 | [diff] [blame] | 213 | hiddenAPISupportingModules := []hiddenAPISupportingModule{} |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 214 | for _, module := range modules { |
Paul Duffin | 1ba2467 | 2021-04-12 23:26:14 +0100 | [diff] [blame] | 215 | if h, ok := module.(hiddenAPISupportingModule); ok { |
| 216 | if h.bootDexJar() == nil { |
| 217 | ctx.ModuleErrorf("module %s does not provide a bootDexJar file", module) |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 218 | } |
Paul Duffin | 1ba2467 | 2021-04-12 23:26:14 +0100 | [diff] [blame] | 219 | if h.flagsCSV() == nil { |
| 220 | ctx.ModuleErrorf("module %s does not provide a flagsCSV file", module) |
| 221 | } |
| 222 | if h.indexCSV() == nil { |
| 223 | ctx.ModuleErrorf("module %s does not provide an indexCSV file", module) |
| 224 | } |
| 225 | if h.metadataCSV() == nil { |
| 226 | ctx.ModuleErrorf("module %s does not provide a metadataCSV file", module) |
| 227 | } |
| 228 | |
| 229 | if ctx.Failed() { |
| 230 | continue |
| 231 | } |
| 232 | |
| 233 | hiddenAPISupportingModules = append(hiddenAPISupportingModules, h) |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 234 | } else { |
Paul Duffin | 1ba2467 | 2021-04-12 23:26:14 +0100 | [diff] [blame] | 235 | ctx.ModuleErrorf("module %s of type %s does not support hidden API processing", module, ctx.OtherModuleType(module)) |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 236 | } |
| 237 | } |
| 238 | |
Paul Duffin | 1ba2467 | 2021-04-12 23:26:14 +0100 | [diff] [blame] | 239 | moduleSpecificFlagsPaths := android.Paths{} |
| 240 | for _, module := range hiddenAPISupportingModules { |
| 241 | moduleSpecificFlagsPaths = append(moduleSpecificFlagsPaths, module.flagsCSV()) |
| 242 | } |
| 243 | |
Paul Duffin | 9b381ef | 2021-04-08 23:01:37 +0100 | [diff] [blame] | 244 | flagFileInfo := b.properties.Hidden_api.hiddenAPIFlagFileInfo(ctx) |
| 245 | for _, fragment := range fragments { |
| 246 | if ctx.OtherModuleHasProvider(fragment, hiddenAPIFlagFileInfoProvider) { |
| 247 | info := ctx.OtherModuleProvider(fragment, hiddenAPIFlagFileInfoProvider).(hiddenAPIFlagFileInfo) |
| 248 | flagFileInfo.append(info) |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | // Store the information for testing. |
| 253 | ctx.SetProvider(hiddenAPIFlagFileInfoProvider, flagFileInfo) |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 254 | |
| 255 | outputPath := hiddenAPISingletonPaths(ctx).flags |
| 256 | baseFlagsPath := hiddenAPISingletonPaths(ctx).stubFlags |
Paul Duffin | 9b381ef | 2021-04-08 23:01:37 +0100 | [diff] [blame] | 257 | ruleToGenerateHiddenApiFlags(ctx, outputPath, baseFlagsPath, moduleSpecificFlagsPaths, flagFileInfo) |
Paul Duffin | 00b2bfd | 2021-04-12 17:24:36 +0100 | [diff] [blame] | 258 | |
Paul Duffin | 74431d5 | 2021-04-21 14:10:42 +0100 | [diff] [blame] | 259 | b.generateHiddenAPIStubFlagsRules(ctx, hiddenAPISupportingModules) |
Paul Duffin | 00b2bfd | 2021-04-12 17:24:36 +0100 | [diff] [blame] | 260 | b.generateHiddenAPIIndexRules(ctx, hiddenAPISupportingModules) |
Paul Duffin | 85dee5d | 2021-04-13 00:14:38 +0100 | [diff] [blame] | 261 | b.generatedHiddenAPIMetadataRules(ctx, hiddenAPISupportingModules) |
Paul Duffin | 00b2bfd | 2021-04-12 17:24:36 +0100 | [diff] [blame] | 262 | } |
| 263 | |
Paul Duffin | 74431d5 | 2021-04-21 14:10:42 +0100 | [diff] [blame] | 264 | func (b *platformBootclasspathModule) generateHiddenAPIStubFlagsRules(ctx android.ModuleContext, modules []hiddenAPISupportingModule) { |
| 265 | bootDexJars := android.Paths{} |
| 266 | for _, module := range modules { |
| 267 | bootDexJars = append(bootDexJars, module.bootDexJar()) |
| 268 | } |
| 269 | |
| 270 | sdkKindToStubPaths := hiddenAPIGatherStubLibDexJarPaths(ctx) |
| 271 | |
| 272 | outputPath := hiddenAPISingletonPaths(ctx).stubFlags |
| 273 | rule := ruleToGenerateHiddenAPIStubFlagsFile(ctx, outputPath, bootDexJars, sdkKindToStubPaths) |
| 274 | rule.Build("platform-bootclasspath-monolithic-hiddenapi-stub-flags", "monolithic hidden API stub flags") |
| 275 | } |
| 276 | |
Paul Duffin | 00b2bfd | 2021-04-12 17:24:36 +0100 | [diff] [blame] | 277 | func (b *platformBootclasspathModule) generateHiddenAPIIndexRules(ctx android.ModuleContext, modules []hiddenAPISupportingModule) { |
| 278 | indexes := android.Paths{} |
| 279 | for _, module := range modules { |
| 280 | indexes = append(indexes, module.indexCSV()) |
| 281 | } |
| 282 | |
| 283 | rule := android.NewRuleBuilder(pctx, ctx) |
| 284 | rule.Command(). |
| 285 | BuiltTool("merge_csv"). |
| 286 | Flag("--key_field signature"). |
| 287 | FlagWithArg("--header=", "signature,file,startline,startcol,endline,endcol,properties"). |
| 288 | FlagWithOutput("--output=", hiddenAPISingletonPaths(ctx).index). |
| 289 | Inputs(indexes) |
| 290 | rule.Build("platform-bootclasspath-monolithic-hiddenapi-index", "monolithic hidden API index") |
Paul Duffin | 702210b | 2021-04-08 20:12:41 +0100 | [diff] [blame] | 291 | } |
Paul Duffin | 85dee5d | 2021-04-13 00:14:38 +0100 | [diff] [blame] | 292 | |
| 293 | func (b *platformBootclasspathModule) generatedHiddenAPIMetadataRules(ctx android.ModuleContext, modules []hiddenAPISupportingModule) { |
| 294 | metadataCSVFiles := android.Paths{} |
| 295 | for _, module := range modules { |
| 296 | metadataCSVFiles = append(metadataCSVFiles, module.metadataCSV()) |
| 297 | } |
| 298 | |
| 299 | rule := android.NewRuleBuilder(pctx, ctx) |
| 300 | |
| 301 | outputPath := hiddenAPISingletonPaths(ctx).metadata |
| 302 | |
| 303 | rule.Command(). |
| 304 | BuiltTool("merge_csv"). |
| 305 | Flag("--key_field signature"). |
| 306 | FlagWithOutput("--output=", outputPath). |
| 307 | Inputs(metadataCSVFiles) |
| 308 | |
| 309 | rule.Build("platform-bootclasspath-monolithic-hiddenapi-metadata", "monolithic hidden API metadata") |
| 310 | } |