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 6 import os 7 import sys 8 9 if __name__ == '__main__': 10 sys.stderr.write( 11 'map_traces_locally is deprecated. Use map_traces instead.\n'); 12 perf_insights_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 13 '..')) 14 sys.path.append(perf_insights_path) 15 from perf_insights import map_traces 16 sys.exit(map_traces.Main(sys.argv)) 17