1b122baf563564a1d478804fb882fcba242a9949eChris Craik#!/usr/bin/env python 2b122baf563564a1d478804fb882fcba242a9949eChris Craik# Copyright (c) 2014 The Chromium Authors. All rights reserved. 3b122baf563564a1d478804fb882fcba242a9949eChris Craik# Use of this source code is governed by a BSD-style license that can be 4b122baf563564a1d478804fb882fcba242a9949eChris Craik# found in the LICENSE file. 5b122baf563564a1d478804fb882fcba242a9949eChris Craik 6b122baf563564a1d478804fb882fcba242a9949eChris Craikimport sys 7ced05db70069f9d84c4b0dd9b3b26b94e3482336Chris Craikimport os 8b122baf563564a1d478804fb882fcba242a9949eChris Craik 9b122baf563564a1d478804fb882fcba242a9949eChris Craikif __name__ == '__main__': 107332cdb42368a904cbf7418de329868989e592daChris Craik tracing_path = os.path.abspath(os.path.join( 117332cdb42368a904cbf7418de329868989e592daChris Craik os.path.dirname(os.path.realpath(__file__)), '..')) 124a4f2fe02baf385f6c24fc98c6e17bf6ac5e0724Dan Sinclair sys.path.append(tracing_path) 134a4f2fe02baf385f6c24fc98c6e17bf6ac5e0724Dan Sinclair from tracing_build import trace2html 144a4f2fe02baf385f6c24fc98c6e17bf6ac5e0724Dan Sinclair sys.exit(trace2html.Main(sys.argv)) 15