Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer / build / update_gyp_and_gn
1 #!/usr/bin/env python
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.
5
6 import os
7 import sys
8
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())