Home | History | Annotate | Download | only in build
      1 #!/usr/bin/env python
      2 # Copyright (c) 2012 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 import sys
      6 
      7 import generate_about_tracing_contents
      8 import generate_deps_js_contents
      9 
     10 def regenerate_deps():
     11   if generate_deps_js_contents.main([sys.argv[0]]):
     12     return 255
     13   if generate_about_tracing_contents.main([sys.argv[0]]):
     14     return 255
     15   return 0
     16 
     17 def main(args):
     18   return regenerate_deps()
     19 
     20 if __name__ == "__main__":
     21   sys.exit(main(sys.argv[1:]))
     22