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:
Burcu Dogan 2014-09-08 13:33:03 -07:00
parent 85a0f4506d
commit a388976807
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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