summaryrefslogtreecommitdiffstats
path: root/o3d/build/file_exists.py
diff options
context:
space:
mode:
authorgspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 23:45:00 +0000
committergspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 23:45:00 +0000
commit91331289a995eef199a0f3d715f306b3b92a1e6b (patch)
treee75abcc0be29691df13fc87b56e53e2b2c1fbe26 /o3d/build/file_exists.py
parent04d4d5433e517210c77fcd0bccaba76a0de57e66 (diff)
downloadchromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.zip
chromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.tar.gz
chromium_src-91331289a995eef199a0f3d715f306b3b92a1e6b.tar.bz2
This adds splitting of samples for the interactive sampler,
and docs building to the GYP build. Review URL: http://codereview.chromium.org/159825 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/build/file_exists.py')
-rw-r--r--o3d/build/file_exists.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/o3d/build/file_exists.py b/o3d/build/file_exists.py
new file mode 100644
index 0000000..6f6abb2
--- /dev/null
+++ b/o3d/build/file_exists.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os.path
+import sys
+
+sys.stdout.write(str(os.path.exists(sys.argv[1])))
+sys.exit(0)