#!/usr/bin/env python
# Copyright (c) 2014 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
import sys


src_dir = os.path.join(os.path.dirname(__file__), '..')

if __name__ == '__main__':
  top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
  sys.path.append(top_dir)
  import trace_viewer
  from tvcm import gjslint
  sys.exit(gjslint.Main([
    os.path.join(top_dir, 'trace_viewer'),
    os.path.join(top_dir, 'third_party/tvcm/src')
  ]))
