MCPcopy Index your code
hub / github.com/ampproject/amphtml / CompileKeyframesParseCssTestMinified

Function CompileKeyframesParseCssTestMinified

validator/build.py:483–503  ·  view source on GitHub ↗

Runs closure compiler for keyframes-parse-css_test.js. Args: out_dir: directory name of the output directory. Must not have slashes, dots, etc.

(out_dir)

Source from the content-addressed store, hash-verified

481
482
483def CompileKeyframesParseCssTestMinified(out_dir):
484 """Runs closure compiler for keyframes-parse-css_test.js.
485
486 Args:
487 out_dir: directory name of the output directory. Must not have slashes,
488 dots, etc.
489 """
490 logging.info('entering ...')
491 CompileWithClosure(
492 js_files=[
493 'js/engine/definitions.js', 'js/engine/keyframes-parse-css_test.js',
494 'js/engine/parse-css.js', 'js/engine/parse-url.js',
495 'js/engine/keyframes-parse-css.js', 'js/engine/tokenize-css.js',
496 'js/engine/json-testutil.js',
497 '%s/validator-generated.js' % out_dir,
498 '%s/validator-proto-generated.js' % out_dir
499 ],
500 definitions=[],
501 entry_points=['parse_css.KeyframesParseCssTest'],
502 output_file='%s/keyframes-parse-css_test_minified.js' % out_dir)
503 logging.info('... success')
504
505
506def CompileParseSrcsetTestMinified(out_dir):

Callers 1

MainFunction · 0.85

Calls 2

CompileWithClosureFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected