mirror of
https://github.com/tailscale/tailscale.git
synced 2026-03-07 06:22:26 +01:00
Add new "webbrowser" and "colorable" feature tags so that the github.com/toqueteos/webbrowser and mattn/go-colorable packages can be excluded from minbox builds. Updates #12614 Change-Id: Iabd38b242f5a56aa10ef2050113785283f4e1fe8 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
14 lines
491 B
Go
14 lines
491 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Code generated by gen.go; DO NOT EDIT.
|
|
|
|
//go:build !ts_omit_webbrowser
|
|
|
|
package buildfeatures
|
|
|
|
// HasWebBrowser is whether the binary was built with support for modular feature "Open URLs in the user's web browser".
|
|
// Specifically, it's whether the binary was NOT built with the "ts_omit_webbrowser" build tag.
|
|
// It's a const so it can be used for dead code elimination.
|
|
const HasWebBrowser = true
|