diff options
author | Ravi Mistry <rmistry@google.com> | 2017-03-20 12:55:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-20 17:40:30 +0000 |
commit | f9bd468325fbce7a9eb5b1ce28537f628c4f8535 (patch) | |
tree | a529d56c7eed9d3816d80d9117ff75839af01963 /gn | |
parent | a15908500824900bb9808339aa10e95b9b6dd7f8 (diff) |
Make gn directory importable in python
This will make it possible to do
>>> from gn import gn_to_bp
instead of:
>>> sys.path.append('gn')
>>> import gn_to_bp
in the new Android autoroller
BUG=skia:5538
Change-Id: I4fe851247ab6dd5bc553b8315ad91281819fbc7e
Reviewed-on: https://skia-review.googlesource.com/9897
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gn/__init__.py b/gn/__init__.py new file mode 100644 index 0000000000..56648285ab --- /dev/null +++ b/gn/__init__.py @@ -0,0 +1,3 @@ +# Copyright (c) 2017 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. |