generate.py
author Brent Baker <brbaker@adobe.com>
Tue, 02 Oct 2012 10:35:52 -0700
changeset 7558 9cdb18e9a83325ee36ea0fb7970c01c14f419d38
parent 7544 9b6b37063cbe863fcb49a0368cc59f964d70bc3f
permissions -rwxr-xr-x
No bug: Add the ability to specify an ASH (Actionscript compiler SHell) jar for compilation. (r=trbaker via review 888080) If an ash jar file is not specified, the compileWithAsh() will attempt to invoke macromedia.asc.embedding.Shell in the asc jarfile. CL@1119723

#!/usr/bin/env python
# -*- Mode: Python; indent-tabs-mode: nil -*-
# vi: set ts=4 sw=4 expandtab:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# generate.py - generate all exactgc tracers
import sys,os
rootdir = os.path.dirname(__file__)
sys.path.append(rootdir)
import utils.exactgc

utils.exactgc.gen_builtins(rootdir + '/generated')
utils.exactgc.gen_shell(rootdir + '/generated')