Bug 1562642 - add missing license in gfx/ r=nical
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 12 Nov 2019 22:01:02 +0000
changeset 501659 79b526e185ec5e0d70c7888b98e5a85e55c353f1
parent 501658 8daa186bd18b8a894f95e22f32c9ecc45481553a
child 501660 4ebefd304d2f40a91c9d595e750d5ec8372bfc6a
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs1562642
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1562642 - add missing license in gfx/ r=nical Depends on D52581 Differential Revision: https://phabricator.services.mozilla.com/D52582
gfx/angle/update-angle.py
gfx/angle/vendor_from_git.py
gfx/layers/layerviewer/index.html
gfx/layers/layerviewer/layerTreeView.js
gfx/webrender_bindings/src/bindings.rs
gfx/webrender_bindings/src/moz2d_renderer.rs
gfx/webrender_bindings/src/program_cache.rs
--- a/gfx/angle/update-angle.py
+++ b/gfx/angle/update-angle.py
@@ -1,9 +1,13 @@
 #! /usr/bin/env python3
+# 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/.
+
 assert __name__ == '__main__'
 
 '''
 To update ANGLE in Gecko, use Windows with git-bash, and setup depot_tools, python2, and
 python3. Because depot_tools expects `python` to be `python2` (shame!), python2 must come
 before python3 in your path.
 
 Upstream: https://chromium.googlesource.com/angle/angle
--- a/gfx/angle/vendor_from_git.py
+++ b/gfx/angle/vendor_from_git.py
@@ -1,9 +1,13 @@
 #! /usr/bin/env python3
+# 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/.
+
 assert __name__ != '__main__'
 
 '''
 Any time we vendor[1] from an external git repo, we want to keep a record of the csets
 we're pulling from.
 
 This script leaves a record of the merge-base reference tip and cherry-picks that we pull
 into Gecko. (such as gfx/angle/cherry_picks.txt)
--- a/gfx/layers/layerviewer/index.html
+++ b/gfx/layers/layerviewer/index.html
@@ -1,8 +1,12 @@
+<!-- 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/. -->
+
 <!DOCTYPE html>
 <html>
   <head>
     <title>GFX Display List & Layer Visualizer</title>
     <meta charset="utf-8">
     <link rel="stylesheet" type="text/css" href="tree.css">
     <script src="layerTreeView.js"></script>
     <style>
--- a/gfx/layers/layerviewer/layerTreeView.js
+++ b/gfx/layers/layerviewer/layerTreeView.js
@@ -1,8 +1,12 @@
+/* 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/. */
+
 function toFixed(num, fixed) {
   fixed = fixed || 0;
   fixed = Math.pow(10, fixed);
   return Math.floor(num * fixed) / fixed;
 }
 function createElement(name, props) {
   var el = document.createElement(name);
 
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -1,8 +1,12 @@
+/* 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::ffi::{CStr, CString};
 #[cfg(not(target_os = "macos"))]
 use std::ffi::OsString;
 #[cfg(target_os = "windows")]
 use std::os::windows::ffi::OsStringExt;
 #[cfg(not(any(target_os = "macos", target_os = "windows")))]
 use std::os::unix::ffi::OsStringExt;
 use std::io::Cursor;
--- a/gfx/webrender_bindings/src/moz2d_renderer.rs
+++ b/gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -1,10 +1,14 @@
+/* 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/. */
 #![deny(missing_docs)]
 
+
 //! Provides the webrender-side implementation of gecko blob images.
 //!
 //! Pretty much this is just a shim that calls back into Moz2DImageRenderer, but
 //! it also handles merging "partial" blob images (see `merge_blob_images`) and
 //! registering fonts found in the blob (see `prepare_request`).
 
 use webrender::api::*;
 use webrender::api::units::{BlobDirtyRect, BlobToDeviceTranslation, DeviceIntRect};
--- a/gfx/webrender_bindings/src/program_cache.rs
+++ b/gfx/webrender_bindings/src/program_cache.rs
@@ -1,8 +1,12 @@
+/* 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::cell::RefCell;
 use std::io::{Error, ErrorKind};
 use std::ffi::{OsString};
 use std::fs::{File, create_dir_all, read_dir, read_to_string};
 use std::io::{Read, Write};
 use std::path::{PathBuf};
 use std::rc::Rc;
 use std::sync::Arc;