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

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

Issue 511943003: Generate externs automatically from json/idl files: minor changes. Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: Created 6 years, 3 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
Tyler Breisacher (Chromium) 2015/02/25 00:17:23 Let's remove this and just make it part of the off
13 done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698