Skip to content

Commit

Permalink
Merge pull request #421 from hochhaus/ver
Browse files Browse the repository at this point in the history
Update to compiler v20160713
  • Loading branch information
joeyparrish committed Jul 26, 2016
2 parents 022226c + b7fc078 commit efaba56
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 77 deletions.
8 changes: 1 addition & 7 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@
# about the old one.
'--jscomp_off=deprecatedAnnotations',

# 'analyzerChecks' complains about countless instances of implicitly
# nullable types, plus a few other issues. Even the closure library doesn't
# pass these checks, and the implicit nullability check in particular is
# over-zealous and unhelpful. So we disable the whole category of
# 'analyzerChecks'.
'--jscomp_off=analyzerChecks',

'--extra_annotation_name=listens',
'--extra_annotation_name=exportDoc',

Expand Down Expand Up @@ -238,6 +231,7 @@ def build_raw(self, extra_opts):
'third_party', 'closure', 'compiler.jar')
jar = shakaBuildHelpers.cygwin_safe_path(jar)
files = [shakaBuildHelpers.cygwin_safe_path(f) for f in self.include]
files.sort()

try:
cmd_line = ['java', '-jar', jar] + closure_opts + extra_opts + files
Expand Down
3 changes: 2 additions & 1 deletion build/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def get(*args):

# Ignore missing goog.require since we assume the whole library is
# already included.
opts = ['--jscomp_off=missingRequire', '--checks-only', '-O', 'SIMPLE']
opts = ['--jscomp_off=missingRequire', '--jscomp_off=strictMissingRequire',
'--checks-only', '-O', 'SIMPLE']
return test_build.build_raw(opts)


Expand Down
57 changes: 0 additions & 57 deletions externs/htmltrackelement.js

This file was deleted.

4 changes: 2 additions & 2 deletions test/media/drm_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ describe('DrmEngine', function() {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 12000; // ms

video = /** @type {HTMLVideoElement} */ (document.createElement('video'));
video.width = '600';
video.height = '400';
video.width = 600;
video.height = 400;
video.muted = true;
document.body.appendChild(video);

Expand Down
4 changes: 2 additions & 2 deletions test/media/media_source_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ describe('MediaSourceEngine', function() {

beforeAll(function(done) {
video = /** @type {HTMLVideoElement} */ (document.createElement('video'));
video.width = '600';
video.height = '400';
video.width = 600;
video.height = 400;
document.body.appendChild(video);

originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
Expand Down
4 changes: 2 additions & 2 deletions test/media/streaming_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ describe('StreamingEngine', function() {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 90000; // ms

video = /** @type {HTMLVideoElement} */ (document.createElement('video'));
video.width = '600';
video.height = '400';
video.width = 600;
video.height = 400;
video.muted = true;
document.body.appendChild(video);
});
Expand Down
4 changes: 2 additions & 2 deletions test/offline/offline_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ describe('Offline', function() {

beforeAll(/** @suppress {accessControls} */ function(done) {
video = /** @type {!HTMLVideoElement} */ (document.createElement('video'));
video.width = '600';
video.height = '400';
video.width = 600;
video.height = 400;
video.muted = true;
document.body.appendChild(video);

Expand Down
4 changes: 2 additions & 2 deletions test/player_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ describe('Player', function() {

beforeAll(function(done) {
video = /** @type {!HTMLVideoElement} */ (document.createElement('video'));
video.width = '600';
video.height = '400';
video.width = 600;
video.height = 400;
video.muted = true;
document.body.appendChild(video);

Expand Down
3 changes: 1 addition & 2 deletions third_party/SUMMARY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
closure/compiler.jar
The closure compiler, v20160208 + patches, by Google.
Cherry-picked 3734b26b to remove bogus arguments checks.
The closure compiler, v20160713, by Google.
Apache v2.0 license.
https://github.com/google/closure-compiler

Expand Down
Binary file modified third_party/closure/compiler.jar
Binary file not shown.

0 comments on commit efaba56

Please sign in to comment.