Home
last modified time | relevance | path

Searched refs:jar (Results 1 – 25 of 122) sorted by relevance

12345

/build/soong/android/
Dconfigured_jars_test.go31 apex, jar := OverrideConfiguredJarLocationFor(cfg, "platform", "libfoo-old")
33 AssertStringEquals(t, "", "libfoo-new", jar)
35 apex, jar = OverrideConfiguredJarLocationFor(cfg, "platform", "libbar-old")
37 AssertStringEquals(t, "", "libbar-old", jar)
39 apex, jar = OverrideConfiguredJarLocationFor(cfg, "com.android.bar", "libbar-old")
41 AssertStringEquals(t, "", "libbar-new", jar)
43 apex, jar = OverrideConfiguredJarLocationFor(cfg, "platform", "libbar-old")
45 AssertStringEquals(t, "", "libbar-old", jar)
Dconfigured_jars.go60 func (l *ConfiguredJarList) ContainsJar(jar string) bool {
61 return InList(jar, l.jars)
65 func (l *ConfiguredJarList) containsApexJarPair(apex, jar string) bool {
67 if apex == l.apexes[i] && jar == l.jars[i] {
76 func (l *ConfiguredJarList) ApexOfJar(jar string) string {
77 if idx := IndexList(jar, l.jars); idx != -1 {
78 return l.Apex(IndexList(jar, l.jars))
85 func (l *ConfiguredJarList) IndexOfJar(jar string) int {
86 return IndexList(jar, l.jars)
103 func (l *ConfiguredJarList) Append(apex string, jar string) ConfiguredJarList {
[all …]
/build/make/core/
Djava_library.mk26 LOCAL_BUILT_MODULE_STEM := javalib.jar
33 common_javalib.jar := $(intermediates.COMMON)/javalib.jar
34 dex_preopt_profile_src_file := $(common_javalib.jar)
35 LOCAL_INTERMEDIATE_TARGETS += $(common_javalib.jar)
54 my_dex_jar := $(common_javalib.jar)
63 $(eval $(call copy-one-file,$(full_classes_pre_proguard_jar),$(common_javalib.jar)))
69 $(common_javalib.jar): PRIVATE_DEX_FILE := $(built_dex)
70 $(common_javalib.jar): PRIVATE_SOURCE_ARCHIVE := $(full_classes_pre_proguard_jar)
71 $(common_javalib.jar): $(MERGE_ZIPS) $(SOONG_ZIP) $(ZIP2ZIP)
72 $(common_javalib.jar) : $(full_classes_pre_proguard_jar) $(built_dex) $(java_resource_sources) | $(…
[all …]
Dsoong_java_prebuilt.mk14 LOCAL_MODULE_SUFFIX := .jar
15 LOCAL_BUILT_MODULE_STEM := javalib.jar
19 full_classes_jar := $(intermediates.COMMON)/classes.jar
20 full_classes_pre_proguard_jar := $(intermediates.COMMON)/classes-pre-proguard.jar
21 full_classes_header_jar := $(intermediates.COMMON)/classes-header.jar
22 common_javalib.jar := $(intermediates.COMMON)/javalib.jar
59 $(call local-packaging-dir,jacoco)/jacoco-report-classes.jar))
60 $(call add-dependency,$(common_javalib.jar),\
61 $(call local-packaging-dir,jacoco)/jacoco-report-classes.jar)
76 -e out/target/common/obj/$(LOCAL_MODULE_CLASS)/$(LOCAL_MODULE)_intermediates/classes.jar \
[all …]
Djacoco.mk68 my_classes_to_report_on_path := $(my_files)/report-resources/jacoco-report-classes.jar
77 $(call local-packaging-dir,jacoco)/jacoco-report-classes.jar))
79 $(call local-packaging-dir,jacoco)/jacoco-report-classes.jar)
90 java -jar $(JACOCO_CLI_JAR) \
100 my_temp_jar_path := $(my_files)/work/usable.jar
101 LOCAL_FULL_CLASSES_JACOCO_JAR := $(intermediates.COMMON)/classes-jacoco.jar
111 …$(JAR) -uf $(PRIVATE_TEMP_JAR_PATH) $(call jar-args-sorted-files-in-directory,$(PRIVATE_INSTRUMENT…
Djava.mk38 ifneq ($(filter classes-compiled.jar classes.jar,$(LOCAL_BUILT_MODULE_STEM)),)
55 full_classes_turbine_jar := $(intermediates.COMMON)/classes-turbine.jar
56 full_classes_header_jarjar := $(intermediates.COMMON)/classes-header-jarjar.jar
57 full_classes_header_jar := $(intermediates.COMMON)/classes-header.jar
58 full_classes_compiled_jar := $(intermediates.COMMON)/classes-full-debug.jar
59 full_classes_processed_jar := $(intermediates.COMMON)/classes-processed.jar
60 full_classes_jarjar_jar := $(intermediates.COMMON)/classes-jarjar.jar
61 full_classes_combined_jar := $(intermediates.COMMON)/classes-combined.jar
63 full_classes_stubs_jar := $(intermediates.COMMON)/stubs.jar
71 full_classes_jar := $(intermediates.COMMON)/classes.jar
[all …]
Dhost_java_library.mk34 full_classes_compiled_jar := $(intermediates.COMMON)/classes-full-debug.jar
35 full_classes_jarjar_jar := $(intermediates.COMMON)/classes-jarjar.jar
36 full_classes_jar := $(intermediates.COMMON)/classes.jar
38 full_classes_header_jar := $(intermediates.COMMON)/classes-header.jar
39 full_classes_combined_jar := $(intermediates.COMMON)/classes-combined.jar
Djava_prebuilt_internal.mk63 common_classes_jar := $(intermediates.COMMON)/classes.jar
64 common_header_jar := $(intermediates.COMMON)/classes-header.jar
80 common_classes_jar := $(intermediates.COMMON)/classes.jar
81 common_header_jar := $(intermediates.COMMON)/classes-header.jar
82 common_classes_pre_proguard_jar := $(intermediates.COMMON)/classes-pre-proguard.jar
83 common_javalib_jar := $(intermediates.COMMON)/javalib.jar
118 my_src_jar := $(intermediates.COMMON)/aar/classes.jar
168 $(call resolve-prebuilt-sdk-jar-path,$(LOCAL_SDK_RES_VERSION))
Ddex_preopt.mk76 $(PRODUCT_OUT)/system/framework/$(call word-colon,2,$(m)).jar)
83 $(PRODUCT_OUT)/$(call word-colon,1,$(m))/framework/$(call word-colon,2,$(m)).jar)
132 $(system_server_dex2oat_dir)/$(call word-colon,2,$(m)).jar)
136 $(system_server_dex2oat_dir)/$(call word-colon,2,$(m)).jar)
140 $(system_server_dex2oat_dir)/$(call word-colon,2,$(m)).jar)
144 $(system_server_dex2oat_dir)/$(call word-colon,2,$(m)).jar)
/build/bazel/rules/kotlin/
Dkotlinc.BUILD21 jars = ["lib/annotations-13.0.jar"],
26 jars = ["lib/jvm-abi-gen.jar"],
31 jars = ["lib/kotlin-annotation-processing.jar"],
45 "lib/kotlin-compiler.jar",
46 "lib/kotlin-stdlib.jar",
47 "lib/trove4j.jar",
59 # jars = ["lib/kotlin-compiler.jar"]
60 # srcjar = "lib/kotlin-compiler-sources.jar",
65 jars = ["lib/kotlin-reflect.jar"],
66 srcjar = "lib/kotlin-reflect-sources.jar",
[all …]
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go40 A = testZipEntry{"A", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
41 a = testZipEntry{"a", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
42 a2 = testZipEntry{"a", 0755, []byte("FOO2"), zip.Deflate, jar.DefaultTime}
43 a3 = testZipEntry{"a", 0755, []byte("Foo3"), zip.Deflate, jar.DefaultTime}
44 bDir = testZipEntry{"b/", os.ModeDir | 0755, nil, zip.Deflate, jar.DefaultTime}
45 bbDir = testZipEntry{"b/b/", os.ModeDir | 0755, nil, zip.Deflate, jar.DefaultTime}
46 bbb = testZipEntry{"b/b/b", 0755, nil, zip.Deflate, jar.DefaultTime}
47 ba = testZipEntry{"b/a", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
48 bc = testZipEntry{"b/c", 0755, []byte("bar"), zip.Deflate, jar.DefaultTime}
49 bd = testZipEntry{"b/d", 0700, []byte("baz"), zip.Deflate, jar.DefaultTime}
[all …]
/build/make/tools/droiddoc/test/stubs/
Dfunc.sh44 …/$PLATFORM/framework/clearsilver.jar:out/host/$PLATFORM/framework/droiddoc.jar:out/host/$PLATFORM/…
46 …sses.jar:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar:out/target/common/obj/…
47 …sses.jar:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar:out/target/common/obj/…
/build/soong/scripts/check_boot_jars/
Dcheck_boot_jars.py39 def CheckDexJar(dexdump_path, allow_list_path, jar): argument
43 args='%s -l xml %s' % (dexdump_path, jar),
55 print('Error processing jar %s - %s' % (jar, e), file=sys.stderr)
72 % (jar, class_name, package_name, allow_list_path)),
76 print(('Error: %s does not contain any packages.' % jar),
92 for jar in argv[2:]:
93 if not CheckDexJar(dexdump_path, allow_list_path, jar):
/build/soong/sdk/
Djava_sdk_test.go126 .intermediates/myjavalib/android_common/turbine-combined/myjavalib.jar -> java/myjavalib.jar
178 .intermediates/myjavalib/linux_glibc_common/javac-header/myjavalib.jar -> java/myjavalib.jar
228 .intermediates/myjavalib/android_common/turbine-combined/myjavalib.jar -> java/android/myjavalib.jar
229 …rmediates/myjavalib/linux_glibc_common/javac-header/myjavalib.jar -> java/linux_glibc/myjavalib.jar
277 .intermediates/myjavalib/android_common/withres/myjavalib.jar -> java/myjavalib.jar
329 .intermediates/mysdk/common_os/empty -> java_boot_libs/snapshot/jars/are/invalid/myjavalib.jar
380 …diates/updatable-media/android_common/package-check/updatable-media.jar -> java/updatable-media.jar
386 .intermediates/mysdk/common_os/empty -> java_boot_libs/snapshot/jars/are/invalid/updatable-media.jar
510 …ediates/myexports/common_os/empty -> java_systemserver_libs/snapshot/jars/are/invalid/myjavalib.jar
561 .intermediates/myjavalib/linux_glibc_common/javac/myjavalib.jar -> java/myjavalib.jar
[all …]
Dlicense_sdk_test.go100 .intermediates/myjavalib/android_common/turbine-combined/myjavalib.jar -> java/myjavalib.jar
/build/soong/dexpreopt/
Dclass_loader_context_test.go146jar","Device":"/system/a.jar","Subcontexts":[]},{"Name":"b","Optional":false,"Host":"out/soong/b.j…
/build/soong/java/
Dclasspath_fragment.go123 jar := classpathJar{
136 jar.minSdkVersion = ctx.Config().DefaultAppTargetSdk(ctx).String()
138 jar.minSdkVersion = minSdkVersion.String()
143 jar.maxSdkVersion = ctx.Config().DefaultAppTargetSdk(ctx).String()
145 jar.maxSdkVersion = maxSdkVersion.String()
150 jars = append(jars, jar)
197 for _, jar := range jars {
199 fmt.Fprintf(&content, "path: \"%s\"\n", jar.path)
200 fmt.Fprintf(&content, "classpath: %s\n", jar.classpath)
201 fmt.Fprintf(&content, "min_sdk_version: \"%s\"\n", jar.minSdkVersion)
[all …]
Ddexpreopt_check.go76 for _, jar := range systemServerJars.CopyOfJars() {
77 dexLocation := dexpreopt.GetSystemServerDexLocation(ctx, global, jar)
81 m.artifactsByModuleName[jar] = []string{odexPath.String(), vdexPath.String()}
/build/make/core/tasks/
Dsdk-addon.mk33 define stub-addon-jar-file
34 $(subst .jar,_stub-addon.jar,$(1))
37 define stub-addon-jar
38 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs
39 $(info Stubbing addon jar using $(PRODUCT_SDK_ADDON_STUB_DEFS))
40 $(hide) $(JAVA) -jar $(call module-installed-files,mkstubs) $(if $(hide),,--v) \
48 $(eval $(call stub-addon-jar,$(_src))) \
49 $(eval _src := $(call stub-addon-jar-file,$(_src))) \
/build/bazel/rules/java/stub_local_jdk/
DBUILD.bazel20 #The Kotlin rules directly refer to @local_jdk//jar, this alias is defined to
23 name = "jar",
24 actual = "@//prebuilts/jdk/jdk17:jar",
/build/soong/jar/
DAndroid.bp20 name: "soong-jar",
21 pkgPath: "android/soong/jar",
23 "jar.go",
/build/soong/scripts/
Dpackage-check.sh22 package-check.sh <jar-file> <package-list>
23 Checks that the class files in the <jar file> are in the <package-list> or
Djar-wrapper.sh39 jarfile=`basename "${prog}"`.jar
58 exec java "${javaOpts[@]}" -jar ${jardir}/${jarfile} "$@"
/build/bazel/rules/java/
Djava_system_modules.bzl24 " ".join([jar.path for jar in jars]),
38 ":".join([jar.path for jar in java_base_patch_jars.to_list()]),
45 args.add("-jar")
99 paths.join(java_runtime.java_home, "lib", "jrt-fs.jar"),
113 module_info_jar = ctx.actions.declare_file("%s/jar/classes.jar" % ctx.label.name)
116 merged_module_jar = ctx.actions.declare_file("%s/merged/module.jar" % ctx.label.name)
176 to convert a jar file into the directory structure of system modules.
Djava_resources.bzl22 output_file = ctx.actions.declare_file(ctx.attr.name + "_java_resources.jar")
29 paths.join(java_runtime.java_home, "bin", "jar"),
35 compile_jar = ctx.actions.declare_file(ctx.attr.name + "_java_resources-ijar.jar")
38 jar = output_file,
52 Package srcs into a jar, with the option of stripping a path prefix

12345