Home
last modified time | relevance | path

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

/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/soong/android/
Dpaths.go483 rel := Rel(ctx, goBinaryInstallDir.String(), goBinary.InstallPath())
484 return goBinaryInstallDir.Join(ctx, rel)
711 srcPath.basePath.rel = srcPath.path
1002 rel string member
1014 if p.rel != "" {
1015 return p.rel
1024 func (p basePath) withRel(rel string) basePath {
1025 p.path = filepath.Join(p.path, rel)
1026 p.rel = rel
1045 func (p SourcePath) withRel(rel string) SourcePath {
[all …]
Drule_builder.go587 rel := Rel(r.ctx, r.outDir.String(), output.String())
588 sboxOutputs[i] = filepath.Join(sboxOutDir, rel)
590 From: proto.String(filepath.Join(sboxOutSubDir, rel)),
793 rel, inSandbox := c.rule._sboxPathForInputRel(path)
795 rel = filepath.Join(sboxSandboxBaseDir, rel)
797 return rel
821 rel, _, _ := maybeRelErr(c.rule.outDir.String(), path.String())
822 return filepath.Join(sboxOutDir, rel)
839 func (r *RuleBuilder) _sboxPathForInputRel(path Path) (rel string, inSandbox bool) {
841 rel, isRelSboxOut, _ := maybeRelErr(r.outDir.String(), path.String())
[all …]
Dpaths_test.go1048 rel string member
1080 p.rel = src.Rel()
1139 rel string member
1201 AssertStringPathRelativeToTopEquals(t, "rel", result.Config, test.rel, m.rel)
1311 rel: "src/b",
1321 rel: "src/e/e",
1331 rel: "src/a",
1341 rel: "gen/b",
1351 rel: "gen/c",
1361 rel: "src_special/$",
[all …]
Dproto.go146 rel := protoFile.Rel()
147 protoBase = strings.TrimSuffix(protoFile.String(), rel)
Dandroidmk.go948 rel := d.SrcPath.Rel()
951 if !strings.HasSuffix(path, rel) {
952 panic(fmt.Errorf("path %q does not end with %q", path, rel))
954 path = strings.TrimSuffix(path, rel)
955 testFileString := path + ":" + rel
Dtesting.go1117 rel, err := filepath.Rel(w.getSoongOutDir(), p)
1121 return rel
1181 rel, isRel, err := maybeRelErr(soongOutDir, path)
1188 return filepath.Join("out/soong", rel)
1193 rel, isRel, err = maybeRelErr(outDir, path)
1200 return filepath.Join("out", rel)
Dfixture.go837 if rel, isRel := MaybeRel(pathContext, r.Config.SoongOutDir(), pathAsString); isRel {
838 return rel
Dmakevars.go503 rel, err := filepath.Rel(filepath.Dir(symlink.to.String()), symlink.from.String())
508 fromStr = 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.go43 rel := protoFile.Rel()
44 ccFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb"+srcSuffix))
45 headerFile = android.PathForModuleGen(ctx, "proto", pathtools.ReplaceExtension(rel, "pb.h"))
/build/blueprint/pathtools/
Dfs.go163 rel, err := filepath.Rel(fs.srcDir, path)
168 if strings.HasPrefix(rel, "../") {
170 fs.srcDir, path, rel))
172 return rel
621 rel, err := filepath.Rel(name, d)
625 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.go447 rel := d.Rel()
449 if !strings.HasSuffix(path, rel) {
450 panic(fmt.Errorf("path %q does not end with %q", path, rel))
452 path = strings.TrimSuffix(path, rel)
453 entries.AddStrings("LOCAL_TEST_DATA", path+":"+rel)
/build/soong/bpf/
Dbpf.go47 Command: `$stripCmd --strip-unneeded --remove-section=.rel.BTF ` +
48 `--remove-section=.rel.BTF.ext --remove-section=.BTF.ext $in -o $out`,
/build/soong/snapshot/
Dhost_snapshot.go201 if rel, ok := m.(RelativeInstallPath); ok {
202 outString = rel.RelativeInstallPath()
/build/soong/android_sdk/
Dsdk_repo_host.go258 rel, err := filepath.Rel(constantPartOfPattern(remap.From), path)
262 newPath = filepath.Join(remap.To, rel)
/build/soong/filesystem/
Dfilesystem.go209 rel, _ := filepath.Rel(rootForExtraFiles.String(), f.String())
210 if strings.HasPrefix(rel, "..") {
/build/soong/cmd/sbox/
Dsbox.go386 if rel, err := filepath.Rel(outputDir, toPath); err != nil {
388 } else 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.go310 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">