Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 56) sorted by relevance

123

/build/blueprint/
Dcontext.go71 type Context struct { struct
72 context.Context argument
382 func newContext() *Context {
383 return &Context{
384 Context: context.Background(),
402 func NewContext() *Context {
476 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) { argument
496 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) { argument
518 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) { argument
532 func (c *Context) SetNameInterface(i NameInterface) { argument
[all …]
Dprovider.go99 func (c *Context) initProviders() {
116 func (c *Context) setProvider(m *moduleInfo, provider ProviderKey, value interface{}) {
163 func (c *Context) provider(m *moduleInfo, provider ProviderKey) (interface{}, bool) {
186 func (c *Context) mutatorFinishedForModule(mutator *mutatorInfo, m *moduleInfo) bool {
201 func (c *Context) mutatorStartedForModule(mutator *mutatorInfo, m *moduleInfo) bool {
Dglob.go40 func (c *Context) glob(pattern string, excludes []string) ([]string, error) {
84 func (c *Context) Globs() pathtools.MultipleGlobResults {
Dmodule_ctx_test.go81 runWithFailures := func(ctx *Context, expectedErr string) {
128 run := func(ctx *Context) {
208 runWithFailures := func(ctx *Context, expectedErr string) {
255 run := func(ctx *Context) {
329 runWithFailures := func(ctx *Context, expectedErr string) {
376 run := func(ctx *Context) {
/build/soong/android/
Dregister.go39 register(ctx *Context) argument
45 func (r sortableComponents) registerAll(ctx *Context) { argument
56 func (t moduleType) register(ctx *Context) {
83 func (s singleton) register(ctx *Context) {
121 func SingletonFactoryAdaptor(ctx *Context, factory SingletonFactory) blueprint.SingletonFactory { argument
153 type Context struct { struct
154 *blueprint.Context anonMember
158 func NewContext(config Config) *Context {
159 ctx := &Context{blueprint.NewContext(), config}
167 func (ctx *Context) RegisterForBazelConversion() { argument
[all …]
Dlicenses_test.go502 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
537 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
560 result.Context.Context.VisitDepsDepthFirst(m, func(c blueprint.Module) {
602 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
642 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
677 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
712 result.Context.Context.VisitAllModules(func(m blueprint.Module) {
/build/soong/ui/build/
Drbe.go41 func rbeCommand(ctx Context, config Config, rbeCmd string) string { argument
74 func getRBEVars(ctx Context, config Config) map[string]string { argument
95 func startRBE(ctx Context, config Config) { argument
113 func stopRBE(ctx Context, config Config) { argument
130 func DumpRBEMetrics(ctx Context, config Config, filename string) { argument
166 func PrintOutDirWarning(ctx Context, config Config) { argument
Dkati.go43 func genKatiSuffix(ctx Context, config Config) { argument
72 func runKati(ctx Context, config Config, extraSuffix string, args []string, envFunc func(*Environme… argument
190 func runKatiBuild(ctx Context, config Config) { argument
240 func cleanCopyHeaders(ctx Context, config Config) { argument
283 func cleanOldInstalledFiles(ctx Context, config Config) { argument
302 func runKatiPackage(ctx Context, config Config) { argument
352 func runKatiCleanSpec(ctx Context, config Config) { argument
Dbuild.go28 func SetupOutDir(ctx Context, config Config) { argument
69 func createCombinedBuildNinjaFile(ctx Context, config Config) { argument
109 func checkProblematicFiles(ctx Context) { argument
121 func checkCaseSensitivity(ctx Context, config Config) { argument
151 func help(ctx Context, config Config) { argument
158 func checkRAM(ctx Context, config Config) { argument
183 func Build(ctx Context, config Config) { argument
319 func distGzipFile(ctx Context, config Config, src string, subDirs ...string) { argument
338 func distFile(ctx Context, config Config, src string, subDirs ...string) { argument
Dcleanbuild.go31 func removeGlobs(ctx Context, globs ...string) { argument
51 func clean(ctx Context, config Config) { argument
57 func dataClean(ctx Context, config Config) { argument
69 func installClean(ctx Context, config Config) { argument
156 func installCleanIfNecessary(ctx Context, config Config) { argument
208 func cleanOldFiles(ctx Context, basePath, newFile string) { argument
293 func cleanEmptyDirs(ctx Context, dir string) { argument
Dutil.go26 func absPath(ctx Context, p string) string { argument
62 func ensureDirectoriesExist(ctx Context, dirs ...string) { argument
72 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) { argument
101 func ensureEmptyFileExists(ctx Context, file string) { argument
Dcontext.go31 type Context struct{ *ContextImpl } argument
33 context.Context anonMember
Dgoma.go37 func ulimitOrFatal(ctx Context, config Config, opt string) int { argument
54 func startGoma(ctx Context, config Config) { argument
Ddumpvars.go41 func DumpMakeVars(ctx Context, config Config, goals, vars []string) (map[string]string, error) { argument
83 func dumpMakeVars(ctx Context, config Config, goals, vars []string, write_soong_vars bool, tmpDir s… argument
183 func runMakeProductConfig(ctx Context, config Config) { argument
Dfinder.go37 func NewSourceFinder(ctx Context, config Config) (f *finder.Finder) { argument
114 func FindSources(ctx Context, config Config, f *finder.Finder) { argument
184 func dumpListToFile(ctx Context, config Config, list []string, filePath string) (err error) { argument
Dsoong.go42 func writeEnvironmentFile(ctx Context, envFile string, envDeps map[string]string) error { argument
102 func bootstrapBlueprint(ctx Context, config Config, integratedBp2Build bool) { argument
193 func runSoong(ctx Context, config Config) { argument
320 func loadSoongBuildMetrics(ctx Context, config Config) *soong_metrics_proto.SoongBuildMetrics { argument
334 func logSoongBuildMetrics(ctx Context, metrics *soong_metrics_proto.SoongBuildMetrics) { argument
Dpath.go64 func SetupLitePath(ctx Context, config Config, tmpDir string) { argument
126 func SetupPath(ctx Context, config Config) { argument
155 entries, err := paths.LogListener(ctx.Context, interposer+"_log")
Dconfig_linux.go19 func detectTotalRAM(ctx Context) uint64 { argument
Dexec.go35 ctx Context
42 func Command(ctx Context, config Config, name string, executable string, args ...string) *Cmd { argument
44 Cmd: exec.CommandContext(ctx.Context, executable, args...),
Dconfig_darwin.go22 func detectTotalRAM(ctx Context) uint64 { argument
Dconfig.go116 func checkTopDir(ctx Context) { argument
125 func NewConfig(ctx Context, args ...string) Config { argument
328 func NewBuildActionConfig(action BuildAction, dir string, ctx Context, args ...string) Config { argument
334 func storeConfigMetrics(ctx Context, config Config) { argument
355 func getConfigArgs(action BuildAction, dir string, ctx Context, args []string) []string { argument
431 func hasBuildFile(ctx Context, dir string) bool { argument
449 func findBuildFile(ctx Context, dir string) string { argument
521 func getTargetsFromDirs(ctx Context, relDir string, dirs []string, targetNamePrefix string) (target… argument
566 func (c *configImpl) parseArgs(ctx Context, args []string) {
625 func (c *configImpl) configureLocale(ctx Context) {
[all …]
Dbazel.go30 func getBazelInfo(ctx Context, config Config, bazelExecutable string, bazelEnv map[string]string, q… argument
55 func runBazel(ctx Context, config Config) { argument
207 func populateOutdir(ctx Context, config Config, rootPath string, relativePath string) { argument
/build/soong/cmd/soong_build/
Dmain.go82 func newContext(configuration android.Config, prepareBuildActions bool) *android.Context {
107 func runMixedModeBuild(configuration android.Config, firstCtx *android.Context, extraNinjaDeps []st… argument
112 bootstrap.RunBlueprint(firstArgs, firstCtx.Context, configuration)
127 ninjaDeps := bootstrap.RunBlueprint(secondArgs, secondCtx.Context, secondConfig)
137 func runQueryView(configuration android.Config, ctx *android.Context) { argument
149 bootstrap.RunBlueprint(soongDocsArgs, ctx.Context, configuration)
165 func writeJsonModuleGraph(configuration android.Config, ctx *android.Context, path string, extraNin… argument
173 ctx.Context.PrintJSONGraph(f)
200 ninjaDeps := bootstrap.RunBlueprint(blueprintArgs, ctx.Context, configuration)
393 ninjaDeps := bootstrap.RunBlueprint(blueprintArgs, bp2buildCtx.Context, configuration)
/build/soong/cmd/soong_ui/
Dmain.go59 config func(ctx build.Context, args ...string) build.Config
65 run func(ctx build.Context, config build.Config, args []string, logsDir string)
73 config: func(ctx build.Context, args ...string) build.Config {
199 buildCtx := build.Context{ContextImpl: &build.ContextImpl{
200 Context: ctx,
292 func fixBadDanglingLink(ctx build.Context, name string) { argument
306 func dumpVar(ctx build.Context, config build.Config, args []string, _ string) { argument
356 func dumpVars(ctx build.Context, config build.Config, args []string, _ string) { argument
435 func dumpVarConfig(ctx build.Context, args ...string) build.Config { argument
439 func buildActionConfig(ctx build.Context, args ...string) build.Config { argument
[all …]
/build/soong/cmd/multiproduct_kati/
Dmain.go158 Context context.Context member
198 buildCtx := build.Context{ContextImpl: &build.ContextImpl{
199 Context: ctx,
321 Context: ctx,
420 ctx := build.Context{ContextImpl: &build.ContextImpl{
421 Context: mpctx.Context,

123