...

Source file src/github.com/bazelbuild/buildtools/config/config.go

Documentation: github.com/bazelbuild/buildtools/config

     1  /*
     2  Copyright 2017 Google LLC
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      https://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Package config provides environment specific configuration elements to unused_deps
    18  package config
    19  
    20  var (
    21  	// DefaultBuildTool should be used to build and extract deps
    22  	DefaultBuildTool = "bazel"
    23  	// BuildToolHelp message for above
    24  	BuildToolHelp = "the build executable (like bazel)"
    25  	// ExtraActionFileNameHelp help for extra actions
    26  	ExtraActionFileNameHelp = "When specified, just prints suspected unused deps."
    27  	// DefaultBinDir is used to query for Bazel's bazel-bin directory.
    28  	DefaultBinDir = "bazel-bin"
    29  	// DefaultOutputBase is used to query for Bazel's output base directory.
    30  	DefaultOutputBase = "output_base"
    31  	// DefaultOutputPath is used to query for Bazel's bazel-out directory.
    32  	DefaultOutputPath = "output_path"
    33  	// DefaultExtraBuildFlags is internal-only
    34  	DefaultExtraBuildFlags = []string{}
    35  )
    36  

View as plain text