1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 'closure_compiler_path': '<(DEPTH)/third_party/closure_compiler/compiler/compiler.jar',
8 'compile_javascript%': 1,
11 ['compile_javascript==1', {
14 'rule_name': 'jscompilation',
17 '<(closure_compiler_path)',
20 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
25 '<(closure_compiler_path)',
26 '--compilation_level',
27 'SIMPLE_OPTIMIZATIONS',
33 'message': 'Running closure compiler on <(RULE_INPUT_NAME)',
34 } # rule_name: jscompilation
39 'rule_name': 'jscompilation',
42 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)',
50 ]} # rule_name: jscompilation
51 ] # condition: compile_javascript