summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/google_apis/build/check_internal.py
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/google_apis/build/check_internal.py')
-rwxr-xr-xmedia/webrtc/trunk/google_apis/build/check_internal.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/media/webrtc/trunk/google_apis/build/check_internal.py b/media/webrtc/trunk/google_apis/build/check_internal.py
new file mode 100755
index 000000000..da0ddae80
--- /dev/null
+++ b/media/webrtc/trunk/google_apis/build/check_internal.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+# Copyright (c) 2012 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.
+
+"""google_api's auto-internal gyp integration.
+
+Takes one argument, a path. Prints 1 if the path exists, 0 if not.
+"""
+
+
+import os
+import sys
+
+
+if __name__ == '__main__':
+ if os.path.exists(sys.argv[1]):
+ print 1
+ else:
+ print 0