Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Side by Side Diff: tools/json_schema_compiler/create_externs.sh

Issue 15677003: Generate externs automatically from json/idl files. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/bash
2
3 schema_compiler_dir=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
4 chromium_src_dir="${schema_compiler_dir}/../.."
5
6 set -e
7
8 for f in ${chromium_src_dir}/chrome/common/extensions/api/*.idl; do
9 "${schema_compiler_dir}/compiler.py" "${f}" \
10 --root=${chromium_src_dir} \
11 --generator=externs
12 # Just printing to stdout for now
13 done
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/compiler.py ('k') | tools/json_schema_compiler/js_externs_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698