blob: 028ea83e08e70234d5913b46400e646d6aa5b756 [file] [log] [blame] [edit]
#!/bin/sh
# Re-builds all the generated code in ../java/elemental/ from the scraped IDL files
# in w3c/. This will blow away all files labeled "generated code".
ROOT=`dirname $0`
python \
${ROOT}/css/generate-style.py \
${ROOT}/css/styles.txt \
${ROOT}/templates/java_interface_CSSStyleDeclaration.darttemplate \
${ROOT}/templates/jso_impl_CSSStyleDeclaration.darttemplate
python ${ROOT}/scripts/elemental_fremontcutbuilder.py
python ${ROOT}/scripts/elementaldomgenerator.py
# Keep compatibility with Google's internal build
if [ -d ${ROOT}/../java/elemental/ ]; then
cp -R ${ROOT}/generated/src/elemental/* ${ROOT}/../java/elemental/
fi