| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file should be identical to js_compile.gypi except it passes jscomp_error | 5 # This file should be identical to js_compile.gypi except it passes jscomp_error |
| 6 # flags to the compiler. One should prefer this over js_compile.gypi once the | 6 # flags to the compiler. One should prefer this over js_compile.gypi once the |
| 7 # JS code being compiled are error free. | 7 # JS code being compiled are error free. |
| 8 # | 8 # |
| 9 # This file should be eventually deprecated in favor of | 9 # This file should be eventually deprecated in favor of |
| 10 # third_party/closure_compiler/compile_js.gypi once they have the same set of | 10 # third_party/closure_compiler/compile_js.gypi once they have the same set of |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', | 27 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_NAME)', |
| 28 ], | 28 ], |
| 29 'action': [ | 29 'action': [ |
| 30 'java', | 30 'java', |
| 31 '-jar', | 31 '-jar', |
| 32 '<(closure_compiler_path)', | 32 '<(closure_compiler_path)', |
| 33 '--compilation_level', | 33 '--compilation_level', |
| 34 'SIMPLE_OPTIMIZATIONS', | 34 'SIMPLE_OPTIMIZATIONS', |
| 35 '--jscomp_error=accessControls', | 35 '--jscomp_error=accessControls', |
| 36 '--jscomp_error=ambiguousFunctionDecl', | 36 '--jscomp_error=ambiguousFunctionDecl', |
| 37 '--jscomp_error=checkStructDictInheritance', | |
| 38 # '--jscomp_error=checkTypes', | 37 # '--jscomp_error=checkTypes', |
| 39 # '--jscomp_error=checkVars', | 38 # '--jscomp_error=checkVars', |
| 40 '--jscomp_error=constantProperty', | 39 '--jscomp_error=constantProperty', |
| 41 '--jscomp_error=deprecated', | 40 '--jscomp_error=deprecated', |
| 42 '--jscomp_error=externsValidation', | 41 '--jscomp_error=externsValidation', |
| 43 '--jscomp_error=globalThis', | 42 '--jscomp_error=globalThis', |
| 44 '--jscomp_error=invalidCasts', | 43 '--jscomp_error=invalidCasts', |
| 45 # '--jscomp_error=missingProperties', | 44 # '--jscomp_error=missingProperties', |
| 46 # '--jscomp_error=missingReturn', | 45 # '--jscomp_error=missingReturn', |
| 47 '--jscomp_error=nonStandardJsDocs', | 46 '--jscomp_error=nonStandardJsDocs', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 70 'action': [ | 69 'action': [ |
| 71 'cp', | 70 'cp', |
| 72 '<(RULE_INPUT_PATH)', | 71 '<(RULE_INPUT_PATH)', |
| 73 '<@(_outputs)', | 72 '<@(_outputs)', |
| 74 ], | 73 ], |
| 75 } | 74 } |
| 76 ]} # rule_name: jscompilation | 75 ]} # rule_name: jscompilation |
| 77 ] # condition: compile_javascript | 76 ] # condition: compile_javascript |
| 78 ] # conditions | 77 ] # conditions |
| 79 } | 78 } |
| OLD | NEW |