Home | History | Annotate | Download | only in gn

Lines Matching defs:dir

27   const std::string& dir = target->label().dir().value();
28 size_t last_slash = dir.size() - 1;
31 size_t next_to_last_slash = dir.rfind('/', last_slash - 1);
33 dir_name = dir.substr(next_to_last_slash + 1,
44 return SourceFile(dir + dir_name + ".gyp");
86 std::string GypHelper::GetDirReference(const SourceDir& dir,
89 if (dir.is_null())
92 if (dir.is_system_absolute()) {
93 ret = FilePathToUTF8(dir.Resolve(base::FilePath()));
96 ret.append(&dir.value()[2], dir.value().size() - 2);