Lines Matching refs:pctx
29 pctx = android.NewPackageContext("android/soong/java/config") var
65 pctx.Import("github.com/google/blueprint/bootstrap")
67 pctx.StaticVariable("JavacHeapSize", "2048M")
68 pctx.StaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}")
69 …pctx.StaticVariable("DexFlags", "-JXX:OnError='cat hs_err_pid%p.log' -JXX:CICompilerCount=6 -JXX:+…
71 pctx.StaticVariable("CommonJdkFlags", strings.Join([]string{
87 pctx.StaticVariable("JavaVmFlags", JavaVmFlags)
88 pctx.StaticVariable("JavacVmFlags", JavacVmFlags)
90 pctx.VariableConfigMethod("hostPrebuiltTag", android.Config.PrebuiltOS)
92 pctx.VariableFunc("JavaHome", func(ctx android.PackageVarContext) string {
96 pctx.VariableFunc("JlinkVersion", func(ctx android.PackageVarContext) string {
103 pctx.SourcePathVariable("JavaToolchain", "${JavaHome}/bin")
104 pctx.SourcePathVariableWithEnvOverride("JavacCmd",
106 pctx.SourcePathVariable("JavaCmd", "${JavaToolchain}/java")
107 pctx.SourcePathVariable("JarCmd", "${JavaToolchain}/jar")
108 pctx.SourcePathVariable("JavadocCmd", "${JavaToolchain}/javadoc")
109 pctx.SourcePathVariable("JlinkCmd", "${JavaToolchain}/jlink")
110 pctx.SourcePathVariable("JmodCmd", "${JavaToolchain}/jmod")
111 pctx.SourcePathVariable("JrtFsJar", "${JavaHome}/lib/jrt-fs.jar")
112 …pctx.SourcePathVariable("JavaKytheExtractorJar", "prebuilts/build-tools/common/framework/javac_ext…
113 pctx.SourcePathVariable("Ziptime", "prebuilts/build-tools/${hostPrebuiltTag}/bin/ziptime")
115 pctx.SourcePathVariable("GenKotlinBuildFileCmd", "build/soong/scripts/gen-kotlin-build-file.sh")
117 pctx.SourcePathVariable("JarArgsCmd", "build/soong/scripts/jar-args.sh")
118 pctx.SourcePathVariable("PackageCheckCmd", "build/soong/scripts/package-check.sh")
119 pctx.HostBinToolVariable("ExtractJarPackagesCmd", "extract_jar_packages")
120 pctx.HostBinToolVariable("SoongZipCmd", "soong_zip")
121 pctx.HostBinToolVariable("MergeZipsCmd", "merge_zips")
122 pctx.HostBinToolVariable("Zip2ZipCmd", "zip2zip")
123 pctx.HostBinToolVariable("ZipSyncCmd", "zipsync")
124 pctx.HostBinToolVariable("ApiCheckCmd", "apicheck")
125 pctx.HostBinToolVariable("D8Cmd", "d8")
126 pctx.HostBinToolVariable("R8Cmd", "r8-compat-proguard")
127 pctx.HostBinToolVariable("HiddenAPICmd", "hiddenapi")
128 pctx.HostBinToolVariable("ExtractApksCmd", "extract_apks")
129 pctx.VariableFunc("TurbineJar", func(ctx android.PackageVarContext) string {
138 pctx.HostJavaToolVariable("JarjarCmd", "jarjar.jar")
139 pctx.HostJavaToolVariable("JsilverJar", "jsilver.jar")
140 pctx.HostJavaToolVariable("DoclavaJar", "doclava.jar")
141 pctx.HostJavaToolVariable("MetalavaJar", "metalava.jar")
142 pctx.HostJavaToolVariable("DokkaJar", "dokka.jar")
143 pctx.HostJavaToolVariable("JetifierJar", "jetifier.jar")
144 pctx.HostJavaToolVariable("R8Jar", "r8-compat-proguard.jar")
145 pctx.HostJavaToolVariable("D8Jar", "d8.jar")
147 pctx.HostBinToolVariable("SoongJavacWrapper", "soong_javac_wrapper")
148 pctx.HostBinToolVariable("DexpreoptGen", "dexpreopt_gen")
150 pctx.VariableFunc("REJavaPool", remoteexec.EnvOverrideFunc("RBE_JAVA_POOL", "java16"))
151 …pctx.VariableFunc("REJavacExecStrategy", remoteexec.EnvOverrideFunc("RBE_JAVAC_EXEC_STRATEGY", rem…
152 …pctx.VariableFunc("RED8ExecStrategy", remoteexec.EnvOverrideFunc("RBE_D8_EXEC_STRATEGY", remoteexe…
153 …pctx.VariableFunc("RER8ExecStrategy", remoteexec.EnvOverrideFunc("RBE_R8_EXEC_STRATEGY", remoteexe…
154 …pctx.VariableFunc("RETurbineExecStrategy", remoteexec.EnvOverrideFunc("RBE_TURBINE_EXEC_STRATEGY",…
155 …pctx.VariableFunc("RESignApkExecStrategy", remoteexec.EnvOverrideFunc("RBE_SIGNAPK_EXEC_STRATEGY",…
156 …pctx.VariableFunc("REJarExecStrategy", remoteexec.EnvOverrideFunc("RBE_JAR_EXEC_STRATEGY", remotee…
157 …pctx.VariableFunc("REZipExecStrategy", remoteexec.EnvOverrideFunc("RBE_ZIP_EXEC_STRATEGY", remotee…
159 pctx.HostJavaToolVariable("JacocoCLIJar", "jacoco-cli.jar")
161 pctx.HostBinToolVariable("ManifestCheckCmd", "manifest_check")
162 pctx.HostBinToolVariable("ManifestFixerCmd", "manifest_fixer")
164 pctx.HostBinToolVariable("ManifestMergerCmd", "manifest-merger")
166 pctx.HostBinToolVariable("Class2Greylist", "class2greylist")
167 pctx.HostBinToolVariable("HiddenAPI", "hiddenapi")
180 pctx.VariableFunc(name, func(ctx android.PackageVarContext) string {
190 pctx.VariableFunc(name, func(ctx android.PackageVarContext) string {
200 pctx.VariableFunc(name, func(ctx android.PackageVarContext) string {
214 pctx.VariableFunc(name, func(ctx android.PackageVarContext) string {