2 # Copyright (c) 2014 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.
9 if __name__ == '__main__':
10 top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
11 sys.path.append(top_dir)
12 from trace_viewer import trace_viewer_project
13 from trace_viewer.build import update_gyp_and_gn
14 sys.exit(update_gyp_and_gn.Update())