Home
last modified time | relevance | path

Searched refs:topDir (Results 1 – 4 of 4) sorted by relevance

/build/soong/cmd/soong_build/
Dmain.go36 topDir string var
51 flag.StringVar(&topDir, "top", "", "Top directory of the Android source tree")
129 …err = deptools.WriteDepFile(shared.JoinPath(topDir, secondArgs.DepFile), secondArgs.OutFile, ninja…
139 absoluteQueryViewDir := shared.JoinPath(topDir, bazelQueryViewDir)
202 …err := deptools.WriteDepFile(shared.JoinPath(topDir, blueprintArgs.DepFile), blueprintArgs.OutFile…
243 result, err := shared.EnvFromFile(shared.JoinPath(topDir, availableEnvFile))
256 android.InitSandbox(topDir)
297 path := shared.JoinPath(topDir, usedEnvFile)
313 touch(shared.JoinPath(topDir, finalOutputFile))
328 ninjaFile := shared.JoinPath(topDir, buildDir, ninjaFileName)
[all …]
/build/soong/ui/build/
Dconfig_test.go326 func createBuildFiles(t *testing.T, topDir string, buildFiles []string) {
328 buildFile = filepath.Join(topDir, buildFile)
335 func createDirectories(t *testing.T, topDir string, dirs []string) {
337 dir = filepath.Join(topDir, dir)
501 topDir, err := ioutil.TempDir("", "")
505 defer os.RemoveAll(topDir)
507 createDirectories(t, topDir, tt.dirsInTrees)
508 createBuildFiles(t, topDir, tt.buildFiles)
509 r := setTop(t, topDir)
614 topDir, err := ioutil.TempDir("", "")
[all …]
Dconfig.go360 topDir, err := os.Getwd()
372 relDir, err := filepath.Rel(topDir, dir)
374 ctx.Fatalf("Unable to find relative path %s of %s: %v", relDir, topDir, err)
378 ctx.Fatalf("Directory %s is not under the source tree %s", dir, topDir)
399 if topDir == dir {
/build/soong/android/
Dsandbox.go17 func InitSandbox(topDir string) {
18 absSrcDir = topDir