Fix building on OS X

This commit is contained in:
Cheng Zhao 2015-11-13 13:03:00 +08:00
parent 83ae9f8d71
commit 05d2e431de
3 changed files with 16 additions and 3 deletions

View file

@ -179,10 +179,9 @@ base::FilePath GetVersionedDirectory() {
// .app's versioned directory. Go up two steps to get to the browser
// .app's versioned directory.
path = path.DirName().DirName();
DCHECK_EQ(path.BaseName().value(), kChromeVersion);
} else {
// Go into the versioned directory.
path = path.Append("Versions").Append(kChromeVersion);
path = path.Append("Frameworks");
}
return path;