HomeSort by relevance Sort by last modified time
    Searched refs:GOPATH (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /prebuilts/go/darwin-x86/src/
run.rc 10 GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
11 # to be under $GOPATH, then some tests below will fail
run.bash 12 # to be under $GOPATH, then some tests below will fail. $GOPATH needs
14 # that may also conflict with $GOROOT. The $GOPATH value doesn't need
16 # checks performed by Go. Use $GOROOT to define $GOPATH so that we
18 GOPATH=$GOROOT/nonexistentpath
19 export GOPATH
run.bat 16 :: to be under %GOPATH%, then some tests below will fail
17 set GOPATH=
  /prebuilts/go/linux-x86/src/
run.rc 10 GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
11 # to be under $GOPATH, then some tests below will fail
run.bash 12 # to be under $GOPATH, then some tests below will fail. $GOPATH needs
14 # that may also conflict with $GOROOT. The $GOPATH value doesn't need
16 # checks performed by Go. Use $GOROOT to define $GOPATH so that we
18 GOPATH=$GOROOT/nonexistentpath
19 export GOPATH
run.bat 16 :: to be under %GOPATH%, then some tests below will fail
17 set GOPATH=
  /external/tensorflow/tensorflow/go/genop/
generate.sh 22 if [ -z "${GOPATH}" ]
24 GOPATH=$(go env GOPATH)
28 for g in $(echo "${GOPATH//:/ }"); do
53 export PATH=$PATH:${GOPATH}/bin
  /external/tensorflow/tensorflow/go/
test.sh 41 # Setup a GOPATH that includes just the TensorFlow Go API.
42 export GOPATH="${TEST_TMPDIR}/go"
43 mkdir -p "${GOPATH}/src/github.com/tensorflow"
44 ln -s "${PWD}" "${GOPATH}/src/github.com/tensorflow/tensorflow"
  /prebuilts/go/darwin-x86/misc/cgo/testplugin/
test.bash 26 GOPATH=$(pwd) go build -i -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin1
27 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin2
29 GOPATH=$(pwd)/altpath go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin-mismatch
30 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=sub/plugin1.so sub/plugin1
31 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed1.so unnamed1/main.go
32 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed2.so unnamed2/main.go
33 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" host
38 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_a
39 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_b
40 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" ifac
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/testplugin/
test.bash 26 GOPATH=$(pwd) go build -i -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin1
27 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin2
29 GOPATH=$(pwd)/altpath go build -gcflags "$GO_GCFLAGS" -buildmode=plugin plugin-mismatch
30 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=sub/plugin1.so sub/plugin1
31 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed1.so unnamed1/main.go
32 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin -o=unnamed2.so unnamed2/main.go
33 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" host
38 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_a
39 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" -buildmode=plugin iface_b
40 GOPATH=$(pwd) go build -gcflags "$GO_GCFLAGS" ifac
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/go/internal/list/
context.go 15 GOPATH string `json:",omitempty"` // Go path
29 GOPATH: c.GOPATH,
  /prebuilts/go/linux-x86/src/cmd/go/internal/list/
context.go 15 GOPATH string `json:",omitempty"` // Go path
29 GOPATH: c.GOPATH,
  /prebuilts/go/darwin-x86/src/cmd/go/
vendor_test.go 22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
59 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
72 gopath := changeVolume(filepath.Join(tg.pwd(), "testdata"), strings.ToLower)
73 tg.setenv("GOPATH", gopath)
83 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
93 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
102 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
110 .*[\\/]testdata[\\/]src[\\/]notfound \(from \$GOPATH\)`)
    [all...]
main.go 87 // Diagnose common mistake: GOPATH==GOROOT.
88 // This setting is equivalent to not setting GOPATH at all,
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)
93 for _, p := range filepath.SplitList(gopath) {
103 fmt.Fprintf(os.Stderr, "go: GOPATH entry cannot start with shell metacharacter '~': %q\n", p)
107 fmt.Fprintf(os.Stderr, "go: GOPATH entry is relative; must be absolute path: %q.\nFor more details see: 'go help gopath'\n", p
    [all...]
go_test.go 191 os.Unsetenv("GOPATH")
277 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") {
327 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) {
783 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
891 tg.setenv("GOPATH", tg.path("d1"))
959 tg.setenv("GOPATH", tg.path("."))
1007 tg.setenv("GOPATH", tg.path("d1")+sep+tg.path("d2"))
1036 tg.setenv("GOPATH", tg.path("."))
1053 tg.setenv("GOPATH", tg.path("."))
    [all...]
  /prebuilts/go/linux-x86/src/cmd/go/
vendor_test.go 22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
59 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
72 gopath := changeVolume(filepath.Join(tg.pwd(), "testdata"), strings.ToLower)
73 tg.setenv("GOPATH", gopath)
83 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
93 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
102 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
110 .*[\\/]testdata[\\/]src[\\/]notfound \(from \$GOPATH\)`)
    [all...]
main.go 87 // Diagnose common mistake: GOPATH==GOROOT.
88 // This setting is equivalent to not setting GOPATH at all,
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)
93 for _, p := range filepath.SplitList(gopath) {
103 fmt.Fprintf(os.Stderr, "go: GOPATH entry cannot start with shell metacharacter '~': %q\n", p)
107 fmt.Fprintf(os.Stderr, "go: GOPATH entry is relative; must be absolute path: %q.\nFor more details see: 'go help gopath'\n", p
    [all...]
go_test.go 191 os.Unsetenv("GOPATH")
277 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") {
327 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) {
783 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
891 tg.setenv("GOPATH", tg.path("d1"))
959 tg.setenv("GOPATH", tg.path("."))
1007 tg.setenv("GOPATH", tg.path("d1")+sep+tg.path("d2"))
1036 tg.setenv("GOPATH", tg.path("."))
1053 tg.setenv("GOPATH", tg.path("."))
    [all...]
  /build/soong/scripts/
setup_go_workspace_for_soong.sh 27 OUTPUT_PATH="$(echo ${GOPATH} | sed 's/\:.*//')" #if GOPATH contains multiple paths, use the first one
30 echo "Error; could not determine the desired location at which to create a Go-compatible workspace. Please update GOPATH to specify the desired destination directory"
36 echo "Will create GOPATH-compatible directory structure at ${OUTPUT_PATH}"
60 echo "Created GOPATH-compatible directory structure at ${OUTPUT_PATH}"
  /prebuilts/go/darwin-x86/misc/android/
go_android_exec.go 51 deviceGopath = "/data/local/tmp/gopath"
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
98 `; export GOPATH="` + deviceGopath + `"` +
118 // and returns the path to the package source relative to $GOROOT (or $GOPATH).
132 for _, p := range filepath.SplitList(build.Default.GOPATH) {
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 51 deviceGopath = "/data/local/tmp/gopath"
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
98 `; export GOPATH="` + deviceGopath + `"` +
118 // and returns the path to the package source relative to $GOROOT (or $GOPATH).
132 for _, p := range filepath.SplitList(build.Default.GOPATH) {
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/os/
example_test.go 82 os.Unsetenv("GOPATH")
103 show("GOPATH")
107 // GOPATH not set
  /prebuilts/go/linux-x86/src/os/
example_test.go 82 os.Unsetenv("GOPATH")
103 show("GOPATH")
107 // GOPATH not set
  /external/flatbuffers/tests/
GoTest.sh 46 GOPATH=${go_path} go test flatbuffers_test \
  /external/flatbuffers/samples/
go_sample.sh 52 # Export the `GOPATH`, so that `go` will know which directories to search for
54 export GOPATH=${sampledir}/go_gen/

Completed in 1399 milliseconds

1 2 3 4