Home
last modified time | relevance | path

Searched refs:pkgPath (Results 1 – 25 of 61) 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.go105 var pkgPath string var
115 pkgPath, err = funcNameToPkgPath(fn.Name())
121 pkgPath: {filename},
148 if mt.PkgPath != pkgPath {
149 t.Errorf("expected pkgpath %q, got %q", pkgPath, mt.PkgPath)
156 ps, err := r.PropertyStruct(pkgPath, "props", reflect.ValueOf(props{A: "B"}))
176 pkg, err := r.Package(pkgPath)
/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",
38 pkgPath: "github.com/google/blueprint/parser",
56 pkgPath: "github.com/google/blueprint/deptools",
62 pkgPath: "github.com/google/blueprint/pathtools",
80 pkgPath: "github.com/google/blueprint/proptools",
113 pkgPath: "github.com/google/blueprint/bootstrap",
131 pkgPath: "github.com/google/blueprint/bootstrap/bpdoc",
181 pkgPath: "github.com/google/blueprint/gotestmain",
208 pkgPath: "github.com/google/blueprint/microfactory",
/build/soong/python/
Dproto.go21 func genProto(ctx android.ModuleContext, protoFile android.Path, flags android.ProtoFlags, pkgPath
39 if pkgPath != "" {
40 zipCmd.FlagWithArg("-P ", pkgPath)
Dpython.go480 pkgPath := String(p.properties.Pkg_path)
481 if pkgPath != "" {
483 pkgPath = filepath.Clean(String(p.properties.Pkg_path))
484 if pkgPath == ".." || strings.HasPrefix(pkgPath, "../") ||
485 strings.HasPrefix(pkgPath, "/") {
494 pkgPath = filepath.Join(internalPath, pkgPath)
498 p.genModulePathMappings(ctx, pkgPath, expandedSrcs, expandedData)
501 p.srcsZip = p.createSrcsZip(ctx, pkgPath)
520 func (p *Module) genModulePathMappings(ctx android.ModuleContext, pkgPath string,
532 runfilesPath := filepath.Join(pkgPath, s.Rel())
[all …]
/build/soong/ui/status/
DAndroid.bp21 pkgPath: "android/soong/ui/status",
46 pkgPath: "android/soong/ui/status/ninja_frontend",
55 pkgPath: "android/soong/ui/status/build_error_proto",
64 pkgPath: "android/soong/ui/status/build_progress_proto",
/build/soong/tradefed/
DAndroid.bp7 pkgPath: "android/soong/tradefed",
22 pkgPath: "android/soong/tradefed/suite_harness",
/build/soong/ui/metrics/
DAndroid.bp21 pkgPath: "android/soong/ui/metrics",
39 pkgPath: "android/soong/ui/metrics/metrics_proto",
48 pkgPath: "android/soong/ui/metrics/upload_proto",
/build/soong/bpfix/
DAndroid.bp35 pkgPath: "android/soong/bpfix/cmd_lib",
46 pkgPath: "android/soong/bpfix/bpfix",
/build/soong/response/
DAndroid.bp7 pkgPath: "android/soong/response",
/build/soong/remoteexec/
DAndroid.bp7 pkgPath: "android/soong/remoteexec",
/build/soong/androidmk/
DAndroid.bp35 pkgPath: "android/soong/androidmk/androidmk",
53 pkgPath: "android/soong/androidmk/parser",
/build/soong/bazel/cquery/
DAndroid.bp7 pkgPath: "android/soong/bazel/cquery",
/build/soong/phony/
DAndroid.bp7 pkgPath: "android/soong/phony",
/build/soong/etc/
DAndroid.bp7 pkgPath: "android/soong/etc",
/build/soong/shared/
DAndroid.bp7 pkgPath: "android/soong/shared",
/build/soong/android/soongconfig/
DAndroid.bp7 pkgPath: "android/soong/android/soongconfig",
/build/soong/bazel/
DAndroid.bp7 pkgPath: "android/soong/bazel",
/build/soong/sh/
DAndroid.bp7 pkgPath: "android/soong/sh",
/build/soong/linkerconfig/
DAndroid.bp7 pkgPath: "android/soong/linkerconfig",
/build/soong/java/config/
DAndroid.bp7 pkgPath: "android/soong/java/config",
/build/soong/kernel/
DAndroid.bp7 pkgPath: "android/soong/kernel",
/build/soong/xml/
DAndroid.bp7 pkgPath: "android/soong/xml",
/build/soong/dexpreopt/
DAndroid.bp7 pkgPath: "android/soong/dexpreopt",

123