From b49be222b0c5502c594e3eafbf30e90573b321af Mon Sep 17 00:00:00 2001 From: Paladox none Date: Wed, 30 Jan 2019 20:33:27 +0000 Subject: [PATCH] Add "resemblejs" dependency Required by the image-diff plugin. There does not seem to be any easy way to add bower dependencies inside plugins without adding them to core. Building image-diff never seemed to work for a normal user. Im not entirely sure how google got it working. Bug: Issue 9911 Change-Id: I08499c86e236a1c3861b78ba698dbd4a3bc811d8 (cherry picked from commit cb76de7e1728108632d7c377dfbd61885001620d) --- WORKSPACE | 7 +++++++ lib/LICENSE-resemblejs | 18 ++++++++++++++++++ lib/js/BUILD | 5 +++++ 3 files changed, 30 insertions(+) create mode 100644 lib/LICENSE-resemblejs diff --git a/WORKSPACE b/WORKSPACE index 82f11a46e6..ba8a41814d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1296,6 +1296,13 @@ bower_archive( version = "1.0.0", ) +bower_archive( + name = "resemblejs", + package = "rsmbl/Resemble.js", + sha1 = "49d5f022417c389b630d6f7ee667aa9540075c42", + version = "2.10.1", +) + bower_archive( name = "codemirror-minified", package = "Dominator008/codemirror-minified", diff --git a/lib/LICENSE-resemblejs b/lib/LICENSE-resemblejs new file mode 100644 index 0000000000..b265c8a4b1 --- /dev/null +++ b/lib/LICENSE-resemblejs @@ -0,0 +1,18 @@ +The MIT License (MIT) Copyright © 2013 Huddle + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the “Software”), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lib/js/BUILD b/lib/js/BUILD index f73b9ecab2..7478ef3ad9 100644 --- a/lib/js/BUILD +++ b/lib/js/BUILD @@ -45,3 +45,8 @@ bower_component( name = "codemirror-minified", license = "//lib:LICENSE-codemirror-minified", ) + +bower_component( + name = "resemblejs", + license = "//lib:LICENSE-resemblejs", +)