1#!/usr/bin/env python
2# Copyright (c) 2015 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import os
7import sys
8
9src_dir = os.path.join(os.path.dirname(__file__), '..')
10
11if __name__ == '__main__':
12  top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
13  sys.path.append(top_dir)
14  import tracing
15  from hooks import gjslint
16  sys.exit(gjslint.Main([
17    os.path.join(top_dir, 'tracing', 'tracing'),
18  ]))
19