Home
last modified time | relevance | path

Searched refs:rel (Results 1 – 19 of 19) sorted by relevance

/build/soong/android/
Dpaths.go465 if rel, err := filepath.Rel(PathForOutput(ctx).String(), goBinary.InstallPath()); err == nil {
466 return Paths{PathForOutput(ctx, rel).WithoutRel()}, nil
611 srcPath.basePath.rel = srcPath.path
902 rel string member
914 if p.rel != "" {
915 return p.rel
924 func (p basePath) withRel(rel string) basePath {
925 p.path = filepath.Join(p.path, rel)
926 p.rel = rel
945 func (p SourcePath) withRel(rel string) SourcePath {
[all …]
Drule_builder.go596 rel := Rel(r.ctx, r.outDir.String(), output.String())
597 sboxOutputs[i] = filepath.Join(sboxOutDir, rel)
599 From: proto.String(filepath.Join(sboxOutSubDir, rel)),
786 rel, inSandbox := c.rule._sboxPathForInputRel(path)
788 rel = filepath.Join(sboxSandboxBaseDir, rel)
790 return rel
814 rel, _, _ := maybeRelErr(c.rule.outDir.String(), path.String())
815 return filepath.Join(sboxOutDir, rel)
831 func (r *RuleBuilder) _sboxPathForInputRel(path Path) (rel string, inSandbox bool) {
833 rel, isRelSboxOut, _ := maybeRelErr(r.outDir.String(), path.String())
[all …]
Dproto.go132 rel := protoFile.Rel()
133 protoBase = strings.TrimSuffix(protoFile.String(), rel)
Dpaths_test.go1036 rel string member
1068 p.rel = src.Rel()
1127 rel string member
1174 AssertStringPathRelativeToTopEquals(t, "rel", result.Config, test.rel, m.rel)
1284 rel: "src/b",
1294 rel: "src/e/e",
1304 rel: "src/a",
1314 rel: "gen/b",
1324 rel: "gen/c",
1334 rel: "src_special/$",
Dtesting.go995 rel, err := filepath.Rel(w.getBuildDir(), p)
999 return rel
1059 rel, isRel, err := maybeRelErr(soongOutDir, path)
1066 return filepath.Join("out/soong", rel)
1071 rel, isRel, err = maybeRelErr(outDir, path)
1078 return filepath.Join("out", rel)
Dandroidmk.go915 rel := d.SrcPath.Rel()
918 if !strings.HasSuffix(path, rel) {
919 panic(fmt.Errorf("path %q does not end with %q", path, rel))
921 path = strings.TrimSuffix(path, rel)
922 testFileString := path + ":" + rel
Dfixture.go837 if rel, isRel := MaybeRel(pathContext, r.Config.BuildDir(), pathAsString); isRel {
838 return rel
/build/soong/java/
Djava_resources.go103 rel := f.Rel()
105 if !strings.HasSuffix(path, rel) {
106 panic(fmt.Errorf("path %q does not end with %q", path, rel))
108 dir := filepath.Clean(strings.TrimSuffix(path, rel))
/build/make/tools/droiddoc/templates-pdk/
Dhead_tag.cs6 <link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
12 <link href="<?cs var:toroot ?>assets/android-developer-docs-devguide.css" rel="stylesheet" type="te…
14 <link href="<?cs var:toroot ?>assets/android-developer-docs.css" rel="stylesheet" type="text/css" /…
Dcustomizations.cs155 Android <?cs var:sdk.version ?>&nbsp;r<?cs var:sdk.rel.id ?> - <?cs var:page.now ?>
Dsdkpage.cs10 …<link href="<?cs var:toroot ?>assets/android-developer-docs.css" rel="stylesheet" type="text/css" …
/build/soong/cc/
Dproto.go37 rel := protoFile.Rel()
38 ccFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb"+srcSuffix))
39 headerFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb.h"))
/build/blueprint/pathtools/
Dfs.go145 rel, err := filepath.Rel(fs.srcDir, path)
150 if strings.HasPrefix(rel, "../") {
152 fs.srcDir, path, rel))
154 return rel
569 rel, err := filepath.Rel(name, d)
573 dirs[i] = rel
/build/soong/cmd/zip2zip/
Dzip2zip.go151 rel, err := filepath.Rel(constantPartOfPattern(input), file.Name)
154 } else if strings.HasPrefix("../", rel) {
157 newName = filepath.Join(output, rel)
/build/soong/sh/
Dsh_binary.go426 rel := d.Rel()
428 if !strings.HasSuffix(path, rel) {
429 panic(fmt.Errorf("path %q does not end with %q", path, rel))
431 path = strings.TrimSuffix(path, rel)
432 entries.AddStrings("LOCAL_TEST_DATA", path+":"+rel)
/build/blueprint/bootstrap/
Dwritedocs.go115 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
/build/soong/filesystem/
Dfilesystem.go199 rel, _ := filepath.Rel(rootForExtraFiles.String(), f.String())
200 if strings.HasPrefix(rel, "..") {
/build/soong/zip/
Dzip.go975 func (z *ZipWriter) writeSymlink(rel, file string) error {
977 Name: rel,
/build/soong/cmd/soong_build/
Dwritedocs.go309 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">