forked from Mirrors/oauth2
Fixing build constraints for GAE and GAE managed runtime.
GAE managed VM runtime contains both appengine and appenginevm build tags. Currently, appengine.go is being built even if user wants to use the package on managed VM that errors with no "appengine" package to import.
This commit is contained in:
parent
85a0f4506d
commit
a388976807
|
@ -3,6 +3,7 @@
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build appengine
|
// +build appengine
|
||||||
|
// +build !appenginevm
|
||||||
|
|
||||||
package google
|
package google
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// +build !appengine
|
// +build appenginevm
|
||||||
|
|
||||||
package google
|
package google
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue