Runs closure compiler for htmlparser_test.js. Args: out_dir: directory name of the output directory. Must not have slashes, dots, etc.
(out_dir)
| 395 | |
| 396 | |
| 397 | def CompileHtmlparserTestMinified(out_dir): |
| 398 | """Runs closure compiler for htmlparser_test.js. |
| 399 | |
| 400 | Args: |
| 401 | out_dir: directory name of the output directory. Must not have slashes, |
| 402 | dots, etc. |
| 403 | """ |
| 404 | logging.info('entering ...') |
| 405 | CompileWithClosure( |
| 406 | js_files=[ |
| 407 | 'js/engine/htmlparser.js', 'js/engine/htmlparser-interface.js', |
| 408 | 'js/engine/htmlparser_test.js' |
| 409 | ], |
| 410 | definitions=[], |
| 411 | entry_points=['amp.htmlparser.HtmlParserTest'], |
| 412 | output_file='%s/htmlparser_test_minified.js' % out_dir) |
| 413 | logging.info('... success') |
| 414 | |
| 415 | |
| 416 | def CompileParseCssTestMinified(out_dir): |
no test coverage detected