Lines Matching refs:entries
45 func(entries *android.AndroidMkEntries) {
46 entries.SetBool("LOCAL_IS_HOST_MODULE", true)
47 entries.SetPath("LOCAL_PREBUILT_MODULE_FILE", output)
49 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile)
51 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile)
52 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", library.implementationAndResourcesJar)
53 entries.SetString("LOCAL_MODULE_STEM", library.Stem()+"-hostdex")
85 func(entries *android.AndroidMkEntries) {
86 entries.AddStrings("LOCAL_ADDITIONAL_CHECKED_MODULE", checkedModulePaths.Strings()...)
98 func(entries *android.AndroidMkEntries) {
104 entries.AddStrings("LOCAL_LOGTAGS_FILES", logtags...)
108 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", true)
111 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile)
114 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", library.dexpreopter.builtInstalled)
116 entries.SetString("LOCAL_SDK_VERSION", library.sdkVersion().raw)
117 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", library.implementationAndResourcesJar)
118 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile)
121 entries.SetPath("LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR", library.jacocoReportClassesFile)
124 entries.AddStrings("LOCAL_EXPORT_SDK_LIBRARIES", library.exportedSdkLibs...)
127 …entries.AddStrings("LOCAL_ADDITIONAL_CHECKED_MODULE", library.additionalCheckedModules.Strings()..…
131 entries.SetPath("LOCAL_SOONG_PROGUARD_DICT", library.proguardDictionary)
133 entries.SetString("LOCAL_MODULE_STEM", library.Stem())
135 entries.SetOptionalPaths("LOCAL_SOONG_LINT_REPORTS", library.linter.reports)
148 func testSuiteComponent(entries *android.AndroidMkEntries, test_suites []string) {
149 entries.SetString("LOCAL_MODULE_TAGS", "tests")
151 entries.AddStrings("LOCAL_COMPATIBILITY_SUITE", test_suites...)
153 entries.SetString("LOCAL_COMPATIBILITY_SUITE", "null-suite")
159 entries := &entriesList[0]
160 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
161 testSuiteComponent(entries, j.testProperties.Test_suites)
163 entries.SetPath("LOCAL_FULL_TEST_CONFIG", j.testConfig)
165 androidMkWriteTestData(j.data, entries)
167 entries.SetString("LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG", "true")
176 entries := &entriesList[0]
177 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
178 testSuiteComponent(entries, j.testHelperLibraryProperties.Test_suites)
195 func(entries *android.AndroidMkEntries) {
196 entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", !Bool(prebuilt.properties.Installable))
197 entries.SetPath("LOCAL_SOONG_HEADER_JAR", prebuilt.combinedClasspathFile)
198 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", prebuilt.combinedClasspathFile)
199 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion().raw)
200 entries.SetString("LOCAL_MODULE_STEM", prebuilt.Stem())
217 func(entries *android.AndroidMkEntries) {
219 entries.SetPath("LOCAL_SOONG_DEX_JAR", prebuilt.dexJarFile)
222 entries.SetPath("LOCAL_SOONG_HEADER_JAR", prebuilt.dexJarFile)
223 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", prebuilt.dexJarFile)
226 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", prebuilt.dexpreopter.builtInstalled)
228 entries.SetString("LOCAL_MODULE_STEM", prebuilt.Stem())
245 func(entries *android.AndroidMkEntries) {
246 entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true)
247 entries.SetPath("LOCAL_SOONG_HEADER_JAR", prebuilt.classpathFile)
248 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", prebuilt.classpathFile)
249 entries.SetPath("LOCAL_SOONG_RESOURCE_EXPORT_PACKAGE", prebuilt.exportPackage)
250 entries.SetPath("LOCAL_SOONG_EXPORT_PROGUARD_FLAGS", prebuilt.proguardFlags)
251 entries.SetPath("LOCAL_SOONG_STATIC_LIBRARY_EXTRA_PACKAGES", prebuilt.extraAaptPackagesFile)
252 entries.SetPath("LOCAL_FULL_MANIFEST_FILE", prebuilt.manifest)
253 entries.SetString("LOCAL_SDK_VERSION", prebuilt.sdkVersion().raw)
267 func(entries *android.AndroidMkEntries) {
268 entries.SetPath("LOCAL_SOONG_HEADER_JAR", binary.headerJarFile)
269 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", binary.implementationAndResourcesJar)
271 entries.SetPath("LOCAL_SOONG_DEX_JAR", binary.dexJarFile)
274 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", binary.dexpreopter.builtInstalled)
279 func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
289 func(entries *android.AndroidMkEntries) {
290 entries.SetBool("LOCAL_STRIP_MODULE", false)
294 func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
315 func(entries *android.AndroidMkEntries) {
317 entries.SetString("LOCAL_MODULE", app.installApkName)
318 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", app.appProperties.PreventInstall)
319 entries.SetPath("LOCAL_SOONG_RESOURCE_EXPORT_PACKAGE", app.exportPackage)
321 entries.SetPath("LOCAL_SOONG_DEX_JAR", app.dexJarFile)
324 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", app.implementationAndResourcesJar)
327 entries.SetPath("LOCAL_SOONG_HEADER_JAR", app.headerJarFile)
330 entries.SetPath("LOCAL_SOONG_BUNDLE", app.bundleFile)
333 entries.SetPath("LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR", app.jacocoReportClassesFile)
336 entries.SetPath("LOCAL_SOONG_PROGUARD_DICT", app.proguardDictionary)
340 entries.SetString("LOCAL_MODULE_PATH", "$(TARGET_OUT_JAVA_LIBRARIES)")
343 entries.SetBoolIfTrue("LOCAL_NO_STANDARD_LIBRARIES", true)
359 entries.AddStrings("LOCAL_SOONG_DEVICE_RRO_DIRS", deviceRRODirs.Strings()...)
363 entries.AddStrings("LOCAL_SOONG_PRODUCT_RRO_DIRS", productRRODirs.Strings()...)
366 …entries.SetBoolIfTrue("LOCAL_EXPORT_PACKAGE_RESOURCES", Bool(app.appProperties.Export_package_reso…
368 entries.SetPath("LOCAL_FULL_MANIFEST_FILE", app.manifestPath)
370 entries.SetBoolIfTrue("LOCAL_PRIVILEGED_MODULE", app.Privileged())
372 entries.SetString("LOCAL_CERTIFICATE", app.certificate.AndroidMkString())
373 entries.AddStrings("LOCAL_OVERRIDES_PACKAGES", app.getOverriddenPackages()...)
377 entries.SetString("LOCAL_SOONG_JNI_LIBS_SYMBOLS", jniSymbols.String())
380 entries.AddStrings("LOCAL_SOONG_JNI_LIBS_"+jniLib.target.Arch.ArchType.String(), jniLib.name)
385 entries.AddStrings("LOCAL_PREBUILT_COVERAGE_ARCHIVE", app.jniCoverageOutputs.Strings()...)
388 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", app.dexpreopter.builtInstalled)
392 entries.AddStrings("LOCAL_SOONG_BUILT_INSTALLED", extra.String()+":"+install)
395 entries.SetOptionalPaths("LOCAL_SOONG_LINT_REPORTS", app.linter.reports)
399 func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
430 entries := &entriesList[0]
431 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
432 testSuiteComponent(entries, a.testProperties.Test_suites)
434 entries.SetPath("LOCAL_FULL_TEST_CONFIG", a.testConfig)
436 androidMkWriteTestData(a.data, entries)
444 entries := &entriesList[0]
445 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
446 testSuiteComponent(entries, a.appTestHelperAppProperties.Test_suites)
459 entries := &entriesList[0]
461 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
463 entries.SetPath("LOCAL_SOONG_AAR", a.aarFile)
467 entries.SetString("LOCAL_MODULE_PATH", "$(TARGET_OUT_JAVA_LIBRARIES)")
470 entries.SetBoolIfTrue("LOCAL_NO_STANDARD_LIBRARIES", true)
473 entries.SetPath("LOCAL_SOONG_RESOURCE_EXPORT_PACKAGE", a.exportPackage)
474 entries.SetPath("LOCAL_SOONG_STATIC_LIBRARY_EXTRA_PACKAGES", a.extraAaptPackagesFile)
475 entries.SetPath("LOCAL_FULL_MANIFEST_FILE", a.mergedManifestFile)
476 entries.AddStrings("LOCAL_SOONG_EXPORT_PROGUARD_FLAGS", a.exportedProguardFlagFiles.Strings()...)
477 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", true)
489 func(entries *android.AndroidMkEntries) {
491 entries.SetPath("LOCAL_DROIDDOC_DOC_ZIP", jd.docZip)
494 entries.SetPath("LOCAL_DROIDDOC_STUBS_SRCJAR", jd.stubsSrcJar)
507 func(entries *android.AndroidMkEntries) {
509 entries.SetPath("LOCAL_DROIDDOC_DOC_ZIP", ddoc.Javadoc.docZip)
512 entries.SetPath("LOCAL_DROIDDOC_STUBS_SRCJAR", ddoc.Javadoc.stubsSrcJar)
517 func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
574 func(entries *android.AndroidMkEntries) {
576 entries.SetPath("LOCAL_DROIDDOC_STUBS_SRCJAR", dstubs.Javadoc.stubsSrcJar)
579 entries.SetPath("LOCAL_DROIDDOC_API_VERSIONS_XML", dstubs.apiVersionsXml)
582 entries.SetPath("LOCAL_DROIDDOC_ANNOTATIONS_ZIP", dstubs.annotationsZip)
585 entries.SetPath("LOCAL_DROIDDOC_JDIFF_DOC_ZIP", dstubs.jdiffDocZip)
588 entries.SetPath("LOCAL_DROIDDOC_METADATA_ZIP", dstubs.metadataZip)
593 func(w io.Writer, name, prefix, moduleDir string, entries *android.AndroidMkEntries) {
676 func(entries *android.AndroidMkEntries) {
677 entries.SetBoolIfTrue("LOCAL_PRIVILEGED_MODULE", a.Privileged())
678 entries.SetString("LOCAL_CERTIFICATE", a.certificate.AndroidMkString())
679 entries.AddStrings("LOCAL_OVERRIDES_PACKAGES", a.properties.Overrides...)
681 entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", a.dexpreopter.builtInstalled)
683 entries.AddStrings("LOCAL_INSTALLED_MODULE_STEM", a.installPath.Rel())
691 entries := &entriesList[0]
692 entries.ExtraEntries = append(entries.ExtraEntries, func(entries *android.AndroidMkEntries) {
693 testSuiteComponent(entries, a.testProperties.Test_suites)
694 androidMkWriteTestData(a.data, entries)
699 func androidMkWriteTestData(data android.Paths, entries *android.AndroidMkEntries) {
704 entries.AddStrings("LOCAL_COMPATIBILITY_SUPPORT_FILES", testFiles...)
713 func(entries *android.AndroidMkEntries) {
714 entries.SetString("LOCAL_CERTIFICATE", r.certificate.AndroidMkString())
715 entries.SetPath("LOCAL_MODULE_PATH", r.installDir.ToMakePath())
716 entries.AddStrings("LOCAL_OVERRIDES_PACKAGES", r.properties.Overrides...)
729 func(entries *android.AndroidMkEntries) {
730 entries.SetBoolIfTrue("LOCAL_PRIVILEGED_MODULE", apkSet.Privileged())
731 entries.SetString("LOCAL_APK_SET_INSTALL_FILE", apkSet.InstallFile())
732 entries.SetPath("LOCAL_APKCERTS_FILE", apkSet.apkcertsFile)
733 entries.AddStrings("LOCAL_OVERRIDES_PACKAGES", apkSet.properties.Overrides...)