Skip to content

Commit

Permalink
Ensure v8_snapshot_dir is not defined when building for Mac.
Browse files Browse the repository at this point in the history
BUG=421063

Review URL: https://codereview.chromium.org/750963003

Cr-Commit-Position: refs/heads/master@{#306094}
  • Loading branch information
baixo authored and Commit bot committed Nov 28, 2014
1 parent 02429d1 commit 5e911d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gin/isolate_holder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ bool MapV8Files(base::FilePath* natives_path, base::FilePath* snapshot_path,
return true;
}

#if !defined(OS_MACOSX)
const int v8_snapshot_dir =
#if defined(OS_ANDROID)
base::DIR_ANDROID_APP_DATA;
#elif defined(OS_POSIX)
base::DIR_EXE;
#endif // defined(OS_ANDROID)
#endif // !defined(OS_MACOSX)

#endif // V8_USE_EXTERNAL_STARTUP_DATA

Expand Down

0 comments on commit 5e911d0

Please sign in to comment.