Lines Matching refs:d
84 func (d *DeviceForHost) DepsMutator(ctx android.BottomUpMutatorContext) {
86 deviceHostConverterDepTag, d.properties.Libs...)
89 func (d *HostForDevice) DepsMutator(ctx android.BottomUpMutatorContext) {
91 deviceHostConverterDepTag, d.properties.Libs...)
94 func (d *DeviceHostConverter) GenerateAndroidBuildActions(ctx android.ModuleContext) {
95 if len(d.properties.Libs) < 1 {
102 d.headerJars = append(d.headerJars, dep.HeaderJars...)
103 d.implementationJars = append(d.implementationJars, dep.ImplementationJars...)
104 …d.implementationAndResourceJars = append(d.implementationAndResourceJars, dep.ImplementationAndRes…
105 d.resourceJars = append(d.resourceJars, dep.ResourceJars...)
107 d.srcJarArgs = append(d.srcJarArgs, dep.SrcJarArgs...)
108 d.srcJarDeps = append(d.srcJarDeps, dep.SrcJarDeps...)
116 if len(d.implementationAndResourceJars) > 1 {
118 TransformJarsToJar(ctx, outputFile, "combine", d.implementationAndResourceJars,
120 d.combinedImplementationJar = outputFile
122 d.combinedImplementationJar = d.implementationAndResourceJars[0]
125 if len(d.headerJars) > 1 {
127 TransformJarsToJar(ctx, outputFile, "turbine combine", d.headerJars,
129 d.combinedHeaderJar = outputFile
131 d.combinedHeaderJar = d.headerJars[0]
135 HeaderJars: d.headerJars,
136 ImplementationAndResourcesJars: d.implementationAndResourceJars,
137 ImplementationJars: d.implementationJars,
138 ResourceJars: d.resourceJars,
139 SrcJarArgs: d.srcJarArgs,
140 SrcJarDeps: d.srcJarDeps,
145 func (d *DeviceHostConverter) HeaderJars() android.Paths {
146 return d.headerJars
149 func (d *DeviceHostConverter) ImplementationAndResourcesJars() android.Paths {
150 return d.implementationAndResourceJars
153 func (d *DeviceHostConverter) DexJarBuildPath() android.Path {
157 func (d *DeviceHostConverter) DexJarInstallPath() android.Path {
161 func (d *DeviceHostConverter) AidlIncludeDirs() android.Paths {
165 func (d *DeviceHostConverter) ClassLoaderContexts() dexpreopt.ClassLoaderContextMap {
169 func (d *DeviceHostConverter) JacocoReportClassesFile() android.Path {
173 func (d *DeviceHostConverter) AndroidMk() android.AndroidMkData {
176 OutputFile: android.OptionalPathForPath(d.combinedImplementationJar),
181 fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", d.combinedHeaderJar.String())
182 fmt.Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", d.combinedImplementationJar.String())