Home
last modified time | relevance | path

Searched refs:pkgPath (Results 1 – 25 of 54) sorted by relevance

123

/build/blueprint/bootstrap/bpdoc/
Dreader.go65 pkgPath, err := funcNameToPkgPath(f.Name())
70 factoryName := strings.TrimPrefix(f.Name(), pkgPath+".")
72 text, err := r.getModuleTypeDoc(pkgPath, factoryName)
79 PkgPath: pkgPath,
86 func (r *Reader) PropertyStruct(pkgPath, name string, defaults reflect.Value) (*PropertyStruct, err…
87 ps := r.getPropertyStruct(pkgPath, name)
90 pkg, err := r.goPkg(pkgPath)
101 ps = r.putPropertyStruct(pkgPath, name, ps)
107 return nil, fmt.Errorf("package %q type %q not found", pkgPath, name)
116 func (r *Reader) getModuleTypeDoc(pkgPath, factoryFuncName string) (string, error) {
[all …]
Dreader_test.go44 var pkgPath string var
52 pkgPath, err = funcNameToPkgPath(fn.Name())
58 pkgPath: {filename},
73 if mt.PkgPath != pkgPath {
74 t.Errorf("expected pkgpath %q, got %q", pkgPath, mt.PkgPath)
80 ps, err := r.PropertyStruct(pkgPath, "props", reflect.ValueOf(props{A: "B"}))
100 pkg, err := r.Package(pkgPath)
Dproperties_test.go24 ps, err := r.PropertyStruct(pkgPath, "tagTestProps", reflect.ValueOf(tagTestProps{}))
43 ps, err := r.PropertyStruct(pkgPath, "tagTestProps", reflect.ValueOf(tagTestProps{A: "B"}))
/build/blueprint/
Dpackage_ctx.go58 Import(pkgPath string)
59 ImportAs(as, pkgPath string)
79 pkgPath string member
96 func NewPackageContext(pkgPath string) PackageContext {
99 if _, present := packageContexts[pkgPath]; present {
100 panic(fmt.Errorf("package %q already has a package context", pkgPath))
103 pkgName := pkgPathToName(pkgPath)
109 i := strings.LastIndex(pkgPath, "/")
110 shortName := pkgPath[i+1:]
115 pkgPath: pkgPath,
[all …]
DBlueprints8 pkgPath: "github.com/google/blueprint",
36 pkgPath: "github.com/google/blueprint/parser",
53 pkgPath: "github.com/google/blueprint/deptools",
59 pkgPath: "github.com/google/blueprint/pathtools",
76 pkgPath: "github.com/google/blueprint/proptools",
109 pkgPath: "github.com/google/blueprint/bootstrap",
127 pkgPath: "github.com/google/blueprint/bootstrap/bpdoc",
177 pkgPath: "github.com/google/blueprint/gotestmain",
204 pkgPath: "github.com/google/blueprint/microfactory",
/build/soong/python/
Dpython.go447 pkgPath := String(p.properties.Pkg_path)
448 if pkgPath != "" {
449 pkgPath = filepath.Clean(String(p.properties.Pkg_path))
450 if pkgPath == ".." || strings.HasPrefix(pkgPath, "../") ||
451 strings.HasPrefix(pkgPath, "/") {
458 pkgPath = filepath.Join(internal, pkgPath)
462 pkgPath = internal
466 p.genModulePathMappings(ctx, pkgPath, expandedSrcs, expandedData)
468 p.srcsZip = p.createSrcsZip(ctx, pkgPath)
473 func (p *Module) genModulePathMappings(ctx android.ModuleContext, pkgPath string,
[all …]
Dproto.go21 func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.ProtoFlags, pkgPath
39 if pkgPath != "" {
40 zipCmd.FlagWithArg("-P ", pkgPath)
/build/soong/ui/metrics/
DAndroid.bp17 pkgPath: "android/soong/ui/metrics",
35 pkgPath: "android/soong/ui/metrics/metrics_proto",
44 pkgPath: "android/soong/ui/metrics/upload_proto",
/build/soong/ui/status/
DAndroid.bp17 pkgPath: "android/soong/ui/status",
41 pkgPath: "android/soong/ui/status/ninja_frontend",
50 pkgPath: "android/soong/ui/status/build_error_proto",
/build/soong/bpfix/
DAndroid.bp31 pkgPath: "android/soong/bpfix/cmd_lib",
42 pkgPath: "android/soong/bpfix/bpfix",
/build/soong/androidmk/
DAndroid.bp31 pkgPath: "android/soong/androidmk/androidmk",
49 pkgPath: "android/soong/androidmk/parser",
/build/soong/env/
DAndroid.bp3 pkgPath: "android/soong/env",
/build/soong/shared/
DAndroid.bp3 pkgPath: "android/soong/shared",
/build/soong/phony/
DAndroid.bp3 pkgPath: "android/soong/phony",
/build/soong/remoteexec/
DAndroid.bp3 pkgPath: "android/soong/remoteexec",
/build/soong/android/soongconfig/
DAndroid.bp3 pkgPath: "android/soong/android/soongconfig",
/build/soong/tradefed/
DAndroid.bp3 pkgPath: "android/soong/tradefed",
/build/soong/etc/
DAndroid.bp3 pkgPath: "android/soong/etc",
/build/soong/dexpreopt/
DAndroid.bp3 pkgPath: "android/soong/dexpreopt",
/build/blueprint/bootstrap/
Dbootstrap.go481 func buildGoPluginLoader(ctx blueprint.ModuleContext, pkgPath, pluginSrc string) bool { argument
496 "pkg": pkgPath,
506 pkgPath string, archiveFile string, srcs []string, genSrcs []string) {
524 "pkgPath": pkgPath,
542 pkgPath string, srcs, genSrcs, testSrcs []string) []string {
556 buildGoPackage(ctx, testRoot, pkgPath, testPkgArchive,
564 "pkg": pkgPath,
610 "pkg": pkgPath,
/build/soong/sh/
DAndroid.bp3 pkgPath: "android/soong/sh",
/build/soong/sysprop/
DAndroid.bp3 pkgPath: "android/soong/sysprop",
/build/soong/xml/
DAndroid.bp3 pkgPath: "android/soong/xml",
/build/soong/genrule/
DAndroid.bp3 pkgPath: "android/soong/genrule",
/build/soong/java/config/
DAndroid.bp3 pkgPath: "android/soong/java/config",

123