projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
tools
/
gn
/
source_file.cc
diff --git
a/src/tools/gn/source_file.cc
b/src/tools/gn/source_file.cc
index
7744850
..
b3eb560
100644
(file)
--- a/
src/tools/gn/source_file.cc
+++ b/
src/tools/gn/source_file.cc
@@
-64,6
+64,8
@@
base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const {
}
converted.assign(&value_[2], value_.size() - 2);
+ if (source_root.empty())
+ return UTF8ToFilePath(converted).NormalizePathSeparatorsTo('/');
return source_root.Append(UTF8ToFilePath(converted))
.NormalizePathSeparatorsTo('/');
}