diff --git a/tools/lint/cpp/__init__.py b/tools/lint/cpp/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/lint/cpp/__init__.py +++ b/tools/lint/cpp/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/lint/docs/conf.py b/tools/lint/docs/conf.py index 31ebb6dcc9f9..e17a501e0cbf 100644 --- a/tools/lint/docs/conf.py +++ b/tools/lint/docs/conf.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. + # -*- coding: utf-8 -*- # # mozlint documentation build configuration file, created by diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js index c65323cb9877..7b1e73ecd28b 100644 --- a/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js +++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /** diff --git a/tools/lint/eslint/eslint-plugin-mozilla/reporters/mozilla-format.js b/tools/lint/eslint/eslint-plugin-mozilla/reporters/mozilla-format.js index 2ced0ccfbe87..885727e8aa46 100644 --- a/tools/lint/eslint/eslint-plugin-mozilla/reporters/mozilla-format.js +++ b/tools/lint/eslint/eslint-plugin-mozilla/reporters/mozilla-format.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + /** * This file outputs the format that treeherder requires. If we integrate * these tests with ./mach, then we may replace this with a json handler within diff --git a/tools/lint/python/__init__.py b/tools/lint/python/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/lint/python/__init__.py +++ b/tools/lint/python/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/lint/wpt/__init__.py b/tools/lint/wpt/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/lint/wpt/__init__.py +++ b/tools/lint/wpt/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/profiler/rust-helper/src/compact_symbol_table.rs b/tools/profiler/rust-helper/src/compact_symbol_table.rs index 297aad3276f3..12c4ca081b1c 100644 --- a/tools/profiler/rust-helper/src/compact_symbol_table.rs +++ b/tools/profiler/rust-helper/src/compact_symbol_table.rs @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + use std::collections::HashMap; use thin_vec::ThinVec; diff --git a/tools/profiler/rust-helper/src/elf.rs b/tools/profiler/rust-helper/src/elf.rs index f7f18125b6f9..d0d7f6e10370 100644 --- a/tools/profiler/rust-helper/src/elf.rs +++ b/tools/profiler/rust-helper/src/elf.rs @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + use compact_symbol_table::CompactSymbolTable; use object::{ElfFile, Object, SymbolKind, Uuid}; use std::collections::HashMap; diff --git a/tools/profiler/rust-helper/src/lib.rs b/tools/profiler/rust-helper/src/lib.rs index c792d80966ef..b9bc7b022e8a 100644 --- a/tools/profiler/rust-helper/src/lib.rs +++ b/tools/profiler/rust-helper/src/lib.rs @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + extern crate memmap; extern crate thin_vec; diff --git a/tools/quitter/background.js b/tools/quitter/background.js index 685751a94adf..a915d953f993 100644 --- a/tools/quitter/background.js +++ b/tools/quitter/background.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /* eslint-env webextensions */ diff --git a/tools/quitter/parent.js b/tools/quitter/parent.js index a0e9cf0ad24f..a79583c3d488 100644 --- a/tools/quitter/parent.js +++ b/tools/quitter/parent.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + "use strict"; /* globals ExtensionAPI */ diff --git a/tools/tryselect/__init__.py b/tools/tryselect/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/tryselect/__init__.py +++ b/tools/tryselect/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/tryselect/selectors/__init__.py b/tools/tryselect/selectors/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/tryselect/selectors/__init__.py +++ b/tools/tryselect/selectors/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/tryselect/selectors/chooser/static/filter.js b/tools/tryselect/selectors/chooser/static/filter.js index 5b7775e4eaaa..132372665b44 100644 --- a/tools/tryselect/selectors/chooser/static/filter.js +++ b/tools/tryselect/selectors/chooser/static/filter.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + const selection = $("#selection")[0]; const count = $("#selection-count")[0]; const pluralize = (count, noun, suffix = "s") => diff --git a/tools/tryselect/selectors/chooser/static/select.js b/tools/tryselect/selectors/chooser/static/select.js index dcb04111a1f6..439f9794576d 100644 --- a/tools/tryselect/selectors/chooser/static/select.js +++ b/tools/tryselect/selectors/chooser/static/select.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + const labels = $("label.multiselect"); const boxes = $("label.multiselect input:checkbox"); var lastChecked = {}; diff --git a/tools/tryselect/selectors/chooser/templates/chooser.html b/tools/tryselect/selectors/chooser/templates/chooser.html index 9f989ad8dabb..d89870ac776b 100644 --- a/tools/tryselect/selectors/chooser/templates/chooser.html +++ b/tools/tryselect/selectors/chooser/templates/chooser.html @@ -1,3 +1,7 @@ + + {% extends 'layout.html' %} {% block content %}
diff --git a/tools/tryselect/selectors/chooser/templates/close.html b/tools/tryselect/selectors/chooser/templates/close.html index 18ad5c6560de..622f9f38b2c8 100644 --- a/tools/tryselect/selectors/chooser/templates/close.html +++ b/tools/tryselect/selectors/chooser/templates/close.html @@ -1,3 +1,7 @@ + + {% extends 'layout.html' %} {% block content %}
diff --git a/tools/tryselect/selectors/chooser/templates/layout.html b/tools/tryselect/selectors/chooser/templates/layout.html index f987422a1410..4dfd27b46b93 100644 --- a/tools/tryselect/selectors/chooser/templates/layout.html +++ b/tools/tryselect/selectors/chooser/templates/layout.html @@ -1,3 +1,7 @@ + + diff --git a/tools/tryselect/util/__init__.py b/tools/tryselect/util/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/tryselect/util/__init__.py +++ b/tools/tryselect/util/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/update-verify/python/util/__init__.py b/tools/update-verify/python/util/__init__.py index e69de29bb2d1..c580d191c1bf 100644 --- a/tools/update-verify/python/util/__init__.py +++ b/tools/update-verify/python/util/__init__.py @@ -0,0 +1,3 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/tools/update-verify/python/util/commands.py b/tools/update-verify/python/util/commands.py index b280189e4ecb..bd6ce4116b78 100644 --- a/tools/update-verify/python/util/commands.py +++ b/tools/update-verify/python/util/commands.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. + """Functions for running commands""" from __future__ import absolute_import, print_function diff --git a/tools/update-verify/release/compare-directories.py b/tools/update-verify/release/compare-directories.py index 253fba83a8ee..e56f99e1a6ff 100755 --- a/tools/update-verify/release/compare-directories.py +++ b/tools/update-verify/release/compare-directories.py @@ -1,4 +1,7 @@ #! /usr/bin/env python +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. from __future__ import absolute_import, print_function diff --git a/tools/update-verify/release/replace-updater-certs.py b/tools/update-verify/release/replace-updater-certs.py index b2a7afd584d0..668cacb7e60b 100755 --- a/tools/update-verify/release/replace-updater-certs.py +++ b/tools/update-verify/release/replace-updater-certs.py @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. + from __future__ import absolute_import, print_function import os.path diff --git a/tools/update-verify/scripts/chunked-verify.py b/tools/update-verify/scripts/chunked-verify.py index 0806af839474..8a01b0c1bcb5 100644 --- a/tools/update-verify/scripts/chunked-verify.py +++ b/tools/update-verify/scripts/chunked-verify.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. from __future__ import absolute_import, print_function