HomeSort by relevance Sort by last modified time
    Searched full:goroot (Results 1 - 25 of 315) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/runtime/
env_test.go 15 t.Skipf("skipping plan9, it is inconsistent by allowing GOROOT to be updated by Setenv")
18 // Restore both the real GOROOT environment variable, and runtime's copies:
19 if orig, ok := syscall.Getenv("GOROOT"); ok {
20 defer syscall.Setenv("GOROOT", orig)
22 defer syscall.Unsetenv("GOROOT")
29 want := runtime.GOROOT()
30 runtime.SetEnvs(append(envs[:0], "GOROOT="+want))
32 if got := runtime.GOROOT(); got != want {
33 t.Errorf(`initial runtime.GOROOT()=%q, want %q`, got, want)
35 if err := syscall.Setenv("GOROOT", "/os"); err != nil
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
env_test.go 15 t.Skipf("skipping plan9, it is inconsistent by allowing GOROOT to be updated by Setenv")
18 // Restore both the real GOROOT environment variable, and runtime's copies:
19 if orig, ok := syscall.Getenv("GOROOT"); ok {
20 defer syscall.Setenv("GOROOT", orig)
22 defer syscall.Unsetenv("GOROOT")
29 want := runtime.GOROOT()
30 runtime.SetEnvs(append(envs[:0], "GOROOT="+want))
32 if got := runtime.GOROOT(); got != want {
33 t.Errorf(`initial runtime.GOROOT()=%q, want %q`, got, want)
35 if err := syscall.Setenv("GOROOT", "/os"); err != nil
    [all...]
  /prebuilts/go/darwin-x86/misc/android/
cleaner.go 5 // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list.
17 const goroot = "/data/local/tmp/goroot"
20 expect[filepath.Join(goroot, f)] = true
23 err := filepath.Walk(goroot, func(path string, info os.FileInfo, err error) error {
  /prebuilts/go/linux-x86/misc/android/
cleaner.go 5 // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list.
17 const goroot = "/data/local/tmp/goroot"
20 expect[filepath.Join(goroot, f)] = true
23 err := filepath.Walk(goroot, func(path string, info os.FileInfo, err error) error {
  /prebuilts/go/darwin-x86/src/cmd/api/
run.go 19 var goroot string var
23 goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
24 if goroot == "" {
25 log.Fatal("No $GOROOT set.")
38 // file expands s to $GOROOT/api/s.txt.
44 return filepath.Join(goroot, "api", s[0]+".txt")
  /prebuilts/go/linux-x86/src/cmd/api/
run.go 19 var goroot string var
23 goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
24 if goroot == "" {
25 log.Fatal("No $GOROOT set.")
38 // file expands s to $GOROOT/api/s.txt.
44 return filepath.Join(goroot, "api", s[0]+".txt")
  /prebuilts/go/darwin-x86/misc/chrome/gophertool/
README.txt 6 4) pick $GOROOT/misc/chrome/gophertool
  /prebuilts/go/linux-x86/misc/chrome/gophertool/
README.txt 6 4) pick $GOROOT/misc/chrome/gophertool
  /prebuilts/go/darwin-x86/src/
androidtest.bash 7 # The compiler runs locally, then a copy of the GOROOT is pushed to a
14 echo 'androidtest.bash must be run from $GOROOT/src' 1>&2
32 export GOROOT=$(dirname $(pwd))
33 export PATH=$GOROOT/bin:$PATH
45 # Push GOROOT to target device.
50 # /data/local/tmp/goroot. The adb sync command does not follow
53 FAKE_GOROOT=$ANDROID_PRODUCT_OUT/data/local/tmp/goroot
56 cp -a "${GOROOT}/src" "${FAKE_GOROOT}/"
57 cp -a "${GOROOT}/test" "${FAKE_GOROOT}/"
58 cp -a "${GOROOT}/lib" "${FAKE_GOROOT}/
    [all...]
all.rc 9 echo 'all.rc must be run from $GOROOT/src' >[1=2]
14 bind -b $GOROOT/bin /bin
clean.bash 9 echo 'clean.bash must be run from $GOROOT/src' 1>&2
12 export GOROOT="$(cd .. && pwd)"
  /prebuilts/go/linux-x86/src/
androidtest.bash 7 # The compiler runs locally, then a copy of the GOROOT is pushed to a
14 echo 'androidtest.bash must be run from $GOROOT/src' 1>&2
32 export GOROOT=$(dirname $(pwd))
33 export PATH=$GOROOT/bin:$PATH
45 # Push GOROOT to target device.
50 # /data/local/tmp/goroot. The adb sync command does not follow
53 FAKE_GOROOT=$ANDROID_PRODUCT_OUT/data/local/tmp/goroot
56 cp -a "${GOROOT}/src" "${FAKE_GOROOT}/"
57 cp -a "${GOROOT}/test" "${FAKE_GOROOT}/"
58 cp -a "${GOROOT}/lib" "${FAKE_GOROOT}/
    [all...]
all.rc 9 echo 'all.rc must be run from $GOROOT/src' >[1=2]
14 bind -b $GOROOT/bin /bin
clean.bash 9 echo 'clean.bash must be run from $GOROOT/src' 1>&2
12 export GOROOT="$(cd .. && pwd)"
  /prebuilts/go/darwin-x86/misc/nacl/
go_nacl_386_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
go_nacl_amd64p32_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
go_nacl_arm_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
  /prebuilts/go/linux-x86/misc/nacl/
go_nacl_386_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
go_nacl_amd64p32_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
go_nacl_arm_exec 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
  /prebuilts/go/darwin-x86/src/cmd/dist/
buildtool.go 21 // All directories in this list are relative to and must be below $GOROOT/src/cmd.
61 mkzbootstrap(pathf("%s/src/cmd/internal/obj/zbootstrap.go", goroot))
63 // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root.
64 // We use a subdirectory of $GOROOT/pkg because that's the
65 // space within $GOROOT where we store all generated objects.
66 // We could use a temporary directory outside $GOROOT instead,
68 workspace := pathf("%s/pkg/bootstrap", goroot)
73 // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
75 src := pathf("%s/src/cmd/%s", goroot, dir)
87 // GOROOT points at Go 1.4 GOROOT
    [all...]
build.go 28 goroot string
85 // xinit handles initialization of the various global state, like goroot and goarch.
87 goroot = os.Getenv("GOROOT")
88 if slash == "/" && len(goroot) > 1 || slash == `\` && len(goroot) > 3 {
90 goroot = strings.TrimSuffix(goroot, slash)
92 if goroot == "" {
93 fatal("$GOROOT must be set"
27 goroot string var
    [all...]
  /prebuilts/go/linux-x86/src/cmd/dist/
buildtool.go 21 // All directories in this list are relative to and must be below $GOROOT/src/cmd.
61 mkzbootstrap(pathf("%s/src/cmd/internal/obj/zbootstrap.go", goroot))
63 // Use $GOROOT/pkg/bootstrap as the bootstrap workspace root.
64 // We use a subdirectory of $GOROOT/pkg because that's the
65 // space within $GOROOT where we store all generated objects.
66 // We could use a temporary directory outside $GOROOT instead,
68 workspace := pathf("%s/pkg/bootstrap", goroot)
73 // Copy source code into $GOROOT/pkg/bootstrap and rewrite import paths.
75 src := pathf("%s/src/cmd/%s", goroot, dir)
87 // GOROOT points at Go 1.4 GOROOT
    [all...]
build.go 28 goroot string
85 // xinit handles initialization of the various global state, like goroot and goarch.
87 goroot = os.Getenv("GOROOT")
88 if slash == "/" && len(goroot) > 1 || slash == `\` && len(goroot) > 3 {
90 goroot = strings.TrimSuffix(goroot, slash)
92 if goroot == "" {
93 fatal("$GOROOT must be set"
27 goroot string var
    [all...]
  /prebuilts/go/darwin-x86/
README.md 32 the environment variable $GOROOT to the full path of the go
36 You should also add the Go binary directory $GOROOT/bin
42 export GOROOT=$HOME/go
43 export PATH=$PATH:$GOROOT/bin

Completed in 163 milliseconds

1 2 3 4 5 6 7 8 91011>>