mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-21 13:41:46 +02:00
This renames the package+symbols in the earlier 17ffa8013835d4 to be in their own package ("buildfeatures") and start with the word "Has" like "if buildfeatures.HasFoo {". Updates #12614 Change-Id: I510e5f65993e5b76a0e163e3aa4543755213cbf6 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
14 lines
494 B
Go
14 lines
494 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Code generated by gen.go; DO NOT EDIT.
|
|
|
|
//go:build ts_omit_syspolicy
|
|
|
|
package buildfeatures
|
|
|
|
// HasSystemPolicy is whether the binary was built with support for modular feature "System policy configuration (MDM) support".
|
|
// Specifically, it's whether the binary was NOT built with the "ts_omit_syspolicy" build tag.
|
|
// It's a const so it can be used for dead code elimination.
|
|
const HasSystemPolicy = false
|