From 87a62d717e038d2af77c361ccc4c43fcf89bbbf2 Mon Sep 17 00:00:00 2001 From: Andy Hochhaus Date: Sat, 25 Jun 2016 14:01:37 -0700 Subject: [PATCH] Add missing goog.require() dependencies --- lib/dash/content_protection.js | 2 ++ lib/dash/dash_parser.js | 1 + lib/dash/segment_list.js | 1 + lib/dash/segment_template.js | 2 ++ lib/media/drm_engine.js | 1 + lib/media/manifest_parser.js | 1 + lib/media/media_source_engine.js | 1 + lib/media/playhead.js | 1 + lib/media/presentation_timeline.js | 3 +++ lib/media/streaming_engine.js | 1 + lib/net/data_uri_plugin.js | 1 + lib/offline/db_engine.js | 1 + lib/offline/download_manager.js | 1 + lib/offline/storage.js | 2 ++ lib/player.js | 1 + lib/polyfill/patchedmediakeys_20140218.js | 2 ++ lib/util/config_utils.js | 3 +++ lib/util/stream_utils.js | 1 + lib/util/string_utils.js | 1 + 19 files changed, 27 insertions(+) diff --git a/lib/dash/content_protection.js b/lib/dash/content_protection.js index c95ae2827..523c75562 100644 --- a/lib/dash/content_protection.js +++ b/lib/dash/content_protection.js @@ -18,9 +18,11 @@ goog.provide('shaka.dash.ContentProtection'); goog.require('goog.asserts'); +goog.require('shaka.log'); goog.require('shaka.util.Error'); goog.require('shaka.util.Functional'); goog.require('shaka.util.MapUtils'); +goog.require('shaka.util.Uint8ArrayUtils'); goog.require('shaka.util.XmlUtils'); diff --git a/lib/dash/dash_parser.js b/lib/dash/dash_parser.js index b90e4e8a1..29a9ecea5 100644 --- a/lib/dash/dash_parser.js +++ b/lib/dash/dash_parser.js @@ -31,6 +31,7 @@ goog.require('shaka.net.NetworkingEngine'); goog.require('shaka.util.Error'); goog.require('shaka.util.Functional'); goog.require('shaka.util.LanguageUtils'); +goog.require('shaka.util.MapUtils'); goog.require('shaka.util.MultiMap'); goog.require('shaka.util.StringUtils'); goog.require('shaka.util.XmlUtils'); diff --git a/lib/dash/segment_list.js b/lib/dash/segment_list.js index 89e3dfa81..3cac1b98e 100644 --- a/lib/dash/segment_list.js +++ b/lib/dash/segment_list.js @@ -20,6 +20,7 @@ goog.provide('shaka.dash.SegmentList'); goog.require('goog.asserts'); goog.require('shaka.dash.MpdUtils'); goog.require('shaka.dash.SegmentBase'); +goog.require('shaka.log'); goog.require('shaka.media.SegmentIndex'); goog.require('shaka.media.SegmentReference'); goog.require('shaka.util.Error'); diff --git a/lib/dash/segment_template.js b/lib/dash/segment_template.js index 9ed5352fb..2dd338dde 100644 --- a/lib/dash/segment_template.js +++ b/lib/dash/segment_template.js @@ -19,6 +19,8 @@ goog.provide('shaka.dash.SegmentTemplate'); goog.require('goog.asserts'); goog.require('shaka.dash.MpdUtils'); +goog.require('shaka.dash.SegmentBase'); +goog.require('shaka.log'); goog.require('shaka.media.InitSegmentReference'); goog.require('shaka.media.SegmentIndex'); goog.require('shaka.media.SegmentReference'); diff --git a/lib/media/drm_engine.js b/lib/media/drm_engine.js index 19a2cb656..789b1803b 100644 --- a/lib/media/drm_engine.js +++ b/lib/media/drm_engine.js @@ -19,6 +19,7 @@ goog.provide('shaka.media.DrmEngine'); goog.require('goog.asserts'); goog.require('shaka.log'); +goog.require('shaka.net.NetworkingEngine'); goog.require('shaka.util.ArrayUtils'); goog.require('shaka.util.Error'); goog.require('shaka.util.EventManager'); diff --git a/lib/media/manifest_parser.js b/lib/media/manifest_parser.js index 4071af687..8fc512b53 100644 --- a/lib/media/manifest_parser.js +++ b/lib/media/manifest_parser.js @@ -18,6 +18,7 @@ goog.provide('shaka.media.ManifestParser'); goog.require('goog.Uri'); +goog.require('shaka.log'); goog.require('shaka.net.NetworkingEngine'); goog.require('shaka.util.Error'); diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js index 966b1587e..ec25c5932 100644 --- a/lib/media/media_source_engine.js +++ b/lib/media/media_source_engine.js @@ -18,6 +18,7 @@ goog.provide('shaka.media.MediaSourceEngine'); goog.require('goog.asserts'); +goog.require('shaka.log'); goog.require('shaka.media.TextEngine'); goog.require('shaka.media.TimeRangesUtils'); goog.require('shaka.util.Error'); diff --git a/lib/media/playhead.js b/lib/media/playhead.js index ebd67a863..904cdbad4 100644 --- a/lib/media/playhead.js +++ b/lib/media/playhead.js @@ -18,6 +18,7 @@ goog.provide('shaka.media.Playhead'); goog.require('goog.asserts'); +goog.require('shaka.log'); goog.require('shaka.media.PresentationTimeline'); goog.require('shaka.media.TimeRangesUtils'); goog.require('shaka.util.EventManager'); diff --git a/lib/media/presentation_timeline.js b/lib/media/presentation_timeline.js index 9595496db..5f9693a13 100644 --- a/lib/media/presentation_timeline.js +++ b/lib/media/presentation_timeline.js @@ -17,6 +17,9 @@ goog.provide('shaka.media.PresentationTimeline'); +goog.require('goog.asserts'); +goog.require('shaka.log'); + /** diff --git a/lib/media/streaming_engine.js b/lib/media/streaming_engine.js index e8ab50de5..326e7b4e7 100644 --- a/lib/media/streaming_engine.js +++ b/lib/media/streaming_engine.js @@ -18,6 +18,7 @@ goog.provide('shaka.media.StreamingEngine'); goog.require('goog.asserts'); +goog.require('shaka.log'); goog.require('shaka.media.MediaSourceEngine'); goog.require('shaka.media.Playhead'); goog.require('shaka.net.NetworkingEngine'); diff --git a/lib/net/data_uri_plugin.js b/lib/net/data_uri_plugin.js index b6b72443c..e54b1bb91 100644 --- a/lib/net/data_uri_plugin.js +++ b/lib/net/data_uri_plugin.js @@ -17,6 +17,7 @@ goog.provide('shaka.net.DataUriPlugin'); +goog.require('shaka.log'); goog.require('shaka.net.NetworkingEngine'); goog.require('shaka.util.Error'); goog.require('shaka.util.StringUtils'); diff --git a/lib/offline/db_engine.js b/lib/offline/db_engine.js index 1742c03e3..e00bf7fb6 100644 --- a/lib/offline/db_engine.js +++ b/lib/offline/db_engine.js @@ -17,6 +17,7 @@ goog.provide('shaka.offline.DBEngine'); +goog.require('goog.asserts'); goog.require('shaka.util.Error'); goog.require('shaka.util.Functional'); goog.require('shaka.util.IDestroyable'); diff --git a/lib/offline/download_manager.js b/lib/offline/download_manager.js index 3eec95cdf..2db94bcf6 100644 --- a/lib/offline/download_manager.js +++ b/lib/offline/download_manager.js @@ -17,6 +17,7 @@ goog.provide('shaka.offline.DownloadManager'); +goog.require('goog.asserts'); goog.require('shaka.net.NetworkingEngine'); goog.require('shaka.util.Error'); goog.require('shaka.util.IDestroyable'); diff --git a/lib/offline/storage.js b/lib/offline/storage.js index 114acc1b8..aaffca1ea 100644 --- a/lib/offline/storage.js +++ b/lib/offline/storage.js @@ -17,11 +17,13 @@ goog.provide('shaka.offline.Storage'); +goog.require('goog.asserts'); goog.require('shaka.Player'); goog.require('shaka.media.DrmEngine'); goog.require('shaka.media.ManifestParser'); goog.require('shaka.offline.DBEngine'); goog.require('shaka.offline.DownloadManager'); +goog.require('shaka.offline.OfflineManifestParser'); goog.require('shaka.util.ConfigUtils'); goog.require('shaka.util.Error'); goog.require('shaka.util.Functional'); diff --git a/lib/player.js b/lib/player.js index 262eba98a..58f82b637 100644 --- a/lib/player.js +++ b/lib/player.js @@ -34,6 +34,7 @@ goog.require('shaka.util.EventManager'); goog.require('shaka.util.FakeEvent'); goog.require('shaka.util.FakeEventTarget'); goog.require('shaka.util.IDestroyable'); +goog.require('shaka.util.MapUtils'); goog.require('shaka.util.PublicPromise'); goog.require('shaka.util.StreamUtils'); diff --git a/lib/polyfill/patchedmediakeys_20140218.js b/lib/polyfill/patchedmediakeys_20140218.js index 8f2105245..298853fd1 100644 --- a/lib/polyfill/patchedmediakeys_20140218.js +++ b/lib/polyfill/patchedmediakeys_20140218.js @@ -19,11 +19,13 @@ goog.provide('shaka.polyfill.PatchedMediaKeys.v20140218'); goog.require('goog.asserts'); goog.require('shaka.log'); +goog.require('shaka.util.ArrayUtils'); goog.require('shaka.util.EventManager'); goog.require('shaka.util.FakeEvent'); goog.require('shaka.util.FakeEventTarget'); goog.require('shaka.util.Pssh'); goog.require('shaka.util.PublicPromise'); +goog.require('shaka.util.Uint8ArrayUtils'); /** diff --git a/lib/util/config_utils.js b/lib/util/config_utils.js index e52c82be8..9fda7d6e2 100644 --- a/lib/util/config_utils.js +++ b/lib/util/config_utils.js @@ -17,6 +17,9 @@ goog.provide('shaka.util.ConfigUtils'); +goog.require('goog.asserts'); +goog.require('shaka.log'); + /** * @param {!Object} destination diff --git a/lib/util/stream_utils.js b/lib/util/stream_utils.js index 7992e2a48..7a19af954 100644 --- a/lib/util/stream_utils.js +++ b/lib/util/stream_utils.js @@ -17,6 +17,7 @@ goog.provide('shaka.util.StreamUtils'); +goog.require('shaka.log'); goog.require('shaka.media.DrmEngine'); goog.require('shaka.media.MediaSourceEngine'); goog.require('shaka.util.Functional'); diff --git a/lib/util/string_utils.js b/lib/util/string_utils.js index 97ec174c8..64f09bee6 100644 --- a/lib/util/string_utils.js +++ b/lib/util/string_utils.js @@ -17,6 +17,7 @@ goog.provide('shaka.util.StringUtils'); +goog.require('shaka.log'); goog.require('shaka.util.Error');