mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
This is required to publish script_bindings, since all files used during codegen need to be there. It might also be possible to generate the bindings ahead of time and vendor them in-tree, but this seems painful to setup from a CI perspective. Since there don't seem to be any other users in-tree we can just vendor into the script-bindings directory. `ply` is licensed under the BSD 3 clause, and WebIDL under MPL-2.0, with the licenses available in our cargo package. Both tools won't end up in `servo` since they are build-time dependencies, so I believe we don't need to adjust the crate license, or configure `about.toml`. Testing: Should be covered by existing tests. We don't test if this allows vendored builds or published builds. Fixes: Partial fix for #43145 --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
42 lines
1.5 KiB
Python
42 lines
1.5 KiB
Python
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
|
# file at the top-level directory of this distribution.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
# option. This file may not be copied, modified, or distributed
|
|
# except according to those terms.
|
|
|
|
OLD_MPL = """\
|
|
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/.\
|
|
"""
|
|
|
|
MPL = """\
|
|
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 https://mozilla.org/MPL/2.0/.\
|
|
"""
|
|
|
|
APACHE = """\
|
|
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or \
|
|
http://www.apache.org/licenses/LICENSE-2.0> or the MIT license \
|
|
<LICENSE-MIT or http://opensource.org/licenses/MIT>, at your \
|
|
option. This file may not be copied, modified, or distributed \
|
|
except according to those terms.\
|
|
"""
|
|
|
|
# List of accepted `COPYRIGHT` disclaimers.
|
|
COPYRIGHT = [
|
|
"See the COPYRIGHT file at the top-level directory of this distribution",
|
|
]
|
|
|
|
# The valid licenses, in the form we'd expect to see them in a Cargo.toml file.
|
|
licenses_toml = [
|
|
'license = "MPL-2.0"',
|
|
'license = "MIT/Apache-2.0"',
|
|
'license = "MIT OR Apache-2.0"',
|
|
'license = "MPL-2.0 AND BSD-3-Clause"',
|
|
]
|