#!/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

if __name__ == '__main__':
  sys.stderr.write(
      'map_traces_locally is deprecated. Use map_traces instead.\n');
  perf_insights_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
                                                    '..'))
  sys.path.append(perf_insights_path)
  from perf_insights import map_traces
  sys.exit(map_traces.Main(sys.argv))
