mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
doc: the GN files should use Node's license
PR-URL: https://github.com/nodejs/node/pull/50694 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
This commit is contained in:
parent
4944e971bb
commit
df16c69983
29
LICENSE
29
LICENSE
@ -1972,6 +1972,35 @@ The externally maintained libraries used by Node.js are:
|
|||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
- gypi_to_gn.py, located at tools/gypi_to_gn.py, is licensed as follows:
|
||||||
|
"""
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following disclaimer
|
||||||
|
in the documentation and/or other materials provided with the
|
||||||
|
distribution.
|
||||||
|
* Neither the name of Google LLC nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
"""
|
||||||
|
|
||||||
- ESLint, located at tools/node_modules/eslint, is licensed as follows:
|
- ESLint, located at tools/node_modules/eslint, is licensed as follows:
|
||||||
"""
|
"""
|
||||||
Copyright OpenJS Foundation and other contributors, <www.openjsf.org>
|
Copyright OpenJS Foundation and other contributors, <www.openjsf.org>
|
||||||
|
4
deps/ada/unofficial.gni
vendored
4
deps/ada/unofficial.gni
vendored
@ -1,7 +1,3 @@
|
|||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/base64/unofficial.gni
vendored
6
deps/base64/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2022 GitHub Inc.
|
|
||||||
# Copyright 2022 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/brotli/unofficial.gni
vendored
6
deps/brotli/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/cares/unofficial.gni
vendored
6
deps/cares/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
4
deps/googletest/unofficial.gni
vendored
4
deps/googletest/unofficial.gni
vendored
@ -1,7 +1,3 @@
|
|||||||
# Copyright 2021 the V8 project authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/histogram/unofficial.gni
vendored
6
deps/histogram/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
5
deps/llhttp/unofficial.gni
vendored
5
deps/llhttp/unofficial.gni
vendored
@ -1,8 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
5
deps/nghttp2/unofficial.gni
vendored
5
deps/nghttp2/unofficial.gni
vendored
@ -1,8 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
5
deps/ngtcp2/unofficial.gni
vendored
5
deps/ngtcp2/unofficial.gni
vendored
@ -1,8 +1,3 @@
|
|||||||
# Copyright (c) 2013-2021 GitHub Inc.
|
|
||||||
# Copyright 2021 the V8 project authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
5
deps/openssl/unofficial.gni
vendored
5
deps/openssl/unofficial.gni
vendored
@ -1,8 +1,3 @@
|
|||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
4
deps/postject/unofficial.gni
vendored
4
deps/postject/unofficial.gni
vendored
@ -1,7 +1,3 @@
|
|||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
5
deps/simdutf/unofficial.gni
vendored
5
deps/simdutf/unofficial.gni
vendored
@ -1,8 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/uv/unofficial.gni
vendored
6
deps/uv/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
6
deps/uvwasi/unofficial.gni
vendored
6
deps/uvwasi/unofficial.gni
vendored
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please edit the gyp files if you are making changes to build system.
|
# Please edit the gyp files if you are making changes to build system.
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
import("../../node.gni")
|
import("../../node.gni")
|
||||||
import("$node_v8_path/gni/v8.gni")
|
import("$node_v8_path/gni/v8.gni")
|
||||||
|
|
||||||
|
@ -1,7 +1,32 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
# Copyright 2014 The Chromium Authors. All rights reserved.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
#
|
||||||
# found in the LICENSE file.
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions are
|
||||||
|
# met:
|
||||||
|
#
|
||||||
|
# * Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# * Redistributions in binary form must reproduce the above
|
||||||
|
# copyright notice, this list of conditions and the following disclaimer
|
||||||
|
# in the documentation and/or other materials provided with the
|
||||||
|
# distribution.
|
||||||
|
# * Neither the name of Google LLC nor the names of its
|
||||||
|
# contributors may be used to endorse or promote products derived from
|
||||||
|
# this software without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Deleted from Chromium in https://crrev.com/097f64c631.
|
# Deleted from Chromium in https://crrev.com/097f64c631.
|
||||||
|
|
||||||
"""Converts a given gypi file to a python scope and writes the result to stdout.
|
"""Converts a given gypi file to a python scope and writes the result to stdout.
|
||||||
|
@ -105,6 +105,8 @@ addlicense "markupsafe" "tools/inspector_protocol/markupsafe" "$licenseText"
|
|||||||
# Testing tools
|
# Testing tools
|
||||||
licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}/tools/cpplint.py" | tail -n +3)"
|
licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}/tools/cpplint.py" | tail -n +3)"
|
||||||
addlicense "cpplint.py" "tools/cpplint.py" "$licenseText"
|
addlicense "cpplint.py" "tools/cpplint.py" "$licenseText"
|
||||||
|
licenseText="$(sed -e '/^$/,$d' -e 's/^#$//' -e 's/^# //' "${rootdir}/tools/gypi_to_gn.py" | tail -n +3)"
|
||||||
|
addlicense "gypi_to_gn.py" "tools/gypi_to_gn.py" "$licenseText"
|
||||||
licenseText="$(cat "${rootdir}/tools/node_modules/eslint/LICENSE")"
|
licenseText="$(cat "${rootdir}/tools/node_modules/eslint/LICENSE")"
|
||||||
addlicense "ESLint" "tools/node_modules/eslint" "$licenseText"
|
addlicense "ESLint" "tools/node_modules/eslint" "$licenseText"
|
||||||
licenseText="$(cat "${rootdir}/deps/googletest/LICENSE")"
|
licenseText="$(cat "${rootdir}/deps/googletest/LICENSE")"
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# Copyright (c) 2013-2019 GitHub Inc.
|
|
||||||
# Copyright 2019 the V8 project authors. All rights reserved.
|
|
||||||
# Copyright 2023 Microsoft Inc.
|
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
|
||||||
# found in the LICENSE file.
|
|
||||||
|
|
||||||
# This file is used by GN for building, which is NOT the build system used for
|
# This file is used by GN for building, which is NOT the build system used for
|
||||||
# building official binaries.
|
# building official binaries.
|
||||||
# Please take a look at node.gyp if you are making changes to build system.
|
# Please take a look at node.gyp if you are making changes to build system.
|
||||||
|
Loading…
Reference in New Issue
Block a user