OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import argparse | 6 import argparse |
7 import os.path | 7 import os.path |
8 import sys | 8 import sys |
9 | 9 |
10 def main(): | 10 def main(): |
(...skipping 12 matching lines...) Expand all Loading... |
23 base = base.replace("\\", "/") | 23 base = base.replace("\\", "/") |
24 print base + ".mojom.cc" | 24 print base + ".mojom.cc" |
25 print base + ".mojom.h" | 25 print base + ".mojom.h" |
26 print base + ".mojom-internal.h" | 26 print base + ".mojom-internal.h" |
27 print base + ".mojom.js" | 27 print base + ".mojom.js" |
28 | 28 |
29 return 0 | 29 return 0 |
30 | 30 |
31 if __name__ == "__main__": | 31 if __name__ == "__main__": |
32 sys.exit(main()) | 32 sys.exit(main()) |
OLD | NEW |