Lines Matching refs:b
56 func (b bootclasspathFragmentContentDependencyTag) ExcludeFromVisibilityEnforcement() {
60 func (b bootclasspathFragmentContentDependencyTag) ReplaceSourceWithPrebuilt() bool {
66 func (b bootclasspathFragmentContentDependencyTag) SdkMemberType(child android.Module) android.SdkM…
76 func (b bootclasspathFragmentContentDependencyTag) ExportMember() bool {
82 func (b bootclasspathFragmentContentDependencyTag) CopyDirectlyInAnyApex() {}
85 func (b bootclasspathFragmentContentDependencyTag) RequiresFilesFromPrebuiltApex() {}
271 func (b *BootclasspathFragmentModule) bootclasspathImageNameContentsConsistencyCheck(ctx android.Ba…
272 imageName := proptools.String(b.properties.Image_name)
275 if android.IsModuleInVersionedSdk(b) {
288 modules := b.getImageConfig(ctx).modules
297 contents := b.properties.Contents
348 func (b *BootclasspathFragmentModule) DepIsInSameApex(ctx android.BaseModuleContext, dep android.Mo…
358 …panic(fmt.Errorf("boot_image module %q should not have a dependency on %q via tag %s", b, dep, and…
361 func (b *BootclasspathFragmentModule) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVer…
369 func (b *BootclasspathFragmentModule) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
373 for _, name := range b.properties.Contents {
386 func (b *BootclasspathFragmentModule) DepsMutator(ctx android.BottomUpMutatorContext) {
389 hiddenAPIAddStubLibDependencies(ctx, b.properties.apiScopeToStubLibs())
391 for _, additionalStubModule := range b.properties.Additional_stubs {
409 func (b *BootclasspathFragmentModule) BootclasspathDepsMutator(ctx android.BottomUpMutatorContext) {
411 b.properties.BootclasspathFragmentsDepsProperties.addDependenciesOntoFragments(ctx)
414 func (b *BootclasspathFragmentModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
419 b.bootclasspathImageNameContentsConsistencyCheck(ctx)
423 b.generateClasspathProtoBuildActions(ctx)
438 imageConfig := b.getImageConfig(ctx)
446 hiddenAPIOutput := b.generateHiddenAPIBuildActions(ctx, contents, fragments)
467 b.provideApexContentInfo(ctx, imageConfig, hiddenAPIOutput, bootImageFilesByArch)
497 func (b *BootclasspathFragmentModule) provideApexContentInfo(ctx android.ModuleContext, imageConfig…
515 func (b *BootclasspathFragmentModule) generateClasspathProtoBuildActions(ctx android.ModuleContext)…
517 if "art" == proptools.String(b.properties.Image_name) {
519 …classpathJars = configuredJarListToClasspathJars(ctx, b.ClasspathFragmentToConfiguredJarList(ctx),…
521 …lasspathJars = configuredJarListToClasspathJars(ctx, b.ClasspathFragmentToConfiguredJarList(ctx), …
523 b.classpathFragmentBase().generateClasspathProtoBuildActions(ctx, classpathJars)
526 func (b *BootclasspathFragmentModule) ClasspathFragmentToConfiguredJarList(ctx android.ModuleContex…
527 if "art" == proptools.String(b.properties.Image_name) {
528 return b.getImageConfig(ctx).modules
533 …possibleUpdatableModules := gatherPossibleUpdatableModuleNamesAndStems(ctx, b.properties.Contents,…
550 func (b *BootclasspathFragmentModule) getImageConfig(ctx android.EarlyModuleContext) *bootImageConf…
555 imageNamePtr := b.properties.Image_name
570 func (b *BootclasspathFragmentModule) generateHiddenAPIBuildActions(ctx android.ModuleContext, cont…
573 input := b.createHiddenAPIFlagInput(ctx, contents, fragments)
620 func (b *BootclasspathFragmentModule) createHiddenAPIFlagInput(ctx android.ModuleContext, contents …
632 input.extractFlagFilesFromProperties(ctx, &b.properties.Hidden_api)
642 func (b *BootclasspathFragmentModule) produceHiddenAPIOutput(ctx android.ModuleContext, contents []…
649 func (b *BootclasspathFragmentModule) produceBootImageFiles(ctx android.ModuleContext, imageConfig …
655 return b.generateBootImageBuildActions(ctx, imageConfig)
663 func (b *BootclasspathFragmentModule) generateBootImageBuildActions(ctx android.ModuleContext, imag…
698 func (b *bootclasspathFragmentMemberType) AddDependencies(mctx android.BottomUpMutatorContext, depe…
702 func (b *bootclasspathFragmentMemberType) IsInstance(module android.Module) bool {
707 func (b *bootclasspathFragmentMemberType) AddPrebuiltModule(ctx android.SdkMemberContext, member an…
708 if b.PropertyName == "boot_images" {
715 func (b *bootclasspathFragmentMemberType) CreateVariantPropertiesStruct() android.SdkMemberProperti…
751 func (b *bootclasspathFragmentSdkMemberProperties) PopulateFromVariant(ctx android.SdkMemberContext…
754 b.Image_name = module.properties.Image_name
755 b.Contents = module.properties.Contents
760 b.Flag_files_by_category = hiddenAPIInfo.FlagFilesByCategory
763 b.Stub_flags_path = android.OptionalPathForPath(hiddenAPIInfo.StubFlagsPath)
764 b.Annotation_flags_path = android.OptionalPathForPath(hiddenAPIInfo.AnnotationFlagsPath)
765 b.Metadata_path = android.OptionalPathForPath(hiddenAPIInfo.MetadataPath)
766 b.Index_path = android.OptionalPathForPath(hiddenAPIInfo.IndexPath)
767 b.All_flags_path = android.OptionalPathForPath(hiddenAPIInfo.AllFlagsPath)
770 b.Stub_libs = module.properties.Api.Stub_libs
771 b.Core_platform_stub_libs = module.properties.Core_platform_api.Stub_libs
774 func (b *bootclasspathFragmentSdkMemberProperties) AddToPropertySet(ctx android.SdkMemberContext, p…
775 if b.Image_name != nil {
776 propertySet.AddProperty("image_name", *b.Image_name)
782 if len(b.Contents) > 0 {
783 propertySet.AddPropertyWithTag("contents", b.Contents, requiredMemberDependency)
786 if len(b.Stub_libs) > 0 {
788 apiPropertySet.AddPropertyWithTag("stub_libs", b.Stub_libs, requiredMemberDependency)
790 if len(b.Core_platform_stub_libs) > 0 {
792 …corePlatformApiPropertySet.AddPropertyWithTag("stub_libs", b.Core_platform_stub_libs, requiredMemb…
799 if b.Flag_files_by_category != nil {
801 paths := b.Flag_files_by_category[category]
824 copyOptionalPath(b.Stub_flags_path, "stub_flags")
825 copyOptionalPath(b.Annotation_flags_path, "annotation_flags")
826 copyOptionalPath(b.Metadata_path, "metadata")
827 copyOptionalPath(b.Index_path, "index")
828 copyOptionalPath(b.All_flags_path, "all_flags")