Lines Matching refs:d

77 func (d *dexpreopter) dexpreoptDisabled(ctx android.BaseModuleContext) bool {
88 if d.isTest {
92 if !BoolDefault(d.dexpreoptProperties.Dex_preopt.Enabled, true) {
115 if d, ok := ctx.Module().(dexpreopterInterface); !ok || d.dexpreoptDisabled(ctx) {
125 func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.WritablePath) {
130 if d.installPath.Base() == "." {
134 dexLocation := android.InstallPathToOnDevicePath(ctx, d.installPath)
147 if (d.isApp || d.isTest) && d.dexpreoptDisabled(ctx) {
171 if isSystemServerJar && !d.isSDKLibrary {
192 if BoolDefault(d.dexpreoptProperties.Dex_preopt.Profile_guided, true) {
195 if String(d.dexpreoptProperties.Dex_preopt.Profile) != "" {
197 android.PathForModuleSrc(ctx, String(d.dexpreoptProperties.Dex_preopt.Profile)))
199 ctx.ModuleDir(), String(d.dexpreoptProperties.Dex_preopt.Profile)+"-boot")
213 ManifestPath: android.OptionalPathForPath(d.manifestFile),
214 UncompressedDex: d.uncompressedDex,
223 EnforceUsesLibraries: d.enforceUsesLibs,
225 ClassLoaderContexts: d.classLoaderContexts,
237 NoCreateAppImage: !BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, true),
238 ForceCreateAppImage: BoolDefault(d.dexpreoptProperties.Dex_preopt.App_image, false),
240 PresignedPrebuilt: d.isPresignedPrebuilt,
243 d.configPath = android.PathForModuleOut(ctx, "dexpreopt", "dexpreopt.config")
244 dexpreopt.WriteModuleConfig(ctx, dexpreoptConfig, d.configPath)
246 if d.dexpreoptDisabled(ctx) {
260 d.builtInstalled = dexpreoptRule.Installs().String()