Home | History | Annotate | Download | only in gn

Lines Matching defs:Label

5 #include "tools/gn/label.h"
14 // We print user visible label names with no trailing slash after the
41 *err = Err(input_value, "Label can't start with a single slash",
95 const Label& current_toolchain,
140 "Toolchain name must end in a \")\" at the end of the label.");
190 Label::Label() {
193 Label::Label(const SourceDir& dir,
203 Label::Label(const SourceDir& dir, const base::StringPiece& name)
208 Label::~Label() {
212 Label Label::Resolve(const SourceDir& current_dir,
213 const Label& current_toolchain,
216 Label ret;
231 return Label();
235 Label Label::GetToolchainLabel() const {
236 return Label(toolchain_dir_, toolchain_name_);
239 Label Label::GetWithNoToolchain() const {
240 return Label(dir_, name_);
243 std::string Label::GetUserVisibleName(bool include_toolchain) const {
266 std::string Label::GetUserVisibleName(const Label& default_toolchain) const {