Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash | |
|
Dan Beam
2015/03/19 19:15:02
:_(
Devlin
2015/03/19 20:59:57
Actually, why is this file even here? Removing.
| |
| 2 # | |
| 3 # Reads the IDL files from chrome/common/extensions/api/ and | |
| 4 # writes JS externs for the Closure Compiler to stdout. | |
| 5 | |
| 6 schema_compiler_dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) | |
| 7 chromium_src_dir="${schema_compiler_dir}/../.." | |
| 8 | |
| 9 set -e | |
| 10 | |
| 11 for f in ${chromium_src_dir}/chrome/common/extensions/api/*.idl; do | |
| 12 "${schema_compiler_dir}/compiler.py" "${f}" \ | |
| 13 --root=${chromium_src_dir} \ | |
| 14 --generator=externs | |
| 15 done | |
| OLD | NEW |