From: Russ Cox Date: Wed, 23 Aug 2017 23:12:54 +0000 (-0400) Subject: [dev.boringcrypto] crypto/internal/boring: disable for android & non-cgo builds X-Git-Tag: go1.19beta1~484^2~182 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=94fb8224b2;p=gostls13.git [dev.boringcrypto] crypto/internal/boring: disable for android & non-cgo builds Change-Id: Ia4458090118c4391a73cf1ae65bc8d187f03eca0 Reviewed-on: https://go-review.googlesource.com/59051 Reviewed-by: Ian Lance Taylor --- diff --git a/src/crypto/internal/boring/aes.go b/src/crypto/internal/boring/aes.go index 225d7469c5..a977158c18 100644 --- a/src/crypto/internal/boring/aes.go +++ b/src/crypto/internal/boring/aes.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/boring.go b/src/crypto/internal/boring/boring.go index b2d47c036f..97659e4ff7 100644 --- a/src/crypto/internal/boring/boring.go +++ b/src/crypto/internal/boring/boring.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/ecdsa.go b/src/crypto/internal/boring/ecdsa.go index 36176efccd..f931d732f4 100644 --- a/src/crypto/internal/boring/ecdsa.go +++ b/src/crypto/internal/boring/ecdsa.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/hmac.go b/src/crypto/internal/boring/hmac.go index f4497e91f6..a547438222 100644 --- a/src/crypto/internal/boring/hmac.go +++ b/src/crypto/internal/boring/hmac.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/notboring.go b/src/crypto/internal/boring/notboring.go index c8bcf66fc6..22f3553324 100644 --- a/src/crypto/internal/boring/notboring.go +++ b/src/crypto/internal/boring/notboring.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !linux !amd64 cmd_go_bootstrap +// +build !linux !amd64 cmd_go_bootstrap android !cgo package boring diff --git a/src/crypto/internal/boring/rand.go b/src/crypto/internal/boring/rand.go index 522bc33978..71c644bdf4 100644 --- a/src/crypto/internal/boring/rand.go +++ b/src/crypto/internal/boring/rand.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/rsa.go b/src/crypto/internal/boring/rsa.go index 241560980f..0066520bf3 100644 --- a/src/crypto/internal/boring/rsa.go +++ b/src/crypto/internal/boring/rsa.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring diff --git a/src/crypto/internal/boring/sha.go b/src/crypto/internal/boring/sha.go index 6d0532b774..bc91f4a490 100644 --- a/src/crypto/internal/boring/sha.go +++ b/src/crypto/internal/boring/sha.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build linux,amd64 +// +build !android // +build !cmd_go_bootstrap package boring