2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
9 --inner-function-count=10 \
10 --function-call-count=1 \
11 --closure-call-count=1 \
12 --inner-function-line-count=1 \
14 readonly MEDIUM_OPTS
="\
17 --inner-function-count=20 \
18 --function-call-count=5 \
19 --closure-call-count=5 \
20 --inner-function-line-count=2 \
22 readonly HEAVY_OPTS
="\
24 --function-count=200 \
25 --inner-function-count=40 \
26 --function-call-count=10 \
27 --closure-call-count=10 \
28 --inner-function-line-count=3 \
32 local generator
="./_second_batch_js_generator.py"
34 // Generated with $generator $@
36 // Copyright 2015 The Chromium Authors. All rights reserved.
37 // Use of this source code is governed by a BSD-style license that can be
38 // found in the LICENSE file.
40 $generator $@ | yui-compressor
--type js
;
43 generate
$LIGHT_OPTS > second_batch_js_light.min.js
44 generate
$MEDIUM_OPTS > second_batch_js_medium.min.js
45 generate
$HEAVY_OPTS > second_batch_js_heavy.min.js