summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/tools/grit/grit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/tools/grit/grit/__init__.py')
-rw-r--r--third_party/libwebrtc/tools/grit/grit/__init__.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/libwebrtc/tools/grit/grit/__init__.py b/third_party/libwebrtc/tools/grit/grit/__init__.py
new file mode 100644
index 0000000000..91ac9ee896
--- /dev/null
+++ b/third_party/libwebrtc/tools/grit/grit/__init__.py
@@ -0,0 +1,19 @@
+# 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.
+
+'''Package 'grit'
+'''
+
+from __future__ import print_function
+
+import os
+import sys
+
+
+_CUR_DIR = os.path.abspath(os.path.dirname(__file__))
+_GRIT_DIR = os.path.dirname(_CUR_DIR)
+_THIRD_PARTY_DIR = os.path.join(_GRIT_DIR, 'third_party')
+
+if _THIRD_PARTY_DIR not in sys.path:
+ sys.path.insert(0, _THIRD_PARTY_DIR)