Index: tools/gn/bundle_data.cc |
diff --git a/tools/gn/bundle_data.cc b/tools/gn/bundle_data.cc |
index f211c1ff0881b5fad4d3278ed8645f4f34cdb95b..e1823653ba497cc7ec8764712a1f369dd1287391 100644 |
--- a/tools/gn/bundle_data.cc |
+++ b/tools/gn/bundle_data.cc |
@@ -129,3 +129,8 @@ SourceFile BundleData::GetBundleRootDirOutput(const Settings* settings) const { |
} |
return SourceFile(root_dir().value()); |
} |
+ |
+SourceDir BundleData::GetBundleRootDirOutputAsDir( |
+ const Settings* settings) const { |
+ return SourceDir(GetBundleRootDirOutput(settings).value()); |
sdefresne
2016/05/17 18:45:36
I think you need to add the trailing "/" when call
Robert Sesek
2016/05/17 18:49:34
SourceFile DCHECKs if there is a slash, but Source
sdefresne
2016/05/18 08:08:41
Ah good.
|
+} |