/build/blueprint/microfactory/ |
D | microfactory_test.go | 104 pkg := loadPkg() 106 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 110 if err := pkg.Link(config, out); err != nil { 126 after func(pkg *GoPackage)) { 134 pkg := loadPkg() 136 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 140 if err := pkg.Link(config, out); err != nil { 160 pkg = loadPkg() 162 if err := pkg.Compile(config, filepath.Join(dir, "out")); err != nil { 166 if !pkg.rebuilt { [all …]
|
D | microfactory.go | 115 func (c *Config) Path(pkg string) (string, bool, error) { 121 if pkg == pkgPrefix { 123 } else if strings.HasPrefix(pkg, pkgPrefix+"/") { 124 return filepath.Join(c.paths[pkgPrefix], strings.TrimPrefix(pkg, pkgPrefix+"/")), true, nil 173 pkg, contained := s.packageSet[name] 174 return pkg, contained 177 pkg, _ := s.tryGetByName(name) 178 return pkg 288 for _, pkg := range foundPkgs { 289 foundPkg = pkg [all …]
|
D | microfactory.bash | 63 -pkg-path "github.com/google/blueprint=${BLUEPRINTDIR}" \
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 90 pkg, err := r.goPkg(pkgPath) 95 for _, t := range pkg.Types { 165 pkg := r.getGoPkg(pkgPath) 166 if pkg == nil { 173 pkg = doc.New(pkgAST, pkgPath, doc.AllDecls) 174 pkg = r.putGoPkg(pkgPath, pkg) 179 return pkg, nil 189 func (r *Reader) putGoPkg(pkgPath string, pkg *doc.Package) *doc.Package { 196 r.goPkgs[pkgPath] = pkg 197 return pkg [all …]
|
D | bpdoc.go | 87 pkg := pkgMap[mtInfo.PkgPath] 88 if pkg == nil { 90 pkg, err = r.Package(mtInfo.PkgPath) 94 pkgMap[mtInfo.PkgPath] = pkg 95 pkgs = append(pkgs, pkg) 97 pkg.ModuleTypes = append(pkg.ModuleTypes, mtInfo) 101 for _, pkg := range pkgs { 102 …sort.Slice(pkg.ModuleTypes, func(i, j int) bool { return pkg.ModuleTypes[i].Name < pkg.ModuleTypes…
|
D | reader_test.go | 176 pkg, err := r.Package(pkgPath) 181 if pkg.Text != "bpdoc docs.\n" { 182 t.Errorf("unexpected docs %q", pkg.Text)
|
D | bpdoc_test.go | 67 pkg := packages[0] 136 for _, m := range pkg.ModuleTypes {
|
/build/soong/android/ |
D | visibility.go | 136 pkg string member 140 return m.pkg == r.pkg 144 return fmt.Sprintf("//%s", r.pkg) // :__pkg__ is the default, so skip it. 154 return isAncestor(r.pkgPrefix, m.pkg) 242 checkRules(ctx, qualified.pkg, p.getName(), visibility) 259 ok, pkg, name := splitRule(ctx, v, currentPkg, property) 264 if pkg == "visibility" { 290 if !isAllowedFromOutsideVendor(pkg, name) { 311 currentPkg := qualifiedModuleId.pkg 332 ok, pkg, name := splitRule(ctx, v, currentPkg, property) [all …]
|
D | visibility_test.go | 499 qualifiedModuleName{pkg: "top", name: "libexample"}: {"//visibility:public"},
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 36 pkg = flag.String("pkg", "", "test package") var 91 Package: *pkg, 120 pkg "{{.Package}}" 125 {"{{.}}", pkg.{{.}}}, 132 {"{{.Name}}", pkg.Example{{.Name}}, {{.Output | printf "%q" }}, {{.Unordered}}}, 191 pkg.TestMain(m)
|
/build/make/tools/ |
D | java-layers.py | 97 def lookup(self, pkg): argument 99 def compare_parts(parts, pkg): argument 100 if len(parts) > len(pkg): 104 if parts[i] != pkg[i]: 108 pkg = pkg.split(".") 112 x = compare_parts(parts, pkg) 212 pkg = m.group(1) 222 print "'%s' --> %s" % (pkg, imports) 223 dep = deps.lookup(pkg) 226 + "%s\n") % (filename, pkg)) [all …]
|
/build/soong/jar/ |
D | jar.go | 202 var pkg string 209 return "", fmt.Errorf(`expected "package <package>;", got "package %s%s"`, pkg, s.TokenText()) 211 pkg += s.TokenText() 218 return pkg, nil 220 pkg += "." 222 return "", fmt.Errorf(`expected "package <package>;", got "package %s%s"`, pkg, s.TokenText())
|
/build/blueprint/loadplugins/ |
D | loadplugins.go | 29 pkg = flag.String("p", "main", "package name") var 46 filepath.Base(*pkg),
|
/build/soong/bp2build/ |
D | bzl_conversion.go | 61 for pkg, rules := range generateRules(moduleTypeFactories) { 67 bzlFileName := strings.ReplaceAll(pkg, "android/soong/", "") 110 pkg := strings.Split(factoryName, ".")[0] 124 rules[pkg] = append(rules[pkg], r)
|
/build/soong/cmd/extract_jar_packages/ |
D | extract_jar_packages.go | 81 for _, pkg := range pkgs { 83 data = append(data, pkg...)
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 121 for _, pkg := range packages { 136 modules := moduleTypeDocsToTemplates(pkg.ModuleTypes) 137 data := perPackageTemplateData{Name: pkg.Name, Modules: modules} 142 pkgFileName := filepath.Join(filepath.Dir(filename), pkg.Name+".html") 290 {{range $pkg := .}}
|
/build/blueprint/bootstrap/ |
D | bootstrap.go | 193 if pkg, ok := ctx.Module().(*goPackage); ok { 195 for _, plugin := range pkg.properties.PluginFor {
|
/build/soong/sdk/ |
D | update.go | 341 pkg := bpFile.newModule("package") 343 pkg.AddCommentForProperty(property, ` 347 pkg.AddProperty(property, []string{"Android-Apache-2.0"}) 348 bpFile.AddModule(pkg)
|
/build/soong/zip/ |
D | zip.go | 637 pkg, err := jar.JavaPackage(r, src) 641 dest = filepath.Join(filepath.Join(strings.Split(pkg, ".")...), filepath.Base(src))
|
/build/blueprint/ |
D | context.go | 3247 for _, pkg := range pkgs { 3248 deps = append(deps, pkg.ninjaFileDeps...) 3683 for pkg, name := range c.pkgNames { 3686 PkgPath: pkg.pkgPath,
|
/build/make/core/ |
D | definitions.mk | 2154 $(foreach pkg, $(PRIVATE_JAR_PACKAGES), \ 2155 -not -path $(PRIVATE_CLASS_INTERMEDIATES_DIR)/$(subst .,/,$(pkg))/\*) -delete ; \ 2158 $(foreach pkg, $(PRIVATE_JAR_EXCLUDE_PACKAGES), \ 2159 $(PRIVATE_CLASS_INTERMEDIATES_DIR)/$(subst .,/,$(pkg))))
|
/build/make/tools/releasetools/ |
D | pylintrc | 34 extension-pkg-whitelist=
|