Fix building on OS X
This commit is contained in:
parent
83ae9f8d71
commit
05d2e431de
3 changed files with 16 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue