0

[Third party][iOS] Add jszip as third_party library

This CL adds a third_party dependency on jszip, only for ios.

Bug: 1428942
Change-Id: I2368643df7e211034f43b74287eaa26e24b55a75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4793948
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1192907}
This commit is contained in:
Gauthier Ambard
2023-09-06 08:38:12 +00:00
committed by Chromium LUCI CQ
parent 4125a2b97a
commit 63f4698913
7 changed files with 41 additions and 0 deletions

4
.gitmodules vendored

@ -258,6 +258,10 @@
[submodule "third_party/harfbuzz-ng/src"]
path = third_party/harfbuzz-ng/src
url = https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git
[submodule "third_party/jszip/src"]
path = third_party/jszip/src
url = https://chromium.googlesource.com/external/github.com/Stuk/jszip.git
gclient-condition = checkout_ios
[submodule "third_party/emoji-segmenter/src"]
path = third_party/emoji-segmenter/src
url = https://chromium.googlesource.com/external/github.com/google/emoji-segmenter.git

5
DEPS

@ -1371,6 +1371,11 @@ deps = {
'src/third_party/harfbuzz-ng/src':
Var('chromium_git') + '/external/github.com/harfbuzz/harfbuzz.git' + '@' + Var('harfbuzz_revision'),
'src/third_party/jszip/src': {
'url': Var('chromium_git') + '/external/github.com/Stuk/jszip.git' + '@' + '2ceb998e29d4171b4f3f2ecab1a2195c696543c0',
'condition': 'checkout_ios',
},
'src/third_party/emoji-segmenter/src':
Var('chromium_git') + '/external/github.com/google/emoji-segmenter.git' + '@' + Var('emoji_segmenter_revision'),

@ -155,6 +155,7 @@
/js_code_coverage/*.tar.gz
/js_code_coverage/node_modules
/jsr-305/src
/jszip/src
/junit/src
/khronos_glcts
/kotlinc/current

11
third_party/jszip/LICENSE vendored Normal file

@ -0,0 +1,11 @@
The MIT License
Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso
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.

2
third_party/jszip/OWNERS vendored Normal file

@ -0,0 +1,2 @@
gambard@chromium.org
michaeldo@chromium.org

17
third_party/jszip/README.chromium vendored Normal file

@ -0,0 +1,17 @@
Name: jszip
Short Name: jszip
URL: https://github.com/Stuk/jszip
Version: 2ceb998e29d4171b4f3f2ecab1a2195c696543c0
License: MIT
License File: LICENSE
Shipped: yes
Security Critical: yes
CPEPrefix: cpe:/a:jszip_project:jszip:3.1.0::
Description:
Library for handling .zip files in JavaScript.
This library has a dual licensing, MIT and GPLv3.
Local Modifications:
Added: LICENCE, OWNERS, README.chromium
The LICENSE only contains the MIT part of the license (and not the GPLv3).

1
third_party/jszip/src vendored Submodule

Submodule third_party/jszip/src added at 2ceb998e29