/build/soong/java/config/ |
D | config.go | 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 { [all …]
|
D | kotlin.go | 28 pctx.SourcePathVariable("KotlincCmd", "external/kotlinc/bin/kotlinc") 29 pctx.SourcePathVariable("KotlinCompilerJar", "external/kotlinc/lib/kotlin-compiler.jar") 30 pctx.SourcePathVariable("KotlinPreloaderJar", "external/kotlinc/lib/kotlin-preloader.jar") 31 pctx.SourcePathVariable("KotlinReflectJar", "external/kotlinc/lib/kotlin-reflect.jar") 32 pctx.SourcePathVariable("KotlinScriptRuntimeJar", "external/kotlinc/lib/kotlin-script-runtime.jar") 33 pctx.SourcePathVariable("KotlinTrove4jJar", "external/kotlinc/lib/trove4j.jar") 34 pctx.SourcePathVariable("KotlinKaptJar", "external/kotlinc/lib/kotlin-annotation-processing.jar") 35 pctx.SourcePathVariable("KotlinAnnotationJar", "external/kotlinc/lib/annotations-13.0.jar") 36 pctx.SourcePathVariable("KotlinStdlibJar", KotlinStdlibJar) 39 pctx.StaticVariable("KotlincSuppressJDK9Warnings", strings.Join([]string{
|
/build/soong/cc/config/ |
D | global.go | 144 var pctx = android.NewPackageContext("android/soong/cc/config") var 151 pctx.StaticVariable("CommonGlobalConlyflags", strings.Join(commonGlobalConlyflags, " ")) 152 pctx.StaticVariable("DeviceGlobalCppflags", strings.Join(deviceGlobalCppflags, " ")) 153 pctx.StaticVariable("DeviceGlobalLdflags", strings.Join(deviceGlobalLdflags, " ")) 154 pctx.StaticVariable("DeviceGlobalLldflags", strings.Join(deviceGlobalLldflags, " ")) 155 pctx.StaticVariable("HostGlobalCppflags", strings.Join(hostGlobalCppflags, " ")) 156 pctx.StaticVariable("HostGlobalLdflags", strings.Join(hostGlobalLdflags, " ")) 157 pctx.StaticVariable("HostGlobalLldflags", strings.Join(hostGlobalLldflags, " ")) 159 pctx.VariableFunc("CommonClangGlobalCflags", func(ctx android.PackageVarContext) string { 180 pctx.VariableFunc("DeviceClangGlobalCflags", func(ctx android.PackageVarContext) string { [all …]
|
D | arm_device.go | 171 pctx.StaticVariable("armGccVersion", armGccVersion) 173 pctx.SourcePathVariable("ArmGccRoot", 176 pctx.StaticVariable("ArmLdflags", strings.Join(armLdflags, " ")) 177 pctx.StaticVariable("ArmLldflags", strings.Join(armLldflags, " ")) 178 pctx.StaticVariable("ArmIncludeFlags", bionicHeaders("arm")) 181 …pctx.StaticVariable("ArmToolchainClangCflags", strings.Join(ClangFilterUnknownCflags(armToolchainC… 182 pctx.StaticVariable("ArmClangCflags", strings.Join(ClangFilterUnknownCflags(armCflags), " ")) 183 pctx.StaticVariable("ArmClangLdflags", strings.Join(ClangFilterUnknownCflags(armLdflags), " ")) 184 pctx.StaticVariable("ArmClangLldflags", strings.Join(ClangFilterUnknownCflags(armLldflags), " ")) 185 pctx.StaticVariable("ArmClangCppflags", strings.Join(ClangFilterUnknownCflags(armCppflags), " ")) [all …]
|
D | x86_windows_host.go | 127 pctx.StaticVariable("WindowsGccVersion", windowsGccVersion) 129 pctx.SourcePathVariable("WindowsGccRoot", 132 pctx.StaticVariable("WindowsGccTriple", "x86_64-w64-mingw32") 134 pctx.StaticVariable("WindowsClangCflags", strings.Join(windowsClangCflags, " ")) 135 pctx.StaticVariable("WindowsClangLdflags", strings.Join(windowsClangLdflags, " ")) 136 pctx.StaticVariable("WindowsClangLldflags", strings.Join(windowsClangLldflags, " ")) 137 pctx.StaticVariable("WindowsClangCppflags", strings.Join(windowsClangCppflags, " ")) 139 pctx.StaticVariable("WindowsX86ClangCflags", 141 pctx.StaticVariable("WindowsX8664ClangCflags", 143 pctx.StaticVariable("WindowsX86ClangLdflags", strings.Join(windowsX86ClangLdflags, " ")) [all …]
|
D | x86_linux_host.go | 119 pctx.StaticVariable("LinuxGccVersion", linuxGccVersion) 120 pctx.StaticVariable("LinuxGlibcVersion", linuxGlibcVersion) 123 pctx.StaticVariable("ShortLinuxGccVersion", strings.Join(p[:2], ".")) 125 pctx.StaticVariable("ShortLinuxGccVersion", linuxGccVersion) 128 pctx.SourcePathVariable("LinuxGccRoot", 131 pctx.StaticVariable("LinuxGccTriple", "x86_64-linux") 133 pctx.StaticVariable("LinuxClangCflags", strings.Join(linuxClangCflags, " ")) 134 pctx.StaticVariable("LinuxClangLdflags", strings.Join(linuxClangLdflags, " ")) 135 pctx.StaticVariable("LinuxClangLldflags", strings.Join(linuxClangLldflags, " ")) 137 pctx.StaticVariable("LinuxX86ClangCflags", [all …]
|
D | arm64_device.go | 90 pctx.StaticVariable("arm64GccVersion", arm64GccVersion) 92 pctx.SourcePathVariable("Arm64GccRoot", 95 pctx.StaticVariable("Arm64Ldflags", strings.Join(arm64Ldflags, " ")) 96 pctx.StaticVariable("Arm64Lldflags", strings.Join(arm64Lldflags, " ")) 97 pctx.StaticVariable("Arm64IncludeFlags", bionicHeaders("arm64")) 99 pctx.StaticVariable("Arm64ClangCflags", strings.Join(ClangFilterUnknownCflags(arm64Cflags), " ")) 100 pctx.StaticVariable("Arm64ClangLdflags", strings.Join(ClangFilterUnknownCflags(arm64Ldflags), " ")) 101 …pctx.StaticVariable("Arm64ClangLldflags", strings.Join(ClangFilterUnknownCflags(arm64Lldflags), " … 102 …pctx.StaticVariable("Arm64ClangCppflags", strings.Join(ClangFilterUnknownCflags(arm64Cppflags), " … 104 pctx.StaticVariable("Arm64ClangArmv8ACflags", strings.Join(arm64ArchVariantCflags["armv8-a"], " ")) [all …]
|
D | x86_64_device.go | 96 pctx.StaticVariable("x86_64GccVersion", x86_64GccVersion) 98 pctx.SourcePathVariable("X86_64GccRoot", 101 pctx.StaticVariable("X86_64ToolchainCflags", "-m64") 102 pctx.StaticVariable("X86_64ToolchainLdflags", "-m64") 104 pctx.StaticVariable("X86_64Ldflags", strings.Join(x86_64Ldflags, " ")) 105 pctx.StaticVariable("X86_64Lldflags", strings.Join(x86_64Lldflags, " ")) 106 pctx.StaticVariable("X86_64IncludeFlags", bionicHeaders("x86")) 109 pctx.StaticVariable("X86_64ClangCflags", strings.Join(ClangFilterUnknownCflags(x86_64Cflags), " ")) 110 …pctx.StaticVariable("X86_64ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86_64Ldflags), " … 111 …pctx.StaticVariable("X86_64ClangLldflags", strings.Join(ClangFilterUnknownCflags(x86_64Lldflags), … [all …]
|
D | x86_device.go | 107 pctx.StaticVariable("x86GccVersion", x86GccVersion) 109 pctx.SourcePathVariable("X86GccRoot", 112 pctx.StaticVariable("X86ToolchainCflags", "-m32") 113 pctx.StaticVariable("X86ToolchainLdflags", "-m32") 115 pctx.StaticVariable("X86Ldflags", strings.Join(x86Ldflags, " ")) 116 pctx.StaticVariable("X86Lldflags", strings.Join(x86Lldflags, " ")) 117 pctx.StaticVariable("X86IncludeFlags", bionicHeaders("x86")) 120 pctx.StaticVariable("X86ClangCflags", strings.Join(ClangFilterUnknownCflags(x86ClangCflags), " ")) 121 pctx.StaticVariable("X86ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86Ldflags), " ")) 122 pctx.StaticVariable("X86ClangLldflags", strings.Join(ClangFilterUnknownCflags(x86Lldflags), " ")) [all …]
|
D | x86_darwin_host.go | 94 pctx.VariableFunc("macSdkRoot", func(ctx android.PackageVarContext) string { 97 pctx.StaticVariable("macMinVersion", "10.10") 98 pctx.VariableFunc("MacArPath", func(ctx android.PackageVarContext) string { 102 pctx.VariableFunc("MacStripPath", func(ctx android.PackageVarContext) string { 106 pctx.VariableFunc("MacToolPath", func(ctx android.PackageVarContext) string { 110 pctx.StaticVariable("DarwinGccVersion", darwinGccVersion) 111 pctx.SourcePathVariable("DarwinGccRoot", 114 pctx.StaticVariable("DarwinGccTriple", "i686-apple-darwin11") 116 pctx.StaticVariable("DarwinClangCflags", strings.Join(darwinClangCflags, " ")) 117 pctx.StaticVariable("DarwinClangLdflags", strings.Join(darwinClangLdflags, " ")) [all …]
|
D | mips_device.go | 92 pctx.StaticVariable("mipsGccVersion", mipsGccVersion) 94 pctx.SourcePathVariable("MipsGccRoot", 97 pctx.StaticVariable("MipsToolchainLdflags", strings.Join(mipsToolchainLdflags, " ")) 98 pctx.StaticVariable("MipsIncludeFlags", bionicHeaders("mips")) 101 …pctx.StaticVariable("MipsClangCflags", strings.Join(ClangFilterUnknownCflags(mipsClangCflags), " "… 102 pctx.StaticVariable("MipsClangLdflags", strings.Join(ClangFilterUnknownCflags(mipsLdflags), " ")) 103 pctx.StaticVariable("MipsClangCppflags", strings.Join(ClangFilterUnknownCflags(mipsCppflags), " ")) 109 pctx.StaticVariable("Mips"+variant+"VariantClangCflags",
|
D | mips64_device.go | 58 pctx.StaticVariable("mips64GccVersion", mips64GccVersion) 60 pctx.SourcePathVariable("Mips64GccRoot", 63 pctx.StaticVariable("Mips64IncludeFlags", bionicHeaders("mips")) 66 …pctx.StaticVariable("Mips64ClangCflags", strings.Join(ClangFilterUnknownCflags(mips64ClangCflags),… 67 …pctx.StaticVariable("Mips64ClangLdflags", strings.Join(ClangFilterUnknownCflags(mips64Ldflags), " … 68 …pctx.StaticVariable("Mips64ClangCppflags", strings.Join(ClangFilterUnknownCflags(mips64Cppflags), … 74 pctx.StaticVariable("Mips64"+variant+"VariantClangCflags",
|
D | clang.go | 99 pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{ 140 pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{ 151 pctx.StaticVariable("ClangExtraTargetCflags", strings.Join([]string{ 155 pctx.StaticVariable("ClangExtraNoOverrideCflags", strings.Join([]string{ 190 pctx.StaticVariable("ClangExtraExternalCflags", strings.Join([]string{
|
/build/soong/tradefed/ |
D | config.go | 22 pctx = android.NewPackageContext("android/soong/tradefed") var 26 pctx.SourcePathVariable("AutoGenTestConfigScript", "build/make/tools/auto_gen_test_config.py") 27 …pctx.SourcePathVariable("InstrumentationTestConfigTemplate", "build/make/core/instrumentation_test… 28 pctx.SourcePathVariable("JavaTestConfigTemplate", "build/make/core/java_test_config_template.xml") 29 …pctx.SourcePathVariable("JavaHostTestConfigTemplate", "build/make/core/java_host_test_config_templ… 30 …pctx.SourcePathVariable("NativeBenchmarkTestConfigTemplate", "build/make/core/native_benchmark_tes… 31 …pctx.SourcePathVariable("NativeHostTestConfigTemplate", "build/make/core/native_host_test_config_t… 32 …pctx.SourcePathVariable("NativeTestConfigTemplate", "build/make/core/native_test_config_template.x… 33 …pctx.SourcePathVariable("PythonBinaryHostTestConfigTemplate", "build/make/core/python_binary_host_… 34 …pctx.SourcePathVariable("RustDeviceTestConfigTemplate", "build/make/core/rust_device_test_config_t… [all …]
|
/build/soong/rust/config/ |
D | global.go | 24 var pctx = android.NewPackageContext("android/soong/rust/config") var 63 pctx.SourcePathVariable("RustDefaultBase", RustDefaultBase) 64 pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS) 66 pctx.VariableFunc("RustBase", func(ctx android.PackageVarContext) string { 73 pctx.VariableFunc("RustVersion", func(ctx android.PackageVarContext) string { 80 pctx.StaticVariable("RustPath", "${RustBase}/${HostPrebuiltTag}/${RustVersion}") 81 pctx.StaticVariable("RustBin", "${RustPath}/bin") 83 pctx.ImportAs("ccConfig", "android/soong/cc/config") 84 pctx.StaticVariable("RustLinker", "${ccConfig.ClangBin}/clang++") 85 pctx.StaticVariable("RustLinkerArgs", "-B ${ccConfig.ClangBin} -fuse-ld=lld") [all …]
|
D | x86_linux_host.go | 36 pctx.StaticVariable("LinuxToolchainRustFlags", strings.Join(LinuxRustFlags, " ")) 37 pctx.StaticVariable("LinuxToolchainLinkFlags", strings.Join(LinuxRustLinkFlags, " ")) 38 pctx.StaticVariable("LinuxToolchainX86RustFlags", strings.Join(linuxX86Rustflags, " ")) 39 pctx.StaticVariable("LinuxToolchainX86LinkFlags", strings.Join(linuxX86Linkflags, " ")) 40 pctx.StaticVariable("LinuxToolchainX8664RustFlags", strings.Join(linuxX8664Rustflags, " ")) 41 pctx.StaticVariable("LinuxToolchainX8664LinkFlags", strings.Join(linuxX8664Linkflags, " "))
|
/build/soong/android/ |
D | defs.go | 23 pctx = NewPackageContext("android/soong/android") var 25 cpPreserveSymlinks = pctx.VariableConfigMethod("cpPreserveSymlinks", 31 Phony = pctx.AndroidStaticRule("Phony", 40 GeneratedFile = pctx.AndroidStaticRule("GeneratedFile", 48 Cp = pctx.AndroidStaticRule("Cp", 55 CpExecutable = pctx.AndroidStaticRule("CpExecutable", 63 Touch = pctx.AndroidStaticRule("Touch", 70 Symlink = pctx.AndroidStaticRule("Symlink", 77 ErrorRule = pctx.AndroidStaticRule("Error", 84 Cat = pctx.AndroidStaticRule("Cat", [all …]
|
D | singleton.go | 36 Variable(pctx PackageContext, name, value string) 37 …Rule(pctx PackageContext, name string, params blueprint.RuleParams, argNames ...string) blueprint.… 38 Build(pctx PackageContext, params BuildParams) 50 SetNinjaBuildDir(pctx PackageContext, value string) 55 Eval(pctx PackageContext, ninjaStr string) (string, error) 132 func (s *singletonContextAdaptor) Variable(pctx PackageContext, name, value string) { 133 s.SingletonContext.Variable(pctx.PackageContext, name, value) 136 func (s *singletonContextAdaptor) Rule(pctx PackageContext, name string, params blueprint.RuleParam… 149 rule := s.SingletonContext.Rule(pctx.PackageContext, name, params, argNames...) 156 func (s *singletonContextAdaptor) Build(pctx PackageContext, params BuildParams) { [all …]
|
D | notices.go | 24 pctx.SourcePathVariable("merge_notices", "build/soong/scripts/mergenotice.py") 25 pctx.SourcePathVariable("generate_notice", "build/make/tools/generate-notice-files.py") 27 pctx.HostBinToolVariable("minigzip", "minigzip") 38 mergeNoticesRule = pctx.AndroidStaticRule("mergeNoticesRule", blueprint.RuleParams{ 44 generateNoticeRule = pctx.AndroidStaticRule("generateNoticeRule", blueprint.RuleParams{ 55 ctx.Build(pctx, BuildParams{ 82 ctx.Build(pctx, BuildParams{
|
/build/soong/python/ |
D | builder.go | 29 pctx = android.NewPackageContext("android/soong/python") var 31 zip = pctx.AndroidStaticRule("zip", 38 combineZip = pctx.AndroidStaticRule("combineZip", 45 hostPar = pctx.AndroidStaticRule("hostPar", 55 embeddedPar = pctx.AndroidStaticRule("embeddedPar", 65 embeddedParNoMain = pctx.AndroidStaticRule("embeddedParNoMain", 75 pctx.Import("github.com/google/blueprint/bootstrap") 76 pctx.Import("android/soong/android") 78 pctx.HostBinToolVariable("parCmd", "soong_zip") 79 pctx.HostBinToolVariable("mergeParCmd", "merge_zips") [all …]
|
/build/soong/cc/ |
D | builder.go | 48 pctx = android.NewPackageContext("android/soong/cc") var 50 cc = pctx.AndroidRemoteStaticRule("cc", android.RemoteRuleSupports{Goma: true, RBE: true}, 59 ccNoDeps = pctx.AndroidStaticRule("ccNoDeps", 66 ld, ldRE = remoteexec.StaticRules(pctx, "ld", 86 partialLd, partialLdRE = remoteexec.StaticRules(pctx, "partialLd", 101 ar = pctx.AndroidStaticRule("ar", 110 darwinStrip = pctx.AndroidStaticRule("darwinStrip", 116 prefixSymbols = pctx.AndroidStaticRule("prefixSymbols", 123 _ = pctx.SourcePathVariable("stripPath", "build/soong/scripts/strip.sh") 124 _ = pctx.SourcePathVariable("xzCmd", "prebuilts/build-tools/${config.HostPrebuiltTag}/bin/xz") [all …]
|
/build/blueprint/ |
D | package_ctx.go | 253 pctx *packageContext member 284 return v.pctx 292 return packageNamespacePrefix(pkgNames[v.pctx]) + v.name_ 296 ninjaStr, err := parseNinjaString(v.pctx.scope, v.value_) 305 return v.pctx.pkgPath + "." + v.name_ 309 pctx *packageContext member 384 return v.pctx 392 return packageNamespacePrefix(pkgNames[v.pctx]) + v.name_ 401 ninjaStr, err := parseNinjaString(v.pctx.scope, value) 411 return v.pctx.pkgPath + "." + v.name_ [all …]
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 35 pctx = blueprint.NewPackageContext("github.com/google/blueprint/bootstrap") var 37 …goTestMainCmd = pctx.StaticVariable("goTestMainCmd", filepath.Join(bootstrapDir, "bin", "gotestm… 38 …goTestRunnerCmd = pctx.StaticVariable("goTestRunnerCmd", filepath.Join(bootstrapDir, "bin", "gotes… 39 …pluginGenSrcCmd = pctx.StaticVariable("pluginGenSrcCmd", filepath.Join(bootstrapDir, "bin", "loadp… 41 parallelCompile = pctx.StaticVariable("parallelCompile", func() string { 59 compile = pctx.StaticRule("compile", 70 link = pctx.StaticRule("link", 80 goTestMain = pctx.StaticRule("gotestmain", 88 pluginGenSrc = pctx.StaticRule("pluginGenSrc", 96 test = pctx.StaticRule("test", [all …]
|
/build/soong/apex/ |
D | builder.go | 34 pctx = android.NewPackageContext("android/apex") var 38 pctx.Import("android/soong/android") 39 pctx.Import("android/soong/java") 40 pctx.HostBinToolVariable("apexer", "apexer") 44 pctx.VariableFunc(name, func(ctx android.PackageVarContext) string { 53 pctx.HostBinToolVariable("avbtool", "avbtool") 54 pctx.HostBinToolVariable("e2fsdroid", "e2fsdroid") 55 pctx.HostBinToolVariable("merge_zips", "merge_zips") 56 pctx.HostBinToolVariable("mke2fs", "mke2fs") 57 pctx.HostBinToolVariable("resize2fs", "resize2fs") [all …]
|
/build/soong/xml/ |
D | xml.go | 29 pctx = android.NewPackageContext("android/soong/xml") var 31 xmllintDtd = pctx.AndroidStaticRule("xmllint-dtd", 39 xmllintXsd = pctx.AndroidStaticRule("xmllint-xsd", 47 xmllintMinimal = pctx.AndroidStaticRule("xmllint-minimal", 57 pctx.HostBinToolVariable("XmlLintCmd", "xmllint") 83 ctx.Build(pctx, android.BuildParams{ 95 ctx.Build(pctx, android.BuildParams{ 111 ctx.Build(pctx, android.BuildParams{
|