HomeSort by relevance Sort by last modified time
    Searched refs:GOROOT (Results 51 - 75 of 254) sorted by null

1 23 4 5 6 7 8 91011

  /prebuilts/go/darwin-x86/src/cmd/internal/objabi/
line.go 25 // It also removes a leading pathPrefix, or else rewrites a leading $GOROOT
26 // prefix to the literal "$GOROOT".
40 } else if hasPathPrefix(abs, GOROOT) {
41 abs = "$GOROOT" + abs[len(GOROOT):]
util.go 24 GOROOT = envOr("GOROOT", defaultGOROOT)
  /prebuilts/go/linux-x86/src/cmd/internal/objabi/
line.go 25 // It also removes a leading pathPrefix, or else rewrites a leading $GOROOT
26 // prefix to the literal "$GOROOT".
40 } else if hasPathPrefix(abs, GOROOT) {
41 abs = "$GOROOT" + abs[len(GOROOT):]
  /build/blueprint/
blueprint_impl.bash 24 export GOROOT
  /prebuilts/go/darwin-x86/src/cmd/api/
run.go 26 path := filepath.Join(runtime.GOROOT(), "bin", "go"+exeSuffix)
33 var goroot string var
37 goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
38 if goroot == "" {
39 log.Fatal("No $GOROOT set.")
42 apiDir := filepath.Join(goroot, "api")
  /prebuilts/go/linux-x86/src/cmd/api/
run.go 26 path := filepath.Join(runtime.GOROOT(), "bin", "go"+exeSuffix)
33 var goroot string var
37 goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
38 if goroot == "" {
39 log.Fatal("No $GOROOT set.")
42 apiDir := filepath.Join(goroot, "api")
  /prebuilts/go/darwin-x86/misc/android/
go_android_exec.go 50 deviceGoroot = "/data/local/tmp/goroot"
65 // "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
66 // We extract everything after the $GOROOT or $GOPATH to run on the
97 `; export GOROOT="` + deviceGoroot + `"` +
118 // and returns the path to the package source relative to $GOROOT (or $GOPATH).
124 if root := runtime.GOROOT(); strings.HasPrefix(cwd, root) {
141 log.Fatalf("the current path %q is not in either GOROOT(%q) or GOPATH(%q)",
142 cwd, runtime.GOROOT(), build.Default.GOPATH)
  /prebuilts/go/linux-x86/misc/android/
go_android_exec.go 50 deviceGoroot = "/data/local/tmp/goroot"
65 // "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
66 // We extract everything after the $GOROOT or $GOPATH to run on the
97 `; export GOROOT="` + deviceGoroot + `"` +
118 // and returns the path to the package source relative to $GOROOT (or $GOPATH).
124 if root := runtime.GOROOT(); strings.HasPrefix(cwd, root) {
141 log.Fatalf("the current path %q is not in either GOROOT(%q) or GOPATH(%q)",
142 cwd, runtime.GOROOT(), build.Default.GOPATH)
  /prebuilts/go/darwin-x86/src/cmd/go/
main.go 87 // Diagnose common mistake: GOPATH==GOROOT.
90 if gopath := cfg.BuildContext.GOPATH; filepath.Clean(gopath) == filepath.Clean(runtime.GOROOT()) {
91 fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no effect\n", gopath)
113 if fi, err := os.Stat(cfg.GOROOT); err != nil || !fi.IsDir() {
114 fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %v\n", cfg.GOROOT)
  /prebuilts/go/linux-x86/src/cmd/go/
main.go 87 // Diagnose common mistake: GOPATH==GOROOT.
90 if gopath := cfg.BuildContext.GOPATH; filepath.Clean(gopath) == filepath.Clean(runtime.GOROOT()) {
91 fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no effect\n", gopath)
113 if fi, err := os.Stat(cfg.GOROOT); err != nil || !fi.IsDir() {
114 fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %v\n", cfg.GOROOT)
  /prebuilts/go/darwin-x86/src/cmd/dist/
buildtool.go 24 // All directories in this list are relative to and must be below $GOROOT/src.
112 mkzbootstrap(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot))
114 // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root.
115 // We use a subdirectory of $GOROOT/pkg because that's the
116 // space within $GOROOT where we store all generated objects.
117 // We could use a temporary directory outside $GOROOT instead,
119 workspace := pathf("%s/pkg/bootstrap", goroot)
124 // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
126 src := pathf("%s/src/%s", goroot, dir)
154 // GOROOT points at Go 1.4 GOROOT
    [all...]
  /prebuilts/go/linux-x86/src/cmd/dist/
buildtool.go 24 // All directories in this list are relative to and must be below $GOROOT/src.
112 mkzbootstrap(pathf("%s/src/cmd/internal/objabi/zbootstrap.go", goroot))
114 // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root.
115 // We use a subdirectory of $GOROOT/pkg because that's the
116 // space within $GOROOT where we store all generated objects.
117 // We could use a temporary directory outside $GOROOT instead,
119 workspace := pathf("%s/pkg/bootstrap", goroot)
124 // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
126 src := pathf("%s/src/%s", goroot, dir)
154 // GOROOT points at Go 1.4 GOROOT
    [all...]
  /build/blueprint/gotestrunner/
gotestrunner.go 67 // GOROOT is commonly a relative path in Android, make it
69 if absRoot, err := filepath.Abs(runtime.GOROOT()); err == nil {
70 os.Setenv("GOROOT", absRoot)
72 fmt.Fprintln(os.Stderr, "error: Failed to locate GOROOT:", err)
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
nooptcgolink_test.go 26 cmd.Dir = filepath.Join(runtime.GOROOT(), "src", "runtime", "testdata", "testprogcgo")
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
nooptcgolink_test.go 26 cmd.Dir = filepath.Join(runtime.GOROOT(), "src", "runtime", "testdata", "testprogcgo")
  /prebuilts/go/darwin-x86/src/cmd/go/internal/tool/
tool.go 75 // Set $GOROOT, mainly for go tool dist.
76 Env: base.MergeEnvLists([]string{"GOROOT=" + cfg.GOROOT}, os.Environ()),
  /prebuilts/go/linux-x86/src/cmd/go/internal/tool/
tool.go 75 // Set $GOROOT, mainly for go tool dist.
76 Env: base.MergeEnvLists([]string{"GOROOT=" + cfg.GOROOT}, os.Environ()),
  /external/boringssl/src/util/bot/go/
bootstrap.py 38 # Where to install Go toolset to. GOROOT would be <TOOLSET_ROOT>/go.
120 GOROOT would be <toolset_root>/go/.
210 Overrides GOROOT, GOPATH and GOBIN. Keeps everything else. Idempotent.
213 toolset_root: GOROOT would be <toolset_root>/go.
214 workspace: main workspace directory or None if compiling in GOROOT.
217 env['GOROOT'] = os.path.join(toolset_root, 'go')
230 os.path.join(env['GOROOT'], 'bin'),
271 """Returns full path to an executable in some bin/ (in GOROOT or GOBIN)."""
  /prebuilts/go/darwin-x86/src/
all.bat 20 :: can get the original %PATH% and give suggestion to add %GOROOT%/bin
bootstrap.bash 45 unset GOROOT
  /prebuilts/go/linux-x86/src/
all.bat 20 :: can get the original %PATH% and give suggestion to add %GOROOT%/bin
bootstrap.bash 45 unset GOROOT
  /prebuilts/go/darwin-x86/src/go/build/
build_test.go 77 p, err := Import("", Default.GOROOT, FindOnly)
116 t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
237 t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
318 {"Import(local, 0)", "./doesnotexist", filepath.Join(ctxt.GOROOT, "src/go/build"), 0},
320 {"Import(local, FindOnly)", "./doesnotexist", filepath.Join(ctxt.GOROOT, "src/go/build"), FindOnly},
343 p, err := ctxt.Import("golang_org/x/net/http2/hpack", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
357 p, err := ctxt.Import("x.com/y/z", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
364 t.Fatalf("error on failed import does not mention GOROOT/src/vendor directory:\n%s", e)
373 p, err := ctxt.Import("golang_org/x/net/http2", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
382 t.Fatalf("error on failed import does not mention GOROOT/src/vendor directory:\n%s", e
    [all...]
  /prebuilts/go/linux-x86/src/go/build/
build_test.go 77 p, err := Import("", Default.GOROOT, FindOnly)
116 t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
237 t.Skipf("skipping on %s/%s, no valid GOROOT", runtime.GOOS, runtime.GOARCH)
318 {"Import(local, 0)", "./doesnotexist", filepath.Join(ctxt.GOROOT, "src/go/build"), 0},
320 {"Import(local, FindOnly)", "./doesnotexist", filepath.Join(ctxt.GOROOT, "src/go/build"), FindOnly},
343 p, err := ctxt.Import("golang_org/x/net/http2/hpack", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
357 p, err := ctxt.Import("x.com/y/z", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
364 t.Fatalf("error on failed import does not mention GOROOT/src/vendor directory:\n%s", e)
373 p, err := ctxt.Import("golang_org/x/net/http2", filepath.Join(ctxt.GOROOT, "src/net/http"), 0)
382 t.Fatalf("error on failed import does not mention GOROOT/src/vendor directory:\n%s", e
    [all...]
  /prebuilts/go/darwin-x86/src/go/doc/
headscan.go 14 By default, the $GOROOT/src directory is scanned.
33 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan")

Completed in 362 milliseconds

1 23 4 5 6 7 8 91011