blob: 617b475cd784b41dd184eba0032c7657e2181ae7 [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2015 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 tracing
from hooks import gjslint
sys.exit(gjslint.Main([
os.path.join(top_dir, 'tracing', 'tracing'),
]))