From 7e6a0f38ff9b28b792d497db6fef8d0130cff51d Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 9 Jun 2020 14:56:22 -0700 Subject: [PATCH] fix: Correct license headers in misc. files This corrects/normalizes license headers in misc. files, such as config files, docs, build tools, tests, and externs. This does not affect the compiled output, and is only done for consistency. Issue #2638 Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a --- .eslintrc.js | 3 ++- build/all.py | 2 +- build/apps.py | 2 +- build/build.py | 2 +- build/check.py | 2 +- build/checkversion.py | 2 +- build/compiler.py | 2 +- build/conformance.textproto | 2 +- build/docs.py | 2 +- .../arg-comment-spacing.js | 3 ++- build/eslint-plugin-shaka-rules/index.js | 3 ++- build/eslint-plugin-shaka-rules/private.js | 3 ++- build/gendeps.py | 2 +- build/generateExterns.js | 3 ++- build/generateLocalizations.py | 2 +- build/pixelsChanged.js | 3 ++- build/shakaBuildHelpers.py | 2 +- build/stats.py | 2 +- build/test.py | 2 +- build/updateScreenshots.py | 2 +- demo/cast_receiver/index.html | 2 +- demo/index.html | 2 +- docs/jsdoc-plugin.js | 3 ++- .../static/scripts/show-widget.js | 3 ++- externs/audiotrack.js | 3 ++- externs/awesomplete.js | 3 ++- externs/cache.js | 3 ++- externs/chromecast.js | 3 ++- externs/dialog_polyfill.js | 3 ++- externs/domstringlist.js | 3 ++- externs/fetch.js | 3 ++- externs/idb.js | 3 ++- externs/ima.js | 3 ++- externs/jwk_set.js | 3 ++- externs/less.js | 3 ++- externs/mdl.js | 3 ++- externs/mediaerror.js | 3 ++- externs/mediasession.js | 3 ++- externs/msmediakeys.js | 3 ++- externs/mux.js | 3 ++- externs/network_information.js | 3 ++- externs/pictureinpicture.js | 3 ++- externs/prefixed_eme.js | 3 ++- externs/shaka/abortable.js | 3 ++- externs/shaka/abr_manager.js | 3 ++- externs/shaka/ads.js | 3 ++- externs/shaka/error.js | 3 ++- externs/shaka/manifest.js | 3 ++- externs/shaka/manifest_parser.js | 3 ++- externs/shaka/mp4_parser.js | 3 ++- externs/shaka/namespace.js | 3 ++- externs/shaka/net.js | 3 ++- externs/shaka/offline.js | 3 ++- externs/shaka/offline_compat_v1.js | 3 ++- externs/shaka/offline_compat_v2.js | 3 ++- externs/shaka/player.js | 3 ++- externs/shaka/text.js | 3 ++- externs/svgelement.js | 3 ++- externs/texttrack.js | 3 ++- externs/tippy.js | 3 ++- externs/trackevent.js | 3 ++- externs/videotrack.js | 3 ++- externs/webkitmediakeys.js | 3 ++- externs/xmlhttprequest.js | 3 ++- index.html | 2 +- karma.conf.js | 3 ++- support.html | 2 +- test/abr/simple_abr_manager_unit.js | 3 ++- test/ads/ad_manager_unit.js | 3 ++- test/assumptions/uint8_array_unit.js | 3 ++- test/cast/cast_proxy_unit.js | 3 ++- test/cast/cast_receiver_integration.js | 3 ++- test/cast/cast_receiver_unit.js | 3 ++- test/cast/cast_sender_unit.js | 3 ++- test/cast/cast_utils_unit.js | 3 ++- .../dash_parser_content_protection_unit.js | 3 ++- test/dash/dash_parser_live_unit.js | 3 ++- test/dash/dash_parser_manifest_unit.js | 3 ++- test/dash/dash_parser_segment_base_unit.js | 3 ++- test/dash/dash_parser_segment_list_unit.js | 3 ++- .../dash/dash_parser_segment_template_unit.js | 3 ++- test/dash/mpd_utils_unit.js | 3 ++- test/demo/demo_unit.js | 3 ++- test/deprecate/enforcer_unit.js | 3 ++- test/deprecate/version_unit.js | 3 ++- test/hls/hls_live_unit.js | 3 ++- test/hls/hls_parser_unit.js | 3 ++- test/hls/manifest_text_parser_unit.js | 3 ++- test/media/adaptation_set_criteria_unit.js | 3 ++- test/media/adaptation_set_unit.js | 3 ++- test/media/buffering_observer_unit.js | 3 ++- test/media/drm_engine_integration.js | 3 ++- test/media/drm_engine_unit.js | 3 ++- test/media/manifest_parser_unit.js | 3 ++- test/media/media_source_engine_integration.js | 3 ++- test/media/media_source_engine_unit.js | 3 ++- test/media/mp4_segment_index_parser_unit.js | 3 ++- test/media/play_rate_controller_unit.js | 3 ++- test/media/playhead_unit.js | 3 ++- test/media/presentation_timeline_unit.js | 3 ++- test/media/region_observer_unit.js | 3 ++- test/media/region_timeline_unit.js | 3 ++- test/media/segment_index_unit.js | 3 ++- test/media/segment_reference_unit.js | 3 ++- test/media/stall_detector_unit.js | 3 ++- test/media/streaming_engine_integration.js | 3 ++- test/media/streaming_engine_unit.js | 3 ++- test/media/time_ranges_utils_unit.js | 3 ++- test/media/transmuxer_integration.js | 3 ++- test/media/webm_segment_index_parser_unit.js | 3 ++- test/net/data_uri_plugin_unit.js | 3 ++- test/net/http_plugin_unit.js | 3 ++- test/net/networking_engine_unit.js | 3 ++- .../download_progress_estimator_unit.js | 3 ++- test/offline/indexeddb_storage_unit.js | 3 ++- test/offline/manifest_convert_unit.js | 3 ++- test/offline/offline_integration.js | 3 ++- test/offline/offline_manifest_parser_unit.js | 3 ++- test/offline/offline_scheme_unit.js | 3 ++- test/offline/offline_uri_unit.js | 3 ++- test/offline/storage_compatibility_unit.js | 3 ++- test/offline/storage_integration.js | 3 ++- test/player_external.js | 3 ++- test/player_integration.js | 3 ++- test/player_load_graph_integration.js | 3 ++- test/player_src_equals_external.js | 3 ++- test/player_src_equals_integration.js | 3 ++- test/player_unit.js | 3 ++- test/routing/walker_unit.js | 3 ++- test/test/assets/screenshots/review.html | 2 +- test/test/boot.js | 3 ++- test/test/externs/filters.js | 3 ++- test/test/externs/fontfaceonload.js | 3 ++- test/test/externs/jasmine.js | 3 ++- test/test/externs/karma.js | 3 ++- test/test/externs/require.js | 3 ++- test/test/externs/sprintf.js | 3 ++- test/test/util/canned_idb.js | 3 ++- test/test/util/dash_parser_util.js | 3 ++- test/test/util/fake_ad.js | 3 ++- test/test/util/fake_ad_manager.js | 3 ++- test/test/util/fake_demo_main.js | 3 ++- test/test/util/fake_drm_engine.js | 3 ++- test/test/util/fake_media_source_engine.js | 3 ++- test/test/util/fake_networking_engine.js | 3 ++- test/test/util/fake_text_displayer.js | 3 ++- test/test/util/indexeddb_utils.js | 3 ++- test/test/util/jasmine_fetch.js | 3 ++- test/test/util/manifest_generator.js | 3 ++- test/test/util/manifest_parser_util.js | 3 ++- test/test/util/offline_utils.js | 3 ++- test/test/util/simple_fakes.js | 3 ++- test/test/util/stream_generator.js | 3 ++- test/test/util/streaming_engine_util.js | 3 ++- test/test/util/test_scheme.js | 3 ++- test/test/util/ui_utils.js | 3 ++- test/test/util/util.js | 3 ++- test/test/util/waiter.js | 3 ++- test/text/cue_integration.js | 3 ++- test/text/mp4_ttml_parser_unit.js | 3 ++- test/text/mp4_vtt_parser_unit.js | 3 ++- test/text/simple_text_displayer_unit.js | 3 ++- test/text/text_engine_unit.js | 3 ++- test/text/text_track_integration.js | 3 ++- test/text/ttml_text_parser_unit.js | 3 ++- test/text/ui_text_displayer_unit.js | 3 ++- test/text/vtt_text_parser_unit.js | 3 ++- test/ui/ad_ui_unit.js | 3 ++- test/ui/localization_unit.js | 3 ++- test/ui/text_displayer_layout_unit.js | 19 ++++--------------- test/ui/text_displayer_unit.js | 3 ++- test/ui/ui_customization_unit.js | 3 ++- test/ui/ui_integration.js | 3 ++- test/ui/ui_unit.js | 3 ++- test/util/abortable_operation_unit.js | 3 ++- test/util/array_utils_unit.js | 3 ++- test/util/buffer_utils_unit.js | 3 ++- test/util/data_view_reader_unit.js | 3 ++- test/util/ebml_parser_unit.js | 3 ++- test/util/event_manager_unit.js | 3 ++- test/util/fake_event_target_unit.js | 3 ++- test/util/iterables_unit.js | 3 ++- test/util/language_utils_unit.js | 3 ++- test/util/manifest_parser_utils_unit.js | 3 ++- test/util/mp4_parser_unit.js | 3 ++- test/util/object_utils_unit.js | 3 ++- test/util/periods_unit.js | 3 ++- test/util/pssh_unit.js | 3 ++- test/util/state_history_unit.js | 3 ++- test/util/stream_utils_unit.js | 3 ++- test/util/string_utils_unit.js | 3 ++- test/util/text_parser_unit.js | 3 ++- test/util/xml_utils_unit.js | 3 ++- 193 files changed, 369 insertions(+), 207 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index fc844a43c..ea3a7524f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ // vim: foldmethod=marker:foldmarker={{{,}}} -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/all.py b/build/all.py index 857adb217..f232c3974 100755 --- a/build/all.py +++ b/build/all.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/apps.py b/build/apps.py index e983fb8f4..4ffdede3e 100755 --- a/build/apps.py +++ b/build/apps.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/build.py b/build/build.py index e452b484e..253b51f5d 100755 --- a/build/build.py +++ b/build/build.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/check.py b/build/check.py index 92b72453a..29f849ca0 100755 --- a/build/check.py +++ b/build/check.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/checkversion.py b/build/checkversion.py index 5eedccdf3..4bc770dc2 100755 --- a/build/checkversion.py +++ b/build/checkversion.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/compiler.py b/build/compiler.py index 92979966a..5cc9723ad 100644 --- a/build/compiler.py +++ b/build/compiler.py @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/conformance.textproto b/build/conformance.textproto index 936cd41f2..2dbcd372b 100644 --- a/build/conformance.textproto +++ b/build/conformance.textproto @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/docs.py b/build/docs.py index f1ac806fe..5f2058ae0 100755 --- a/build/docs.py +++ b/build/docs.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/eslint-plugin-shaka-rules/arg-comment-spacing.js b/build/eslint-plugin-shaka-rules/arg-comment-spacing.js index 58007075f..0fcade47c 100644 --- a/build/eslint-plugin-shaka-rules/arg-comment-spacing.js +++ b/build/eslint-plugin-shaka-rules/arg-comment-spacing.js @@ -1,4 +1,5 @@ -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/eslint-plugin-shaka-rules/index.js b/build/eslint-plugin-shaka-rules/index.js index f11ac7e8c..0b0ba3f32 100644 --- a/build/eslint-plugin-shaka-rules/index.js +++ b/build/eslint-plugin-shaka-rules/index.js @@ -1,4 +1,5 @@ -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/eslint-plugin-shaka-rules/private.js b/build/eslint-plugin-shaka-rules/private.js index 61e9d228f..f15c44c52 100644 --- a/build/eslint-plugin-shaka-rules/private.js +++ b/build/eslint-plugin-shaka-rules/private.js @@ -1,4 +1,5 @@ -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/gendeps.py b/build/gendeps.py index 953482081..22f02bac8 100755 --- a/build/gendeps.py +++ b/build/gendeps.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/generateExterns.js b/build/generateExterns.js index f735cf280..318b4d1f3 100755 --- a/build/generateExterns.js +++ b/build/generateExterns.js @@ -1,5 +1,6 @@ #!/usr/bin/env node -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/generateLocalizations.py b/build/generateLocalizations.py index cf3e43db4..6e071b517 100755 --- a/build/generateLocalizations.py +++ b/build/generateLocalizations.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2018 Google Inc. All Rights Reserved. +# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/pixelsChanged.js b/build/pixelsChanged.js index d63dcb7d1..0866eb854 100755 --- a/build/pixelsChanged.js +++ b/build/pixelsChanged.js @@ -1,5 +1,6 @@ #!/usr/bin/env node -/** @license +/*! @license + * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ diff --git a/build/shakaBuildHelpers.py b/build/shakaBuildHelpers.py index efbc8abc9..3dc5991a4 100644 --- a/build/shakaBuildHelpers.py +++ b/build/shakaBuildHelpers.py @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/stats.py b/build/stats.py index 966a4a97a..ef40ff03b 100755 --- a/build/stats.py +++ b/build/stats.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/test.py b/build/test.py index fb3b3493d..a51e8416a 100755 --- a/build/test.py +++ b/build/test.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/build/updateScreenshots.py b/build/updateScreenshots.py index e9c9bf142..39bb45d88 100755 --- a/build/updateScreenshots.py +++ b/build/updateScreenshots.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2016 Google Inc. All Rights Reserved. +# Copyright 2016 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/demo/cast_receiver/index.html b/demo/cast_receiver/index.html index 1d66801e6..74e9520f2 100644 --- a/demo/cast_receiver/index.html +++ b/demo/cast_receiver/index.html @@ -1,6 +1,6 @@