vm/adb: fix ppc64le build

This commit is contained in:
Dmitry Vyukov 2017-03-02 15:21:07 +01:00
parent cf3176e7b8
commit 13051717b5
3 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
// Copyright 2015 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
// +build !ppc64le
package adb
import (

7
vm/adb/adb_ppc64le.go Normal file
View File

@ -0,0 +1,7 @@
// Copyright 2017 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
package adb
// ppc64le does not have golang.org/x/sys/unix.TCGETS2 const required for console.go.
// so adb is currently turned off on ppc64le, this empty file is just to make build succeed.

View File

@ -1,6 +1,8 @@
// Copyright 2016 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
// +build !ppc64le
package adb
import (