| # Copyright 2013 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| """ Compiles a cml manifest file. |
| parser = argparse.ArgumentParser() |
| '--cmc-bin', dest='cmc_bin', action='store', required=True |
| parser.add_argument('--output', dest='output', action='store', required=True) |
| '--manifest-file', dest='manifest_file', action='store', required=True |
| args = parser.parse_args() |
| assert os.path.exists(args.cmc_bin) |
| assert os.path.exists(args.manifest_file) |
| subprocess.check_output([ |
| ] + (args.includepath and ['--includepath'] + args.includepath)) |
| if __name__ == '__main__': |