Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: go/deps.py

Issue 2233183002: Add gomobile to infra's Go deps, and also roll. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Add gomobile to deps.py whitelist Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « go/deps.lock ('k') | go/deps.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """A tool to prepare a GOPATH with vendored Go dependenies. 6 """A tool to prepare a GOPATH with vendored Go dependenies.
7 7
8 We abuse Glide by using it for GOPATH-based vendoring, while it is supposed to 8 We abuse Glide by using it for GOPATH-based vendoring, while it is supposed to
9 be used for "Vendor Experiment"-based vendoring. 9 be used for "Vendor Experiment"-based vendoring.
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 # be installed via "go install" after Glide fetches all vendored dependencies. 43 # be installed via "go install" after Glide fetches all vendored dependencies.
44 # See 'install' function below. 44 # See 'install' function below.
45 VENDORED_TOOLS = [ 45 VENDORED_TOOLS = [
46 'github.com/golang/lint/golint', 46 'github.com/golang/lint/golint',
47 'github.com/golang/protobuf/protoc-gen-go', 47 'github.com/golang/protobuf/protoc-gen-go',
48 'github.com/kisielk/errcheck', 48 'github.com/kisielk/errcheck',
49 'github.com/maruel/panicparse/cmd/pp', 49 'github.com/maruel/panicparse/cmd/pp',
50 'github.com/maruel/pre-commit-go/cmd/covg', 50 'github.com/maruel/pre-commit-go/cmd/covg',
51 'github.com/maruel/pre-commit-go/cmd/pcg', 51 'github.com/maruel/pre-commit-go/cmd/pcg',
52 'github.com/smartystreets/goconvey', 52 'github.com/smartystreets/goconvey',
53 'golang.org/x/mobile/cmd/gomobile',
53 'golang.org/x/tools/cmd/callgraph', 54 'golang.org/x/tools/cmd/callgraph',
54 'golang.org/x/tools/cmd/fiximports', 55 'golang.org/x/tools/cmd/fiximports',
55 'golang.org/x/tools/cmd/godex', 56 'golang.org/x/tools/cmd/godex',
56 'golang.org/x/tools/cmd/goimports', 57 'golang.org/x/tools/cmd/goimports',
57 'golang.org/x/tools/cmd/gomvpkg', 58 'golang.org/x/tools/cmd/gomvpkg',
58 'golang.org/x/tools/cmd/gorename', 59 'golang.org/x/tools/cmd/gorename',
59 'golang.org/x/tools/cmd/guru', 60 'golang.org/x/tools/cmd/guru',
60 'golang.org/x/tools/cmd/oracle', 61 'golang.org/x/tools/cmd/oracle',
61 'golang.org/x/tools/cmd/stringer', 62 'golang.org/x/tools/cmd/stringer',
62 'google.golang.org/api/google-api-go-generator', 63 'google.golang.org/api/google-api-go-generator',
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 if opts.action == remove: 541 if opts.action == remove:
541 return remove(workspace, opts.pkg) 542 return remove(workspace, opts.pkg)
542 assert False, 'Unreachable' 543 assert False, 'Unreachable'
543 except CallFailed as exc: 544 except CallFailed as exc:
544 print >> sys.stderr, str(exc) 545 print >> sys.stderr, str(exc)
545 return 1 546 return 1
546 547
547 548
548 if __name__ == '__main__': 549 if __name__ == '__main__':
549 sys.exit(main(sys.argv[1:])) 550 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « go/deps.lock ('k') | go/deps.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698