summaryrefslogtreecommitdiffstats
path: root/gin
diff options
context:
space:
mode:
authorbaixo <baixo@chromium.org>2014-11-28 08:10:22 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-28 16:10:34 +0000
commit5e911d0f3626087606d6e0c441026c24bb7abf6e (patch)
treef6e7cbbe0abcbd46e960689aa81dae495266afa3 /gin
parent02429d141b8d7e8ee9c21096882ecab96a1da770 (diff)
downloadchromium_src-5e911d0f3626087606d6e0c441026c24bb7abf6e.zip
chromium_src-5e911d0f3626087606d6e0c441026c24bb7abf6e.tar.gz
chromium_src-5e911d0f3626087606d6e0c441026c24bb7abf6e.tar.bz2
Ensure v8_snapshot_dir is not defined when building for Mac.
BUG=421063 Review URL: https://codereview.chromium.org/750963003 Cr-Commit-Position: refs/heads/master@{#306094}
Diffstat (limited to 'gin')
-rw-r--r--gin/isolate_holder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 1e8486e..2b6d64b 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -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